platformio.ini

Mon, 04 Oct 2021 21:14:39 +0200

author
David Douard <david.douard@sdfa3.org>
date
Mon, 04 Oct 2021 21:14:39 +0200
changeset 65
d9c5eaf85fab
parent 64
897330ee6e9d
child 66
48f29a1d43d6
permissions
-rw-r--r--

Fix SHIFT and code cleanup

0
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
1 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
2 # Project Configuration File
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
3 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
4 # A detailed documentation with the EXAMPLES is located here:
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
5 # http://docs.platformio.org/en/latest/projectconf.html
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
6 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
7
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
8 # A sign `#` at the beginning of the line indicates a comment
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
9 # Comment lines are ignored.
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
10
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
11 # Simple and base environment
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
12 # [env:mybaseenv]
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
13 # platform = %INSTALLED_PLATFORM_NAME_HERE%
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
14 # framework =
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
15 # board =
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
16 #
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
17 # Automatic targets - enable auto-uploading
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
18 # targets = upload
f3377957d8c0 initial
David Douard <david.douard@logilab.fr>
parents:
diff changeset
19
41
5bed3318e563 rename fp environment as fp_dfu and add a fp_stlink
David Douard <david.douard@sdf3.org>
parents: 30
diff changeset
20 [env:fp_dfu]
8
55021f3f1929 pff so many stuff
David Douard <david.douard@logilab.fr>
parents: 5
diff changeset
21 platform = ststm32
55021f3f1929 pff so many stuff
David Douard <david.douard@logilab.fr>
parents: 5
diff changeset
22 framework = mbed
64
897330ee6e9d Make USBSerial work -- at last
David Douard <david.douard@sdfa3.org>
parents: 41
diff changeset
23 platform_packages =
897330ee6e9d Make USBSerial work -- at last
David Douard <david.douard@sdfa3.org>
parents: 41
diff changeset
24 framework-mbed @ https://github.com/douardda/mbed-os.git#platformio
30
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents: 28
diff changeset
25 board = hp34970_fp_f303rd
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents: 28
diff changeset
26 board_build.mbed.ldscript =
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents: 28
diff changeset
27 $PROJECTSRC_DIR/../TARGET_HP34970_FP_F303RD/STM32F303XE.ld
27
8f2be7aaec00 add QEI
David Douard <david.douard@sdfa3.org>
parents: 21
diff changeset
28 build_flags =
30
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents: 28
diff changeset
29 -DHAVE_PC
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents: 28
diff changeset
30 -I$PROJECTSRC_DIR/../TARGET_HP34970_FP_F303RD
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents: 28
diff changeset
31 debug_tool = stlink
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents: 28
diff changeset
32 upload_protocol = dfu
41
5bed3318e563 rename fp environment as fp_dfu and add a fp_stlink
David Douard <david.douard@sdf3.org>
parents: 30
diff changeset
33
5bed3318e563 rename fp environment as fp_dfu and add a fp_stlink
David Douard <david.douard@sdf3.org>
parents: 30
diff changeset
34 [env:fp_stlink]
5bed3318e563 rename fp environment as fp_dfu and add a fp_stlink
David Douard <david.douard@sdf3.org>
parents: 30
diff changeset
35 platform = ststm32
5bed3318e563 rename fp environment as fp_dfu and add a fp_stlink
David Douard <david.douard@sdf3.org>
parents: 30
diff changeset
36 framework = mbed
64
897330ee6e9d Make USBSerial work -- at last
David Douard <david.douard@sdfa3.org>
parents: 41
diff changeset
37 platform_packages =
897330ee6e9d Make USBSerial work -- at last
David Douard <david.douard@sdfa3.org>
parents: 41
diff changeset
38 framework-mbed @ https://github.com/douardda/mbed-os.git#platformio
41
5bed3318e563 rename fp environment as fp_dfu and add a fp_stlink
David Douard <david.douard@sdf3.org>
parents: 30
diff changeset
39 board = hp34970_fp_f303rd
5bed3318e563 rename fp environment as fp_dfu and add a fp_stlink
David Douard <david.douard@sdf3.org>
parents: 30
diff changeset
40 board_build.mbed.ldscript =
5bed3318e563 rename fp environment as fp_dfu and add a fp_stlink
David Douard <david.douard@sdf3.org>
parents: 30
diff changeset
41 $PROJECTSRC_DIR/../TARGET_HP34970_FP_F303RD/STM32F303XE.ld
5bed3318e563 rename fp environment as fp_dfu and add a fp_stlink
David Douard <david.douard@sdf3.org>
parents: 30
diff changeset
42 build_flags =
64
897330ee6e9d Make USBSerial work -- at last
David Douard <david.douard@sdfa3.org>
parents: 41
diff changeset
43 -DHAVE_PC -DSTUFF
41
5bed3318e563 rename fp environment as fp_dfu and add a fp_stlink
David Douard <david.douard@sdf3.org>
parents: 30
diff changeset
44 -I$PROJECTSRC_DIR/../TARGET_HP34970_FP_F303RD
5bed3318e563 rename fp environment as fp_dfu and add a fp_stlink
David Douard <david.douard@sdf3.org>
parents: 30
diff changeset
45 debug_tool = stlink
5bed3318e563 rename fp environment as fp_dfu and add a fp_stlink
David Douard <david.douard@sdf3.org>
parents: 30
diff changeset
46 upload_protocol = stlink

mercurial