Commit Graph

15571 Commits

Author SHA1 Message Date
mikeller 6c387a0c7e Added '<target>_zip' target to Makefile. 2020-01-16 00:34:10 +13:00
Michael Keller 291da07127
Merge pull request #9358 from jflyper/bfdev-g4-libpatch
[G4][LIB] V1.0.0 library patch
2020-01-16 00:11:29 +13:00
Michael Keller 099e0a6064 Added OSD status to CLI 'status' output. 2020-01-15 23:32:38 +13:00
Michael Keller 7597e99671
Merge pull request #9357 from Asizon/movedebugmode
Move Debug Mode to Blackbox cms menu
2020-01-15 23:12:50 +13:00
jflyper 9fea8fc08d [G4][LIB] Fix LL_DMA_{Set,Get}PeriphRequest
Fix bad handling of DMA_TypeDef argument in LL_DMA_{Set,Get}PeriphRequest() inline macro.
This bug causes peripheral requests for DMA2 to be set in DMAMUX channels for DMA1.

This is fixed in FW library V1.1.0.
2020-01-15 10:45:39 +09:00
jflyper 53e81732f6 [G4][LIB][USB] Middlewares change: Fix memory corruption 2020-01-15 10:45:39 +09:00
jflyper 651c40c397 [G4][LIB][USB] Remove insane defs for MIN and MAX 2020-01-15 10:45:39 +09:00
jflyper 7dfac1aaea [G4][LIB] Modify USB Middleware library for addition of HID and MSC
MSC updates
2020-01-15 10:45:39 +09:00
jflyper a8b589de88 [G4][LIB] Modify HAL SPI driver for const-ness to match call from current bus_spi driver 2020-01-15 10:45:39 +09:00
jflyper a5d08c91c5 [G4][LIB] Take care of unused parameters in USB library 2020-01-15 10:45:38 +09:00
jflyper ddd60b6fbb [G4][LIB] Take care of FLASH_SIZE symbol collision with BF 2020-01-15 10:45:33 +09:00
Michael Keller 2f78b3189c
Merge pull request #9317 from mikeller/make_unit_tests_more_comprehensive
Changed 'ASSERT_' in unit tests to 'EXPECT_' for more comprehensive failure reporting.
2020-01-15 13:15:15 +13:00
Nicola De Pasquale 3ae5830eb0 added dterm lpf configurable curve 2020-01-14 20:24:56 +01:00
Alberto García Hierro 2b63d4a060 [MSP] Add support for MSP2_COMMON_SERIAL_CONFIG / MSP2_COMMON_SET_SERIAL_CONFIG
This allows retrieving ports with functionMask with values >= (1 << 16)
while still keeping MSP_CF_SERIAL_CONFIG / MSP_SET_CF_SERIAL_CONFIG
backwards compatible.

The new handler includes the port count at the start of the frame, so
the per-port data size can be extended in a backwards compatible way
in the future.
2020-01-14 14:11:43 +00:00
Michael Keller 924fd3414f
Merge pull request #9319 from mikeller/fix_osd_tests_for_real
Removed wonkiness and interdependencies from OSD unit tests.
2020-01-14 12:58:40 +13:00
Michael Keller f53d812fc8
[MSP] Correctly report the configured and active OSD type (#9333)
[MSP] Correctly report the configured and active OSD type
2020-01-14 11:42:06 +13:00
Michael Keller 728acc3361
Merge pull request #9348 from jflyper/bfdev-g4
[G4][LIB] Import FW library V1.0.0
2020-01-14 07:05:23 +13:00
jflyper 5eef822b6a [G4][LIB] Import FW library V1.0.0 2020-01-13 23:55:09 +09:00
Asizon 5a0944723b Add REBOOT_REQUIRED flag 2020-01-13 15:45:15 +01:00
Michael Keller b5237bba93
Fix SITL target build and runtime segfaults (#9342)
Fix SITL target build and runtime segfaults
2020-01-14 00:47:27 +13:00
Asizon 1dc8cca8ae Move Debug Mode 2020-01-13 09:13:50 +01:00
Tdogb 91333f3781 updated default crashflip expo to 35 2020-01-12 17:01:13 -05:00
Matylitski Yury 548379bab0 fixed SITL target debug build and runtime segfaults. Added motorPwmDevice vTable functions and IOConfigGPIO stub 2020-01-12 23:16:25 +03:00
Matylitski Yury e82dd4a616 fixed CLI segfault when no USE_OSD is set 2020-01-12 22:02:44 +03:00
s-ol 6270c2044f Add build documentation for Arch Linux 2020-01-12 15:42:16 +01:00
Alberto García Hierro 65f84f2c86 [MSP] Correctly report the configured and active OSD type
- Tell the OSD driver the type of displayPort, so it can be retrieved
later.
- Use OSD driver code instead of device specific code to handle
MSP_OSD_CONFIG response while minimizing driver specific code.
- Add flag for signaling the use of FrSky OSD (bit 3).
- Rename OSD_FLAGS_MAX7456_DETECTED to OSD_FLAGS_OSD_DEVICE_DETECTED.
Since we only support one OSD device type at a time, we can use the
same bit to signal wether the hardware has been detected.
2020-01-04 12:35:09 +00:00
fgiudice98 09a91aac44
Fix battery osd precision
with voltage <10V
2020-01-02 17:41:53 +01:00
Michael Keller 6433aaa688
switched pin desriptions (#9321)
switched pin desriptions
2019-12-29 12:37:01 +13:00
Michael Keller 1bd93090a7
ICM42605 sensor support (#9316)
ICM42605 sensor support
2019-12-28 08:52:15 +13:00
DusanF d37f7771c9
Update target.h 2019-12-27 16:59:59 +01:00
Michael Keller 9e99ad1ab3
Merge pull request #9288 from etracer65/frame_rate_calc_srxl2
Add protocol level receiver frame rate measurement for SRXL2
2019-12-27 18:17:38 +13:00
Michael Keller df778d6ba1 Removed wonkiness and interdependencies from OSD unit tests. 2019-12-27 16:57:38 +13:00
Michael Keller 71661acde2 Changed 'ASSERT_' in unit tests to 'EXPECT_' for more comprehensive failure reporting. 2019-12-27 14:30:24 +13:00
Dominic Clifton 88d9a9c96b NUCLEOH743 - Enable ICM42605 for CI code visibility. 2019-12-26 20:09:47 +01:00
Dominic Clifton 3b3ead25f0 ICM42605 - Initial sensor support. 2019-12-26 20:09:47 +01:00
Bruce Luckcuck e8e258da08 Add protocol level receiver frame rate measurement for SRXL2 2019-12-27 01:46:32 +13:00
Michael Keller 4ba9a6ca75
Reset protocol level RX frame delta after reading (#9281)
Reset protocol level RX frame delta after reading
2019-12-27 00:54:19 +13:00
Michael Keller dcdcc9bd5e
Unify rx spi exti handling (#9268)
Unify rx spi exti handling
2019-12-26 12:50:53 +13:00
Michael Keller e3c9cea554
Prevent EXTI handler from crashing when EXTI lines 16-32 are us… (#9311)
Prevent EXTI handler from crashing when EXTI lines 16-32 are used.
2019-12-26 12:49:04 +13:00
Dominic Clifton 38ffacf80e Prevent EXTI handler from crashing when EXTI lines 16-32 are used.
Refer to "EXTI Event Input mapping" table in MCU reference manuals.
2019-12-24 23:09:32 +01:00
Michael Keller 5812d6291c
Fix imuComputeQuaternionFromRPY warning. (#9304)
Fix imuComputeQuaternionFromRPY warning.
2019-12-25 00:20:22 +13:00
Michael Keller ba7b66080f
Merge pull request #9309 from TonyBlit/fix_sat_list
Clear sat list to avoid showing old data
2019-12-25 00:18:55 +13:00
Michael Keller 29723eae35
Revert "BugFix: time to first fix was sometimes abnormally high… (#9308)
Revert "BugFix: time to first fix was sometimes abnormally high due t…
2019-12-25 00:17:45 +13:00
mikeller 0dcdeaa105 Unified the handling of the EXTI pin for SPI RX. 2019-12-24 16:05:36 +13:00
Tony Cabello c08acd3eb4 Revert "BugFix: time to first fix was sometimes abnormally high due to improper configuration of Ublox GPS"
This reverts commit 751e1ae444.
2019-12-23 23:07:10 +01:00
Michael Keller 534c396f14
Added smartport pitch and roll sensors (#9292)
Added smartport pitch and roll sensors
2019-12-24 08:40:19 +13:00
Michael Keller 9e925e4aec
Fix "may be used uninitialized" debug build warnings (#9303)
Fix "may be used uninitialized" debug build warnings
2019-12-24 08:23:02 +13:00
Bruce Luckcuck b471577a14 Fix "may be uninitialized" debug build warnings 2019-12-23 12:44:00 -05:00
Mark Hale a0166c4211 Added pitch and roll sensors.
Adds parity with other telemetry protocols (e.g. crsf).
2019-12-23 16:07:10 +00:00
Tony Cabello 46c0d2da7e Clear sat list to avoid showing old data 2019-12-23 12:19:56 +01:00