Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 492 Bytes

APP_CONFIG.md

File metadata and controls

12 lines (9 loc) · 492 Bytes

app_config.h to replace build_flags

the core allows applications to define a app_config.h file, which is automatically included for all source files. this file can be used to define the same options as build_flags, but allows for more complex configurations.

to use app_config.h, either create a file with that name in the root of your project, or specify a custom path in the platformio.ini file.

[env:hc32f460]
board_build.app_config = src/my_app_config.h
# ...