-
Notifications
You must be signed in to change notification settings - Fork 1
/
platformio.ini
58 lines (50 loc) · 1.4 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#
# Project Configuration File
#
# A detailed documentation with the EXAMPLES is located here:
# http://docs.platformio.org/en/latest/projectconf.html
#
# A sign `#` at the beginning of the line indicates a comment
# Comment lines are ignored.
# Simple and base environment
# [env:mybaseenv]
# platform = %INSTALLED_PLATFORM_NAME_HERE%
# framework =
# board =
#
# Automatic targets - enable auto-uploading
# targets = upload
[platformio]
;src_dir=./src
default_envs = nanoatmega328
;env_default = bluepill_f103c8
[env:feather32u4]
platform = atmelavr
board = feather32u4
framework = arduino
lib_deps = Battery Sense, 576, 517
[env:nanoatmega328]
platform = atmelavr
board = nanoatmega328
framework = arduino
lib_deps = Battery Sense, 576, 517
; upload_protocol =
;upload_speed = 9600
; 576 = old lcd library
;upload_port = COM3
[env:bluepill_f103c8]
platform = ststm32
board = bluepill_f103c8
;board = genericSTM32F103C8
framework = arduino
build_flags = -DSERIAL_USB
lib_deps = Battery Sense, 576, 517
;build_flags = -v
;debug_tool = custom
;debug_server = $PLATFORMIO_HOME_DIR/packages/tool-openocd/bin/openocd -f $PLATFORMIO_HOME_DIR/scripts/interface/stlink-v2.cfg -f $PLATFORMIO_HOME_DIR/packages/tool-openocd/scripts/board/st_nucleo_f103rb.cfg
;debug_tool = stlink
;debug_tool = custom
;debug_port = :4242
;debug_server = $PLATFORMIO_HOME_DIR/packages/tool-stlink/st-util
upload_protocol = stlink
;upload_flag = -v