Mon, 04 Oct 2021 21:14:39 +0200
Fix SHIFT and code cleanup
0 | 1 | # |
2 | # Project Configuration File | |
3 | # | |
4 | # A detailed documentation with the EXAMPLES is located here: | |
5 | # http://docs.platformio.org/en/latest/projectconf.html | |
6 | # | |
7 | ||
8 | # A sign `#` at the beginning of the line indicates a comment | |
9 | # Comment lines are ignored. | |
10 | ||
11 | # Simple and base environment | |
12 | # [env:mybaseenv] | |
13 | # platform = %INSTALLED_PLATFORM_NAME_HERE% | |
14 | # framework = | |
15 | # board = | |
16 | # | |
17 | # Automatic targets - enable auto-uploading | |
18 | # targets = upload | |
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 | 21 | platform = ststm32 |
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 | 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 |