Skip to content

Instantly share code, notes, and snippets.

@aThorp96
Created February 26, 2019 02:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aThorp96/d42020fa8fee0a31b98be809d88dfbb5 to your computer and use it in GitHub Desktop.
Save aThorp96/d42020fa8fee0a31b98be809d88dfbb5 to your computer and use it in GitHub Desktop.

A basic platformio init file for the Atmega 2560

Here so I can automate a restucturing of the Atmel Studio project and link it into a platformio format.

; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:megaatmega2560]
platform = atmelavr
board = megaatmega2560
framework = arduino
board_build.mcu = atmega2560
board_build.f_cpu = 16000000L
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment