slight edit to platformio.ini, added dependencies
This commit is contained in:
parent
4f3558b791
commit
bc2de746b4
1 changed files with 11 additions and 4 deletions
|
|
@ -8,19 +8,24 @@
|
||||||
; Please visit documentation for the other options and examples
|
; Please visit documentation for the other options and examples
|
||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
|
|
||||||
|
[platformio]
|
||||||
|
default_envs = ATmega328PB
|
||||||
|
|
||||||
[env:ATmega88P]
|
[env:ATmega88P]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
board = ATmega88P
|
board = ATmega88P
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
lib_deps = Arduino
|
||||||
upload_protocol = stk500v1
|
upload_protocol = stk500v1
|
||||||
; each flag in a new line
|
; each flag in a new line
|
||||||
upload_flags =
|
upload_flags =
|
||||||
-P$UPLOAD_PORT
|
-P$UPLOAD_PORT
|
||||||
-b$UPLOAD_SPEED
|
-b$UPLOAD_SPEED
|
||||||
|
-fmax_errors=5
|
||||||
|
|
||||||
; edit these lines
|
; edit these lines
|
||||||
upload_port = COM4
|
; upload_port = COM4
|
||||||
upload_speed = 19200
|
upload_speed = 38400
|
||||||
|
|
||||||
board_build.f_cpu = 8000000L
|
board_build.f_cpu = 8000000L
|
||||||
board_fuses.lfuse = "0xE2"
|
board_fuses.lfuse = "0xE2"
|
||||||
|
|
@ -31,14 +36,16 @@ board_fuses.efuse = "0xF9"
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
board = ATmega328PB
|
board = ATmega328PB
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
lib_deps = Arduino
|
||||||
upload_protocol = stk500v1
|
upload_protocol = stk500v1
|
||||||
; each flag in a new line
|
; each flag in a new line
|
||||||
upload_flags =
|
upload_flags =
|
||||||
-P$UPLOAD_PORT
|
-P$UPLOAD_PORT
|
||||||
-b$UPLOAD_SPEED
|
-b$UPLOAD_SPEED
|
||||||
|
-fmax_errors=5
|
||||||
|
|
||||||
; edit these lines
|
; edit these lines
|
||||||
upload_port = COM4
|
;upload_port = COM4
|
||||||
upload_speed = 19200
|
upload_speed = 38400
|
||||||
|
|
||||||
board_build.f_cpu = 8000000L
|
board_build.f_cpu = 8000000L
|
||||||
Loading…
Reference in a new issue