1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-13 03:19:58 +03:00
Commit graph

13 commits

Author SHA1 Message Date
Jonathan Hudson
df52583b87
reenable LTO for MacOS firmware builds (#9136) 2023-06-19 12:56:20 +01:00
Marcelo Bezerra
688a7e8480 Fix lldb debugging in OSX and improve OSX detection 2023-05-28 20:19:04 +02:00
Marcelo Bezerra
30ec804c08
Fix SITL compilation on macosx (#9012)
Clean up cmake files for SITL and fix the compilation issues caused by tooling differences between gcc and clang (used in MacOSX).

SITL on MacOSX still has lots of compile time warnings that need to be addressed and some known issues that prevent it from working with simulators, but those will be addressed in 7.0.

At this point, I don't think MacOSX SITL is ready to be added to the configurator. That should be targeted for 7.0.
2023-04-26 12:27:57 +02:00
Scavanger
61790c157f SITL 2023-01-24 09:47:27 -03:00
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)