use MiniCore for ATMega

This commit is contained in:
2020-03-19 12:47:13 +03:00
parent 5a9496e222
commit 74e42450f1

View File

@@ -10,17 +10,25 @@
[env:motorcontrol]
platform = atmelavr
board = uno
framework = arduino
build_flags =
; TARGET SETTINGS
; PlatformIO requires the board parameter. Must match your actual hardware
board = ATmega328P
; Clock frequency in [Hz]
board_build.f_cpu = 12000000L
board_hardware.oscillator = external
; Hardware UART for serial upload
board_hardware.uart = no_bootloader
; Brown-out detection
board_hardware.bod = 1.8v
board_upload.speed = 115200
monitor_speed = 115200
monitor_speed = 9600
upload_protocol = stk500
upload_flags =
-P/dev/ttyUSB1
-PCOM8
lib_deps = Servo