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

29 commits

Author SHA1 Message Date
Pawel Spychalski (DzikuVx)
e18cbbf76a Merge branch 'master' into dzikuvx-adaptive-filter 2024-06-07 12:39:31 +02:00
Scavanger
39bd781552 USB-Rescue 2024-05-23 10:51:41 -03:00
Pawel Spychalski (DzikuVx)
bc8446fd0e Compute RMS and STD 2024-04-02 21:17:03 +02:00
Pawel Spychalski (DzikuVx)
93a636d3f1 Compute RMS of filtered gyro data 2024-03-31 18:21:08 +02:00
Pawel Spychalski (DzikuVx)
7da465ade1 DSP based gyro operations 2023-05-26 13:00:05 +02:00
Pawel Spychalski (DzikuVx)
9983f99d03 Drop F3 codebase 2022-05-26 19:56:59 +02:00
Ilia Novoselov
1d7ba3a926 Fix WSL build 2021-10-23 17:04:43 +05:00
Alberto García Hierro
930a60006a build: deduplicate version number
Make the version in the CMakeLists.txt the canonical one. Instead
of redefining it in version.h, use command line flags to pass
-DFC_VERSION_{MAJOR,MINOR,PATCH_LEVEL}
2020-12-04 20:13:02 +00:00
Konstantin (DigitalEntity) Sharlaimov
e72e70209e [H7] Add preliminary support for H7 CPUs 2020-11-07 14:28:14 +01:00
Alberto García Hierro
a88aaca74b [CMAKE] Override .hex start address with 0x08000000
The configurator does rely on the .hex start address being set to
0x08000000. I'm not sure this is actually required and we should
fix the configurator instead. However, in order to allow older
versions of configurator to flash newer firmwares, we should
the .hex files built with cmake compatible for at least some
releases.
2020-09-20 21:02:40 +01:00
Alberto García Hierro
2e3000798b [CMAKE] Change clean_* targets to call <backend> clean
Removing CMAKE_CURRENT_BINARY_DIR directly is problematic, since it
also removes files generated by cmake and can cause errors that will
require regenerating the build system files.

Instead, call <backend> clean (e.g. make clean or ninja clean) in
CMAKE_CURRENT_BINARY_DIR. This ensures all the files generated by
the build system are removed, but any files generated as a part of
cmake's configuration step are preserved.
2020-09-20 17:17:07 +01:00
Alberto García Hierro
427933c5ad [CMAKE] Make the with_bl targets depend on targets instead of files
While depending in the output files of other targets work fine with
cmake 3.17+ and/or ninja, it fails with cmake 3.14 and make. This
way works fine with all the combinations of cmake+backend we do
care about.
2020-09-14 22:27:29 +01:00
Alberto García Hierro
056489d856 [CMAKE] Add workaround for cmake -E rm with versions prior to 3.17 2020-08-26 22:40:28 +01:00
Alberto García Hierro
9712376a22 [CMAKE] Support cmake 3.13 and up
3.13 is what ships with current Debian stable, so it seems like
a reasonable baseline
2020-08-26 21:20:33 +01: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
e689bbef95 [CMAKE] Add support for automatically downloading the arm compiler 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
8f62efb43b [CMAKE] Cleanup semihosting support 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
fd42e03f04 [BUILD] Add more compile options for stm32
WARNIGNS_AS_ERRORS, DEBUG_HARDFAULTS and SEMIHOSTING can now be
turned on/off
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
Alberto García Hierro
65c04ae234 [BUILD] Build F7 based targets with cmake 2020-08-25 18:19:42 +01:00
Alberto García Hierro
fedabef03e [BUILD] Add support for building F3 targets with cmake 2020-08-25 18:19:42 +01:00
Alberto García Hierro
57e21bf310 [BUILD] Fix .hex and .map generation with cmake 2020-08-25 18:19:42 +01:00
Alberto García Hierro
0811839935 [BUILD] Port all f405 and f427 targets to cmake 2020-08-25 18:19:42 +01:00
Alberto García Hierro
8035a59639 [BUILD] Initial and very basic support for CMake
Only F411 based targets have been ported for now
2020-07-24 21:41:51 +01:00