Platformio code
This commit is contained in:
30
sensor433/platformio.ini
Normal file
30
sensor433/platformio.ini
Normal file
@@ -0,0 +1,30 @@
|
||||
; PlatformIO Project Configuration File
|
||||
;
|
||||
; Build options: build flags, source filter
|
||||
; Upload options: custom upload port, speed and extra flags
|
||||
; Library options: dependencies, extra library storages
|
||||
; Advanced options: extra scripting
|
||||
;
|
||||
; Please visit documentation for the other options and examples
|
||||
; https://docs.platformio.org/page/projectconf.html
|
||||
|
||||
; attiny85 programmed via Arduino Uno, fuses and speed set to 8Mhz:
|
||||
[env:attiny85]
|
||||
platform = atmelavr
|
||||
board = attiny85
|
||||
framework = arduino
|
||||
; Arduino Uno as ISP: (arduino / custom also seen):
|
||||
upload_protocol = stk500v1
|
||||
; each flag in a new line
|
||||
upload_flags =
|
||||
-P$UPLOAD_PORT
|
||||
-b$UPLOAD_SPEED
|
||||
; edit these lines
|
||||
upload_port = /dev/ttyACM0
|
||||
upload_speed = 19200
|
||||
lib_deps = mikem/RadioHead@^1.113
|
||||
; http://eleccelerator.com/fusecalc/fusecalc.php?chip=attiny85
|
||||
board_build.f_cpu = 8000000L
|
||||
; Platformio Project Tasks -> Set Fuses!
|
||||
board_fuses.lfuse = 0xE2
|
||||
board_fuses.hfuse = 0xDF
|
||||
Reference in New Issue
Block a user