Code::Blocks

User forums => Embedded development => Topic started by: AZ on November 17, 2016, 03:26:54 pm

Title: Arduino: upload
Post by: AZ on November 17, 2016, 03:26:54 pm
Getns,
 how do i configure the CB to upload the firmware?
 I noticed there was a flag in "Arduino" template, but i didn't set it when i was creating the project.
Title: Re: Arduino: upload
Post by: oBFusCATed on November 17, 2016, 09:26:27 pm
It is post build step. You give it a serial/usb port in the wizard.
Then you just build and if the arduino is connected it will try to upload it.
On linux it uses avrdude.
Title: Re: Arduino: upload
Post by: AZ on November 17, 2016, 10:40:33 pm
It is post build step. You give it a serial/usb port in the wizard.
Then you just build and if the arduino is connected it will try to upload it.
On linux it uses avrdude.

Right, but where do i configure this if i didn't check the flag in the wizard?
Title: Re: Arduino: upload
Post by: oBFusCATed on November 18, 2016, 12:16:41 am
Check the compiler variables?
Make another project and use a diff-tool or compare the settings in the UI.
Title: Re: Arduino: upload
Post by: AZ on November 18, 2016, 05:50:05 am
Check the compiler variables?
Make another project and use a diff-tool or compare the settings in the UI.

oh. thank you!
I see it now.