Fixed internal oscillator frequency configuration on ATmega88P, added configuration for ATmega328PB #changelog
This commit is contained in:
parent
8d5fb81219
commit
51d734986b
1 changed files with 19 additions and 1 deletions
|
|
@ -22,5 +22,23 @@ upload_flags =
|
||||||
upload_port = COM4
|
upload_port = COM4
|
||||||
upload_speed = 19200
|
upload_speed = 19200
|
||||||
|
|
||||||
board_build.f_cpu = 1000000L
|
board_build.f_cpu = 8000000L
|
||||||
|
board_fuses.lfuse = "0xE2"
|
||||||
|
board_fuses.hfuse = "0xDF"
|
||||||
|
board_fuses.efuse = "0xF9"
|
||||||
|
|
||||||
|
[env:ATmega328PB]
|
||||||
|
platform = atmelavr
|
||||||
|
board = ATmega328PB
|
||||||
|
framework = arduino
|
||||||
|
upload_protocol = stk500v1
|
||||||
|
; each flag in a new line
|
||||||
|
upload_flags =
|
||||||
|
-P$UPLOAD_PORT
|
||||||
|
-b$UPLOAD_SPEED
|
||||||
|
|
||||||
|
; edit these lines
|
||||||
|
upload_port = COM4
|
||||||
|
upload_speed = 19200
|
||||||
|
|
||||||
|
board_build.f_cpu = 8000000L
|
||||||
Loading…
Reference in a new issue