1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-14 20:10:15 +03:00
Commit graph

9 commits

Author SHA1 Message Date
Alberto García Hierro
9ac514c107 [CMAKE] Run all CI jobs using CMake
- Fix compilation on case sensitive filesystems
- Fix case sensitive paths in F7 drivers
- Fix warnings related to MSC redefinition
- Fix invalid dual gyro definition in FOXEERF722V2
- Remove FURYF3, KFC32F3_INAV and SPRACINGF3EVO from releases
- Always use usbd_storage_sd_spi.c for SDCARD + MSC
- Add targets for SPEEDYBEEF7, FRSKYPILOT and FRSKY_ROVERF7
- Add BUILD_SUFFIX configure-time option
- Add COMPILER_VERSION_CHECK boolean option defaulting to ON
2020-08-26 15:40:14 +01:00
Alberto García Hierro
7575cd44e8 [CMAKE] Use GetGitRevisionDescription.cmake to retrieve git rev
This way the git revision is automatically regenerated when the
revision changes without having to re-run cmake's configuration
step.
2020-08-25 18:19:43 +01:00
Alberto García Hierro
15777844ac [CMAKE] Allow running tests from the main source build
When no alternative toolchain is provided, we explicitely include
the src/tests directory, so the check target (which builds and runs
tests) is available from a main source build without having to
build specifically the src/tests directory
2020-08-25 18:19:43 +01:00
Alberto García Hierro
bd490a52f3 [CMAKE] Add support for having targets that are not part of the release
Add a SKIP_RELEASES target argument
2020-08-25 18:19:43 +01:00
Alberto García Hierro
d0938cc21f [CMAKE] Add support for bootloader targets
- Rename function for target name definitions to include full MCU
names, so we can support multiple size variants of the same MCU
cleanly
- Add cmake targets for .bin/.hex files from .elf files
- Add targets for bootloader generation
- Add targets for combining the bootloader with the main firmware
2020-08-25 18:19:43 +01:00
Alberto García Hierro
49b9347b10 [BUILD] Print the number of targets for the current toolchain with cmake 2020-08-25 18:19:43 +01:00
Alberto García Hierro
93723d0ad0 [BUILD] Add support for svd generation with cmake
Used for IDE-based debugging
2020-08-25 18:19:42 +01:00
Alberto García Hierro
d6177e6933 [BUILD] Add support for openocd helpers with cmake
- Add openocd_<target>: runs openocd for the target
- Add openocd_flash_<target>: flashes the target using openocd.
 It works with both an already running openocd instance as well
 as launching its own one. Uses a helper tool that requires python.
- Add openocd_cfg_<target>: generates openocd config for target. Used
 for generating an openocd config automatically when launching
 a debug session from an IDE.
2020-08-25 18:19:42 +01:00
Alberto García Hierro
518e8243cb [BUILD] Refactor cmake macros and variable names
Make them a bit more generic
2020-08-25 18:19:42 +01:00
Renamed from cmake/inav.cmake (Browse further)