fix avr uploading

This commit is contained in:
2021-06-29 17:25:10 +03:00
parent 43517e16dc
commit 8c6b36e109
2 changed files with 7 additions and 2 deletions

View File

@@ -23,12 +23,17 @@ board_hardware.uart = no_bootloader
; Brown-out detection ; Brown-out detection
board_hardware.bod = 2.7v board_hardware.bod = 2.7v
; specify fuses because platformio burns wrong ones when uploading
board_fuse.lfuse = 0xf7
board_fuse.hfuse = 0xd7
board_fuse.efuse = 0xfd
board_upload.speed = 115200 board_upload.speed = 115200
monitor_speed = 9600 monitor_speed = 9600
upload_protocol = stk500 upload_protocol = stk500
upload_port = COM3 upload_port = COM3
upload_flags = upload_flags = -PCOM3
lib_deps = 883 #Servo lib_deps = 883 #Servo

View File

@@ -35,4 +35,4 @@ void Pen::init() {
bool Pen::getEngaged() { return engaged; } bool Pen::getEngaged() { return engaged; }
Pen pen(7, 100, 180); Pen pen(7, 100, 175);