forked from zerog2k/stc_diyclock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplatformio.ini
37 lines (33 loc) · 1.25 KB
/
platformio.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[platformio]
;; uncomment only one env to target mcu variant you want to build for
;env_default = stc15f204ea
;env_default = stc15w404as
env_default = stc15w408as
[env:stc15f204ea]
platform = https://github.com/platformio/platform-intel_mcs51.git
board = stc15f204ea
;; uploader & compiler/linker options in post_extra_script
extra_scripts = post_extra_script.py
;; set your upload port for stcgal
upload_protocol = stcgal
upload_port = /dev/ttyUSB0
[env:stc15w404as]
platform = https://github.com/platformio/platform-intel_mcs51.git
board = stc15w404as
;; uploader & compiler/linker options in post_extra_script
extra_scripts = post_extra_script.py
;; set your upload port for stcgal
upload_protocol = stcgal
upload_port = /dev/ttyUSB0
; use dtr for auto-reset. Can use 1uF cap inline from dtr to reset pin,
; if you have set the option on mcu to use reset pin.
[env:stc15w408as]
platform = https://github.com/platformio/platform-intel_mcs51.git
board = stc15w408as
;; uploader & compiler/linker options in post_extra_script
extra_scripts = post_extra_script.py
;; set your upload port for stcgal
upload_protocol = stcgal
upload_port = /dev/ttyUSB0
; use dtr for auto-reset. Can use 1uF cap inline from dtr to reset pin,
; if you have set the option on mcu to use reset pin.