Created
May 26, 2023 20:29
-
-
Save rahji/819f56d19fa858e616866955a36c80a9 to your computer and use it in GitHub Desktop.
Example of a platformio.ini with f_cpu and fuses, set up for Atmel ICE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[env:ATmega328P] | |
platform = atmelavr | |
board = ATmega328P | |
board_build.f_cpu = 8000000L | |
upload_protocol = atmelice_isp | |
upload_flags = -e | |
upload_port = usb | |
board_fuses.hfuse = 0xD9 ; defaults, flash 2K | |
board_fuses.lfuse = 0xE2 ; default int 8MHz crystal, but with no prescaler | |
board_fuses.efuse = 0xFF ; no BOD (default) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment