Mostly functional ATTINY monitor
This commit is contained in:
53
firmware/lowpower_mcu/platformio.ini
Normal file
53
firmware/lowpower_mcu/platformio.ini
Normal file
@@ -0,0 +1,53 @@
|
||||
; 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
|
||||
|
||||
[platformio]
|
||||
default_envs = main
|
||||
|
||||
[env]
|
||||
platform = atmelavr
|
||||
framework = arduino
|
||||
board = attiny85
|
||||
upload_protocol = custom
|
||||
upload_port = /dev/ttyACM1
|
||||
upload_speed = 19200
|
||||
upload_flags =
|
||||
-C
|
||||
$PROJECT_PACKAGES_DIR/tool-avrdude/avrdude.conf
|
||||
-p
|
||||
$BOARD_MCU
|
||||
-P
|
||||
$UPLOAD_PORT
|
||||
-b
|
||||
$UPLOAD_SPEED
|
||||
-c
|
||||
stk500v1
|
||||
upload_command = avrdude $UPLOAD_FLAGS -U flash:w:$SOURCE:i
|
||||
|
||||
[common]
|
||||
;; This is the defaullt src_filter
|
||||
src_filter =
|
||||
+<*>
|
||||
-<.git/>
|
||||
-<.svn/>
|
||||
-<example/>
|
||||
-<examples/>
|
||||
-<test/>
|
||||
-<tests/>
|
||||
|
||||
[env:main]
|
||||
src_filter =
|
||||
${common.src_filter}
|
||||
-<test*>
|
||||
|
||||
[env:test]
|
||||
src_filter =
|
||||
${common.src_filter}
|
||||
-<main*>
|
||||
Reference in New Issue
Block a user