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

7104 commits

Author SHA1 Message Date
Konstantin Sharlaimov
7f4e8f66d5
Merge pull request #2785 from shellixyz/small_new_mspv2_message_changes
New MSPV2 messages small changes
2018-02-18 13:09:18 +10:00
Michel Pastor
78afbc6c01 Small new MSPV2 messages changes 2018-02-18 02:33:24 +01:00
Alberto García Hierro
06c62fc9db Make the isConnected() function in the serial vtable accept a const arg
Fixes warning during build.
Fixes #2786
2018-02-17 23:42:08 +00:00
Alberto García Hierro
8ad2bb867c Don't use a whole byte to indicate VCP support
Instead, define that byte to indicate communication capabilities
and use bit 0 for VCP and bit 1 for software serial.
2018-02-17 12:13:52 +00:00
Alberto García Hierro
947bb3df77 Output more information in MSP_BOARD_INFO
- Report wether the board has OSD support
- Report wether the board uses VCP
- Include the full target name in the response
2018-02-16 23:17:48 +00:00
Paweł Spychalski
2bcdc23752
Merge pull request #2776 from iNavFlight/DzikuVx-patch-1
Update Board - OMNIBUS.md
2018-02-15 14:29:45 +01:00
Konstantin Sharlaimov
b3e40c8456
Merge pull request #2768 from shellixyz/board_alignment_adjustments_dev
Add RC adjustments for board alignment
2018-02-15 22:32:24 +10:00
Paweł Spychalski
e23def2dd2
Update Board - OMNIBUS.md
Removed part of docs that were applying to radio configuration and suggested something on FC side that made no sense
2018-02-15 11:46:21 +01:00
Konstantin Sharlaimov
80805d1e52
Merge pull request #2769 from giacomo892/autotrim_length_increase
Increase AUTOTRIM length to 2s
2018-02-15 20:16:02 +10:00
Konstantin Sharlaimov
f212f37165
Merge pull request #2767 from iNavFlight/de_rcsplit_fix
Increase timeouts for RCSplit camera driver
2018-02-15 20:13:25 +10:00
Konstantin Sharlaimov
178780f397
Merge pull request #2772 from iNavFlight/agh_remove_boxname_semicolon
Remove trailing ';' from box definitions
2018-02-15 12:32:42 +10:00
Alberto García Hierro
b4bc76ffd5 Remove trailing ';' from box definitions
Instead, write it after each box name in serializeBoxNamesReply()
2018-02-14 15:57:05 +00:00
giacomo892
52c248a6f7 Increase AUTOTRIM length to 2s 2018-02-14 15:14:30 +01:00
Michel Pastor
44647af894 Add RC adjustments for board alignment 2018-02-14 15:02:41 +01:00
Alberto García Hierro
fd5938aa26
Merge pull request #2756 from giacomo892/autotrim_mods
Check if AUTOTRIM is enabled before arming and avoid arming.
2018-02-14 12:53:51 +00:00
azol
fbc228cdde adjust timeout logic
Signed-off-by: Konstantin Sharlaimov (DigitalEntity) <konstantin.sharlaimov@gmail.com>
2018-02-14 21:16:24 +10:00
Konstantin Sharlaimov
70079b8927
Merge pull request #2766 from shellixyz/fix_battery_docs
Fix battery docs current tuning formula
2018-02-14 20:30:18 +10:00
Michel Pastor
1f5430b127 Fix battery docs current tuning formula 2018-02-13 19:29:06 +01:00
Konstantin Sharlaimov
75a24d3b93
Merge pull request #2762 from iNavFlight/de_msp_noreply_flag
Add MSPv2 DONT_REPLY flag
2018-02-13 23:51:34 +10:00
Alberto García Hierro
ff6b507e4c Check for CAMERABOX[1,2,3] in packBoxModeFlags()
Otherwise the boxes are never highlighted in the configurator, since
they're never sent as active boxes via MSP.
2018-02-13 13:46:39 +00:00
Alberto García Hierro
f39582779c
Merge pull request #2763 from iNavFlight/agh_trace_print_buffer
Add DEBUG_TRACE_BUFFER_HEX[_SYNC] macros
2018-02-13 13:40:59 +00:00
Alberto García Hierro
bcfc8e7189 Add DEBUG_TRACE_BUFFER_HEX[_SYNC] macros
They implement support for printing an arbitrarily sized buffer
in hexadecimal via DEBUG_TRACE.
2018-02-13 12:27:53 +00:00
RcNet
2f5575c351 Fix YUPIF4 (#2461)
* YUPIF4 fix led strip
2018-02-13 22:08:03 +10:00
Konstantin Sharlaimov (DigitalEntity)
5ecd069173 Add MSPv2 DONT_REPLY flag 2018-02-13 22:06:44 +10:00
Konstantin Sharlaimov
0efab9dd7c
Merge pull request #2757 from krzysztofmatula/osd-stats-2
OSD odometer: time precision increased from H to H:MM
2018-02-13 21:13:02 +10:00
Konstantin Sharlaimov
af11180005
Merge pull request #2760 from iNavFlight/de_version_bump
Version bump to 1.9
2018-02-13 21:06:33 +10:00
Konstantin Sharlaimov (DigitalEntity)
90a1a1175b Version bump to 1.9 2018-02-13 18:29:13 +10:00
Konstantin Sharlaimov
952a72a068
Merge pull request #2758 from shellixyz/restore_old_cell_max_voltage
Restore old cell max voltage
2018-02-13 10:55:33 +10:00
Michel Pastor
0cd20b3700 restore old cell max voltage 2018-02-13 00:48:02 +01:00
Konstantin Sharlaimov
a62a33f11d
Merge pull request #2755 from iNavFlight/de_master
Update to master
2018-02-13 09:29:05 +10:00
Krzysztof Matula
022a37e9fe OSD odometer: time precision increased from H to H:MM 2018-02-12 21:42:22 +01:00
giacomo892
0fc7afe31d Check if AUTOTRIM is enabled before arming and avoid arming. 2018-02-12 15:26:41 +01:00
Konstantin Sharlaimov (DigitalEntity)
857780c65a Merge branch 'master' into development 2018-02-13 00:13:39 +10:00
Konstantin Sharlaimov
3e1dd3e30f
Merge pull request #2753 from iNavFlight/de_cli_servo_fix
Reorder smix/servo parameters to make sure 'smix reverse' restores correctly
2018-02-13 00:08:25 +10:00
Konstantin Sharlaimov
4df7b602c9
Merge pull request #2754 from iNavFlight/agh_trace_msp_fix
Fix broken boxes initialization in #2751
2018-02-13 00:06:54 +10:00
Alberto García Hierro
7f054c6f78 Fix broken boxes initialization in #2751
mspFcInit() can't be called until the HW has been initialized, since
it performs some checks to decide which boxes to enable. We can
still call mspSerialInit() early in the boot process, so trace-over-MSP
works anyway.
2018-02-12 13:25:12 +00:00
Konstantin Sharlaimov
8539178eee
Merge pull request #2752 from iNavFlight/de_refactor_underclock
Make sure defining/not defining USE_UNDERCLOCK doesn't break the functionality
2018-02-12 23:07:38 +10:00
Konstantin Sharlaimov (DigitalEntity)
1bf58c58b3 Reorder smix/servo parameters to make sure 'smix reverse' restores correctly 2018-02-12 22:35:48 +10:00
Konstantin Sharlaimov
54aa1d6302
Merge pull request #2751 from iNavFlight/debug_trace_msp
Add support for sharing DEBUG_TRACE port with an MSP port
2018-02-12 22:24:50 +10:00
Konstantin Sharlaimov (DigitalEntity)
cc90e3b9a7 Make sure defining/not defining USE_UNDERCLOCK doesn't break the functionality 2018-02-12 22:24:02 +10:00
Konstantin Sharlaimov
469031cf78
Merge pull request #2453 from StewLG/fixVtxWarnings
Fixing missing initializer for field GCC compilation warnings
2018-02-12 21:49:45 +10:00
Konstantin Sharlaimov
00af57968e
Merge pull request #2366 from azolyoung/add-unitest-for-rcdevice
add unittest for rcdevice
2018-02-12 21:49:14 +10:00
Konstantin Sharlaimov
96a9799f71
Merge pull request #2639 from junwoo091400/ADXL345_ReadFunc_bufSize_8to6
Shrink ADXL345 Read Function Buffer Size(8->6)
2018-02-12 21:46:34 +10:00
Konstantin Sharlaimov
0b8b19d097
Merge pull request #2732 from iNavFlight/de_vcp_fixes
Early initialize USBD to avoid USB detection issues; USB defines cleanup
2018-02-12 21:45:41 +10:00
Alberto García Hierro
3d1a8e17d6 Make mspSerialPushPort() allocate on the stack
This prevents increasing BSS usage overflowing OMNIBUS' RAM
2018-02-12 11:04:30 +00:00
Alberto García Hierro
af1c06e130 Changes to trace-over-MSP as discussed with @digitalentity
- Use MSP_DEBUGMSG rather than introducing a new MSP code.
- Increase the buffer size in mspSerialPushPort() to MSP_PORT_OUTBUF_SIZE.
- Write each debug message in a single MSPv2 frame, since now we don't
need chunking anymore (MSP_PORT_OUTBUF_SIZE is asserted at compile time
to make sure it's bigger than the debug trace buffer).
2018-02-12 10:47:43 +00:00
Alberto García Hierro
638c9de7a8 Add support for sharing DEBUG_TRACE port with an MSP port
- Added MSPv2 code MSP2_COMMON_DEBUG_OUTPUT, which sends a debug
message to the MSP client. It must be ready to accept MSP responses
without sending a request first.
- Moved MSP initialization a bit early in the boot process, so we
can print debug output during HW initialization.
- Added a couple of functions in msp_serial.c to locate an MSP port
from a serial port and to push a message to a given MSP port.
- Updated isSerialConfigValid() to allow sharing MSP with DEBUG_TRACE.
2018-02-12 10:22:28 +00:00
Konstantin Sharlaimov
8e77390fb2
Merge pull request #2748 from iNavFlight/de_serial_connected_api
Add protection against unconnected VCP
2018-02-12 10:25:01 +10:00
Konstantin Sharlaimov (DigitalEntity)
9ebc5acedb Add protection against unconnected VCP 2018-02-12 09:41:47 +10:00
Konstantin Sharlaimov
83751f631d
Merge pull request #2739 from giacomo892/sticks_poshold_deadband_cleanup
Sticks poshold deadband check cleanup and typos fix.
2018-02-12 09:37:14 +10:00