Add PlatformIO configuration
This commit is contained in:
30
platformio.ini
Normal file
30
platformio.ini
Normal file
@@ -0,0 +1,30 @@
|
||||
[platformio]
|
||||
src_dir = Arduino/RTI_Control
|
||||
|
||||
[env:attiny84]
|
||||
platform = atmelavr
|
||||
board = attiny84
|
||||
framework = arduino
|
||||
|
||||
; Set clock frequency to 8MHz (Internal)
|
||||
board_build.f_cpu = 8000000L
|
||||
|
||||
; Fuses for ATtiny84 (8MHz internal oscillator, BOD disabled)
|
||||
; These are just for reference, PIO doesn't always set them automatically without extra steps
|
||||
; board_fuses.lfuse = 0xE2
|
||||
; board_fuses.hfuse = 0xDF
|
||||
; board_fuses.efuse = 0xFF
|
||||
|
||||
; Upload protocol
|
||||
; If using Arduino as ISP:
|
||||
; upload_protocol = arduinoisp
|
||||
; upload_port = /dev/ttyACM0
|
||||
; upload_speed = 19200
|
||||
|
||||
; If using USBasp:
|
||||
; upload_protocol = usbasp
|
||||
; upload_flags = -Pusb
|
||||
|
||||
; Library dependencies
|
||||
lib_deps =
|
||||
SoftwareSerial
|
||||
Reference in New Issue
Block a user