forked from grblHAL/STM32F4xx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
platformio.tpl
79 lines (74 loc) · 1.46 KB
/
platformio.tpl
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#
# Template for Web Builder, STM32F4xx
#
[platformio]
include_dir = Inc
src_dir = Src
[common]
build_flags =
-I .
-I boards
-I FatFs
-I FatFs/STM
-I Drivers/FATFS/Target
-I Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc
-I Middlewares/ST/STM32_USB_Device_Library/Core/Inc
-I USB_DEVICE/App
-I USB_DEVICE/Target
-D OVERRIDE_MY_MACHINE
-D _USE_IOCTL=1
-D _USE_WRITE=1
-D _VOLUMES=1
lib_deps =
boards
bluetooth
grbl
keypad
laser
motors
trinamic
odometer
fans
FatFs
sdcard
spindle
embroidery
Drivers/FATFS/App
Drivers/FATFS/Target
# USB serial support
Middlewares/ST/STM32_USB_Device_Library/Core
Middlewares/ST/STM32_USB_Device_Library/Class
USB_DEVICE/App
USB_DEVICE/Target
lib_extra_dirs =
.
boards
FatFs
Middlewares/ST/STM32_USB_Device_Library
USB_DEVICE
[eth_networking]
build_flags =
# Floating point support for printf, required for WebUI v3
-Wl,-u,_printf_float
-I lwip/src/include
-I networking/wiznet
lib_deps =
lwip
networking
lib_extra_dirs =
[env]
platform = ststm32
platform_packages = framework-stm32cubef4 @ ~1.26.2
framework = stm32cube
# Do not produce .a files for lib deps (which would prevent them from overriding weak symbols)
lib_archive = no
lib_ldf_mode = off
[env:%env_name%]
board = %board%
board_build.ldscript = %ldscript%
build_flags = ${common.build_flags}
%build_flags%
lib_deps = ${common.lib_deps}
eeprom
%lib_deps%
lib_extra_dirs = ${common.lib_extra_dirs}