mirror of
https://github.com/usatiuk/EggbotWireless.git
synced 2025-10-26 08:47:49 +01:00
use MiniCore for ATMega
This commit is contained in:
@@ -10,17 +10,25 @@
|
|||||||
|
|
||||||
[env:motorcontrol]
|
[env:motorcontrol]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
board = uno
|
|
||||||
framework = arduino
|
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
|
board_upload.speed = 115200
|
||||||
|
|
||||||
monitor_speed = 115200
|
monitor_speed = 9600
|
||||||
|
|
||||||
upload_protocol = stk500
|
upload_protocol = stk500
|
||||||
upload_flags =
|
upload_flags =
|
||||||
-P/dev/ttyUSB1
|
-PCOM8
|
||||||
|
|
||||||
lib_deps = Servo
|
lib_deps = Servo
|
||||||
Reference in New Issue
Block a user