- Added `.clang-tidy` with custom checks to enforce code style. - Created `.clangd` with specific compile flag additions and removals. - Updated `.gitignore` to include new cache, metadata, and configuration files. - Updated `platformio.ini`: - Bumped `Simple FOC` to version 2.3.4 and `STM32_CAN` to version 1.1.2. - Added `gen_compile_commands.py` as an extra script.
18 lines
343 B
YAML
18 lines
343 B
YAML
CompileFlags:
|
|
Add:
|
|
[
|
|
# -mlong-calls,
|
|
-DSSIZE_MAX,
|
|
-DLWIP_NO_UNISTD_H=1,
|
|
-Dssize_t=long,
|
|
-D_SSIZE_T_DECLARED,
|
|
]
|
|
Remove:
|
|
[
|
|
-fno-tree-switch-conversion,
|
|
-mtext-section-literals,
|
|
-mlongcalls,
|
|
-fstrict-volatile-bitfields,
|
|
-free,
|
|
-fipa-pta,
|
|
]
|