Skip to content

Commit

Permalink
slight edit to platformio.ini, added dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
pyr0ball committed Nov 13, 2019
1 parent 4f3558b commit bc2de74
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions firmware/AVR-Source/Pyr0_Piezo_Sensor_v2.x.x/platformio.ini
Expand Up @@ -8,19 +8,24 @@
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[platformio]
default_envs = ATmega328PB

[env:ATmega88P]
platform = atmelavr
board = ATmega88P
framework = arduino
lib_deps = Arduino
upload_protocol = stk500v1
; each flag in a new line
upload_flags =
-P$UPLOAD_PORT
-b$UPLOAD_SPEED
-fmax_errors=5

; edit these lines
upload_port = COM4
upload_speed = 19200
; upload_port = COM4
upload_speed = 38400

board_build.f_cpu = 8000000L
board_fuses.lfuse = "0xE2"
Expand All @@ -31,14 +36,16 @@ board_fuses.efuse = "0xF9"
platform = atmelavr
board = ATmega328PB
framework = arduino
lib_deps = Arduino
upload_protocol = stk500v1
; each flag in a new line
upload_flags =
-P$UPLOAD_PORT
-b$UPLOAD_SPEED
-fmax_errors=5

; edit these lines
upload_port = COM4
upload_speed = 19200
;upload_port = COM4
upload_speed = 38400

board_build.f_cpu = 8000000L

0 comments on commit bc2de74

Please sign in to comment.