MCUdude / MightyCore

Arduino hardware package for ATmega1284, ATmega644, ATmega324, ATmega324PB, ATmega164, ATmega32, ATmega16 and ATmega8535
Other
649 stars 182 forks source link

Uploading platformio project #214

Closed rikben closed 3 years ago

rikben commented 3 years ago

Hi,

I've been coding a project in Clion, using PlatformIO. Now that my prototype is finished, I'd like to upload the project to my custom PCB, which is equipped with a ATMEGA1284P (bootloader already installed). I'm uploading using an external FTDI convertor, attached to UART0.

Now I've read something about PlatformIO support, but I can't find the board anywhere. Am I missing something? How should I setup PlatformIO? Do I just use the regular Microchip ATMEGA1284P with modded platformio.ini?

MCUdude commented 3 years ago

Read this: https://github.com/MCUdude/MightyCore/blob/master/PlatformIO.md

rikben commented 3 years ago

Thanks for your quick reply. I already looked through that page but didn't figure it out at first. Using the terminal in clion I got it working now. Thanks!