platformio.ini

Mon, 11 Mar 2024 15:35:36 +0100

author
David Douard <david.douard@sdf3.org>
date
Mon, 11 Mar 2024 15:35:36 +0100
changeset 71
d193c24a078a
parent 66
48f29a1d43d6
permissions
-rw-r--r--

Add links to sr.ht repos and add an image in the README file

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 =
66
48f29a1d43d6 Clean several compilation warnings
David Douard <david.douard@sdfa3.org>
parents: 64
diff changeset
24 # framework-mbed @ file:///home/david/perso/embed/platformio/framework-mbed
64
897330ee6e9d Make USBSerial work -- at last
David Douard <david.douard@sdfa3.org>
parents: 41
diff changeset
25 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
26 board = hp34970_fp_f303rd
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents: 28
diff changeset
27 board_build.mbed.ldscript =
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents: 28
diff changeset
28 $PROJECTSRC_DIR/../TARGET_HP34970_FP_F303RD/STM32F303XE.ld
27
8f2be7aaec00 add QEI
David Douard <david.douard@sdfa3.org>
parents: 21
diff changeset
29 build_flags =
30
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents: 28
diff changeset
30 -DHAVE_PC
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents: 28
diff changeset
31 -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
32 debug_tool = stlink
71be284c66b3 Update the custom target HP34970_FP_303RD
David Douard <david.douard@sdf3.org>
parents: 28
diff changeset
33 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
34
5bed3318e563 rename fp environment as fp_dfu and add a fp_stlink
David Douard <david.douard@sdf3.org>
parents: 30
diff changeset
35 [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
36 platform = ststm32
5bed3318e563 rename fp environment as fp_dfu and add a fp_stlink
David Douard <david.douard@sdf3.org>
parents: 30
diff changeset
37 framework = mbed
66
48f29a1d43d6 Clean several compilation warnings
David Douard <david.douard@sdfa3.org>
parents: 64
diff changeset
38 #platform_packages =
48f29a1d43d6 Clean several compilation warnings
David Douard <david.douard@sdfa3.org>
parents: 64
diff changeset
39 # 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
40 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
41 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
42 $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
43 build_flags =
64
897330ee6e9d Make USBSerial work -- at last
David Douard <david.douard@sdfa3.org>
parents: 41
diff changeset
44 -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
45 -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
46 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
47 upload_protocol = stlink

mercurial