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

89 commits

Author SHA1 Message Date
Marcelo Bezerra
16ebb27c8b
Merge pull request #10593 from iNavFlight/mmosca-h7a3
Update libraries - pre-req for H7A3
2025-01-22 17:51:18 +01:00
Marcelo Bezerra
20ea6c1b1c
Add more debugging info 2025-01-10 19:05:15 +01:00
Marcelo Bezerra
ae637e1689
Handle case where last runniner has no targets left to build 2025-01-10 18:51:46 +01:00
Marcelo Bezerra
f6888f490e
Add total targets debug info 2025-01-10 18:38:37 +01:00
Marcelo Bezerra
3561feeb9f f7: use hal for sdio 2024-12-12 11:53:10 +01:00
bkleiner
069a61cea5 add h7 svd file 2024-08-08 10:16:35 +02:00
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)
724d4ded5e Merge remote-tracking branch 'origin/master' into dzikuvx-adaptive-filter 2024-04-05 14:40:01 +02:00
Marcelo Bezerra
03e8b62337 Fix gcc download for mac silicon macos 2024-04-03 23:03:11 -04: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
Jonathan Hudson
0d55d20bc8
fix cygwin/sitl build with cmake 3.28.3 (#9787) 2024-03-11 10:44:23 +00:00
Jonathan Hudson
03eabf630a
update toolchain to gcc13.2 (#9579)
add "-Wl,--no-warn-rwx-segments" for ATF4
2023-12-21 10:41:35 +00:00
Roman Lut
79e14749d5 add option to build sitl with debug information 2023-10-07 17:53:26 +02:00
Roman Lut
ff947cb743 docked build: added scripts for sitl build and run 2023-10-06 01:13:35 +02:00
Roman Lut
55c1abea37 docked build: build with ninja 2023-10-06 01:13:35 +02:00
Jonathan Hudson
8be9df062f [SITL] check gcc version for linker rwx warning 2023-07-06 16:38:36 +01:00
Jonathan Hudson
35ef692819 [SITL] suppress spurious linker warning with gcc12+ 2023-07-06 15:52:27 +01:00
Jonathan Hudson
df52583b87
reenable LTO for MacOS firmware builds (#9136) 2023-06-19 12:56:20 +01:00
Pawel Spychalski (DzikuVx)
4d200a9acf Merge remote-tracking branch 'origin/master' into dzikuvx-dsp-gyro-operations 2023-06-11 11:13:18 +02:00
Marcelo Bezerra
688a7e8480 Fix lldb debugging in OSX and improve OSX detection 2023-05-28 20:19:04 +02:00
Pawel Spychalski (DzikuVx)
7da465ade1 DSP based gyro operations 2023-05-26 13:00:05 +02:00
Paweł Spychalski
ccbd3e97ea
Merge pull request #8915 from mluessi/ml_quadspi_support
Add QUADSPI Support for H7 and M25P16 Flash Driver
2023-05-25 21:10:08 +02:00
Marcelo Bezerra
69bd3e9d93
[SITL OSX] Fix some of the warnings and add macosx SITL build to workflows (#9063)
clang can be verbose with warnings, but some of it is probably valid when building a 64bit binary.

Highlighted changes:

* Call float versions of math functions to avoid conversion to double by the compiler (absf, sqrtf, roundf, etc)
* Make sure floating point constants are marked as floats, to avoid conversion to double by the compiler. (1.0 is a double, 1.0f is a float and when doing math between float and double, all values get upgraded to double!)
* Changed memcpy_fn in unit test AND SITL builds to be a macro to memcpy (instead of inline function calling memcpy), this fixes linker errors for memcpy as macos compiler mangles the symbol in a different way and would not work with asm("memcpy") call.
* Some simulator code made heavy use of doubles, but since all the data in INAV is float, that is probably overkill and some functions/macros had float in the name, while upconvertting to double.

Open questions:

* Should scale in osdFormatCentiNumber be changed to float? It is currently uint32_t but some of the scale defines are, correctly, not integer numbers.
* I changed CENTIDEGREES_TO_DEGREES to use float on the division path, but the code seems to be ok, or assuming it would be converted to integer anyway. Is this the correct solution?
* This still does not fix the invalid settings issues, I suspect it is related to the lack of linker scripts in clang, to preserve the section data of settings.
* Binary is still not multi platform (arm/x86_64).
2023-05-25 13:12:03 +02:00
Pawel Spychalski (DzikuVx)
90a717e8ad Merge remote-tracking branch 'origin/master' into release_6.1.0 2023-05-13 09:09:19 +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
Jonathan Hudson
f3088aeb9b
[SITL] sitl specific cmake cleanup (Windows only linker option) (#8995)
* [SITL] sitl specific cmake cleanup (Windows only linker option)

* [SITL] sitl specific cmake cleanup (C17 for recent cmake)
2023-04-19 22:05:36 +01:00
Marcelo Bezerra
3898a53175
Merge branch 'master' into ml_quadspi_support 2023-04-15 20:54:42 +02:00
Pawel Spychalski (DzikuVx)
c07f0007f4 Merge remote-tracking branch 'origin/release_6.1.0' into dzikuvx-revert-h7-optimizations 2023-04-04 13:45:14 +02:00
Pawel Spychalski (DzikuVx)
20358c4f47 Revert "Switch H7 to -Ofast optimizations"
This reverts commit 17cba6342c.
2023-04-04 11:24:56 +02:00
Pawel Spychalski (DzikuVx)
521f83864e Merge remote-tracking branch 'origin/release_6.1.0' 2023-04-03 09:34:27 +02:00
Pawel Spychalski (DzikuVx)
ca1965199b Update GCC to 10.3.1 2023-03-25 18:19:36 +01:00
Martin Luessi
c701c35f67 CMake: Add QUADSPI to H7 2023-03-24 12:54:53 -07:00
Andi Kanzler
ea69f9c61d
Update sitl.cmake 2023-03-23 19:31:04 -03:00
Andi Kanzler
6ff514d8ba
Merge branch 'release_6.1.0' into SITL 2023-03-23 18:51:10 -03:00
Scavanger
154ea341f4 - Bugfixes
- Add magnetometer and rnagefinder
- Add joystick interface
- Configuator integration
- Update docs
2023-03-05 00:22:12 -03:00
EMSR
389e9e9bc8 add at32 bsp driver lib
Co-Authored-By: EMSR <10240646+shanggl@users.noreply.github.com>
Co-Authored-By: carl <101383042+tcdddd@users.noreply.github.com>
Co-Authored-By: Hugo Chiang <hugo@gyroflow.xyz>
2023-02-13 00:49:29 +08:00
Scavanger
1af0e6116b Fix tests 2023-01-24 23:14:11 -03:00
Scavanger
aeada84a73 Fix build bug 2023-01-24 11:36:09 -03:00
Scavanger
a39b0a309a Formatting 2023-01-24 10:14:14 -03:00
Scavanger
61790c157f SITL 2023-01-24 09:47:27 -03:00
Pawel Spychalski (DzikuVx)
17cba6342c Switch H7 to -Ofast optimizations 2023-01-19 18:46:00 +01:00
Roman Lut
42ace8c6e7 updated docker scripts 2022-08-22 16:09:51 +03:00
Pawel Spychalski (DzikuVx)
9983f99d03 Drop F3 codebase 2022-05-26 19:56:59 +02:00
bkleiner
d7341025b8 add h7 support to spi ll driver, drop hal version 2021-12-23 17:14:20 +01:00
bkleiner
6855c33d60 h7: enable usb msc and fix middleware compliation 2021-11-06 19:37:01 +01:00
Pawel Spychalski (DzikuVx)
fee2394ed8 Initial cut on H7 SD card. No idea if works. Compiles 2021-11-06 15:42:52 +01:00
Ilia Novoselov
1d7ba3a926 Fix WSL build 2021-10-23 17:04:43 +05:00
Paweł Spychalski
b55bc46f12
Merge pull request #7333 from mluessi/ml_config_extflash
Add ability to store configuration in external SPI flash
2021-08-18 10:16:08 +02:00