1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 01:35:35 +03:00
Commit graph

7605 commits

Author SHA1 Message Date
Airwide
3e9f1f9eb0 Moved Anti windup comment inside method 2020-08-27 21:36:15 +02:00
Paweł Spychalski
376e1a0d67
Merge pull request #5797 from marbalon/marbalon_eleres_rx_telemetry_extended
Extended telemetry for radar and pos hold
2020-08-27 21:15:10 +02:00
Airwide
0879383ae8 removed trailing whitspace 2020-08-27 20:47:51 +02:00
Airwide
3b35829a06 Changed logic for anti windup deactivation for fixed wing 2020-08-27 20:46:15 +02:00
Alberto García Hierro
888763f59e [CMAKE] Cosmetic changes
- Make sure all the new files are terminated with newlines
- Fix typos
2020-08-27 12:30:51 +01:00
Alberto García Hierro
fe24e611af [CMAKE] Consider warnings as errors during CI 2020-08-26 15:50:18 +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
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
77e3040523 [F4] Remove invalid UTF-8 from system_stm32f4xx.c 2020-08-25 18:19:43 +01:00
Alberto García Hierro
67974ef9ad [BUILD] Fix linker errors when building with -O0
Build didn't fail with -Os or -O2 due to dead code elimination.
Otherwise there were some undefined symbols when USE_OSD or
USE_RX_NRF24 were not defined.
2020-08-25 18:19:43 +01:00
Alberto García Hierro
0041cbcdca [MISC] Fix warnings found by -Werror 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
b9d3bc5ef7 [BUILD] Add missing headers to main sources list 2020-08-25 18:19:43 +01:00
Alberto García Hierro
bc327ea313 [BUILD] Add missing/renamed sources to cmake sources list 2020-08-25 18:19:43 +01:00
Alberto García Hierro
b9a5f95df9 [BUILD] Add missing targets to cmake
FLYWOOF411, FLYWOOF72DUAL, FOXEERF722V2 and IFLIGHTF4_SUCCEXD
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
477fcfd52a [BUILD] Add missing f405 based target ANYFC 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
0811839935 [BUILD] Port all f405 and f427 targets to cmake 2020-08-25 18:19:42 +01:00
Michel Pastor
fd24510b71
Improve the settings generator's error reporting (#6068)
Make the settings generator report when it can't find the values for a
table instead of outputting a cryptic error
2020-08-24 22:27:06 +02:00
Niccolò Maggioni
0115e2e278
Include undocumented settings in docs (#6061)
* Update autogenerated settings doc

* Include undocumented settings in docs
2020-08-24 22:26:45 +02:00
Airwide
72f0be89d0 Created handlePIDAntiWindup. Changes FW behaviour to only activate anti windup once per flight. 2020-08-23 16:08:04 +02:00
giacomo892
291d4789a7 improvements 2020-08-19 10:38:41 +02:00
Michel Pastor
02dfee1c59
[RTH Estimator] Fix display condition (#6040) 2020-08-17 11:42:56 +02:00
Michel Pastor
02093b335d
[FRSKYPILOT] Update current sensor calibration (#6043) 2020-08-17 10:22:52 +02:00
Pawel Spychalski (DzikuVx)
0df8dee3c9 Disable KFC32F3 2020-08-14 16:54:23 +02:00
Pawel Spychalski (DzikuVx)
d13ba61d07 Merge branch 'master' into dzikuvx-mag-gain-calibration 2020-08-14 14:59:30 +02:00
Alberto García Hierro
4ea9a5f74a [OSD] Fix default value for osd_sidebar_horizontal_offset
Default value should be zero, otherwise the sidebars are always
drawn at the edges of the screen.
2020-08-12 22:48:38 +01:00
Michel Pastor
cde13120ae
Take into account video aspect ratio when drawing AHI (#5962) 2020-08-12 17:08:02 +02:00
Qiusen "Will" Huang
617a3a04bb
[no risk] fix typo in max7456.c (#6039) 2020-08-11 19:25:59 +02:00
Michel Pastor
a9120cbdbf Add target for FrSky's ROVERF7 FC 2020-08-11 19:24:25 +02:00
Michel Pastor
40f4320a44 [FRSKYPILOT] Set serialrx_inverted to ON by default 2020-08-11 12:38:45 +02:00
Alberto García Hierro
06c804ad98 [FRSKYPILOT] Update default IMU orientation for final board design 2020-08-11 12:38:45 +02:00
Alberto García Hierro
84f3774ef9 [TARGETS] Rename R9_PILOT to FRSKYPILOT 2020-08-11 12:38:45 +02:00
Alberto García Hierro
154a8ee838 [R9PILOT] Use SERIAL_PORT_xxx for target configuration 2020-08-11 12:38:45 +02:00
Michel Pastor
64fa696944 Add target for FrSky's R9 Pilot F765 fixed wing flight controller 2020-08-11 12:38:45 +02:00
Michel Pastor
a56a25ae9d Disable FURYF3 target 2020-08-11 12:34:27 +02:00
Michel Pastor
9866553d85 Disable SPRACINGF3EVO target 2020-08-11 12:34:27 +02:00
Michel Pastor
bf365134f7 Add F.Port2 support 2020-08-11 12:34:27 +02:00
Alberto García Hierro
a319cd609a [RX] Make halfDuplex (exposed as serialrx_halfduplex) a tristate
This allows us to set the default value to AUTO, so each protocol
can select its default "duplexity". Then the explicit ON and OFF
values can be used to override the default value for the protocol.

Regenerate Settings.md to update the serialrx_halfduplex
documentation. This also regenerates some unrelated settings that
were out of date.

Update Rx.md accordingly.
2020-08-11 10:19:33 +01:00
Konstantin (DigitalEntity) Sharlaimov
88a94450f7 [IMU] Use bell curve to calculate accelerometer weight in IMU calculations 2020-08-11 11:06:43 +02:00
Michel Pastor
8c38a9284a
Fix the meaning of the serialrx_inverted setting for F.Port (#5454)
`serialrx_inverted` is supposed to be set to OFF for the normal expected
polarity of the signal for the selected protocol. Before this change it
needed to be set to ON when a F.Port receiver was connected directly to
the FC without an inverter or through the inverted S.Port wire present on
some receivers. This change uniformizes the meaning of this setting with
its meaning for the protocols others than F.Port
2020-08-11 09:34:41 +02:00
Paweł Spychalski
b3cd978a6c
Merge pull request #6030 from iNavFlight/dzikuvx-throttle-idle-update
Allow throttle_idle to be 0 for better 3D compatibility
2020-08-10 11:51:52 +02:00
Alberto García Hierro
5c51930fab
Merge pull request #6011 from iNavFlight/agh_speedybee_pinio
[SPEEDYBEEF7] Add support for disabling BT via PINIO, add to RELEASE_TARGETS
2020-08-10 08:13:29 +01:00
Pawel Spychalski (DzikuVx)
7083b122cb Allow throttle_idle to be 0 for better 3D compatibility 2020-08-09 17:37:21 +02:00
Pawel Spychalski (DzikuVx)
8d61f4f6df PG version bump 2020-08-09 16:56:02 +02:00
Pawel Spychalski (DzikuVx)
8e6ed88c35 Set OneShgot125 as a default ESC protocol 2020-08-09 16:55:31 +02:00