Angus Gratton
0bdc12256e
cmake: Add "size" target, update idf_size.py for different linker behaviour
2018-04-30 09:59:20 +10:00
Angus Gratton
1f8e07fd8f
cmake: Add sdkconfig.defaults support
2018-04-30 09:59:20 +10:00
Angus Gratton
be962a9444
cmake: Re-run cmake if submodule commits change or a submodule is deinit-ed
2018-04-30 09:59:20 +10:00
Angus Gratton
4f1a856dbf
cmake: Remove defaults for COMPONENT_SRCDIRS, COMPONENT_SRCS, COMPONENT_ADD_INCLUDEDIRS
...
* Philosophical: "explicit is better than implicit".
* Practical: Allows useful errors if invalid directories given in components as the defaults aren't
always used. Also trims the -I path from a number of components that have no actual include
directory.
* Simplifies knowing which components will be header-only and which won't
2018-04-30 09:59:20 +10:00
Angus Gratton
3fac2b2ddc
cmake: Refactor bootloader_subproject into the bootloader component itself
2018-04-30 09:59:20 +10:00
Angus Gratton
674d398c93
cmake: Add partition table, and .bin file targets
2018-04-30 09:59:20 +10:00
Angus Gratton
3ae4822115
cmake: Add partition table generation
2018-04-30 09:59:20 +10:00
Angus Gratton
ce6748873d
cmake: Add embedding files in components support
...
Add subscribe_publish AWS example and fixes to allow it to build.
2018-04-30 09:59:20 +10:00
Angus Gratton
134f2238bd
cmake: Refactor main cmake project logic
2018-04-30 09:59:20 +10:00
Angus Gratton
7f29593a7d
cmake: Bootloader subproject & "clean" cleanup
2018-04-30 09:59:20 +10:00
Angus Gratton
067a19ad88
cmake: Move global IDF-specific compiler/linker options out of the toolchain file
...
Should restore compatibility with cmake pre-v3.7
2018-04-30 09:59:20 +10:00
Angus Gratton
f04525095f
cmake: Move third-party cmake modules to their own directory
2018-04-30 09:59:20 +10:00
Angus Gratton
68e75dd0df
cmake: Detect missing or out of date submodules during cmake pass
2018-04-30 09:59:20 +10:00
Angus Gratton
35f521afb6
cmake: Add toolchain version check
2018-04-30 09:59:20 +10:00
Angus Gratton
99a2359c5c
confgen: Create config file if missing
2018-04-30 09:59:20 +10:00
Angus Gratton
c671a0c3eb
build system: Initial cmake support, work in progress
2018-04-30 09:59:20 +10:00