Commit Graph

8506 Commits

Author SHA1 Message Date
Thomas Watson
d13193150c AP_ROMFS: store size in file structure instead of compressed stream
Cleans up code.
2024-01-25 11:24:31 +11:00
Thomas Watson
d46cb3fd85 AP_ROMFS: embed raw DEFLATE streams
Saves size not including unnecessary headers or code to parse them.
2024-01-25 11:24:31 +11:00
Thomas Watson
5d37442f7c Tools/embed: drop py2 compat, necessary for future improvements 2024-01-25 11:24:31 +11:00
Peter Barker
d4cbb54e35 autotest: tidy setting of board type
splitting the string isn't pretty - just set two variables.
2024-01-24 18:42:18 +11:00
Peter Barker
113ada0524 Tools: use virtual method for GCS_MAVLink::handle_message
use more appropriate naming for the method.
2024-01-24 09:07:41 +11:00
J.R. Bronkar
3a3f4ea446 autotest: Fractional Loiter Turn Test 2024-01-22 20:27:20 -08:00
Andrew Tridgell
f6ff3b2fbb Tools: fixed incorrect param conversions 2024-01-23 15:00:30 +11:00
Andrew Tridgell
1341abc6b4 Tools: fixed name of pitch limit parameters 2024-01-23 15:00:30 +11:00
Andrew Tridgell
bf60a3b385 Tools: added convert_param_scale.py 2024-01-23 15:00:30 +11:00
Andrew Tridgell
7de56d434c Tools: fixed parameter names 2024-01-23 15:00:30 +11:00
Andrew Tridgell
eb492bd0aa autotest: fixed quadplane test 2024-01-23 15:00:30 +11:00
Andrew Tridgell
cfcd28bc8c Tools: convert Q_VELZ_MAX to Q_PILOT_SPD_UP 2024-01-23 15:00:30 +11:00
Andrew Tridgell
d9ee8113ee Tools: param conversion Q_LAND_SPEED -> Q_LAND_FINAL_SPD 2024-01-23 15:00:30 +11:00
Andrew Tridgell
af420746ee Tools: param file TRIM_PITCH_DEG to PTCH_TRIM_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell
2f5cb42030 Tools: convert param files for LAND_PITCH_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell
7a57ac640f Tools: convert param files LIM_ROLL_CD -> ROLL_LIMIT_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell
badf8fabdd Tools: convert param files for pitch limits 2024-01-23 15:00:30 +11:00
Andrew Tridgell
a06b2d7328 Tools: param rename for CRUISE_ALT_FLOOR 2024-01-23 15:00:30 +11:00
Andrew Tridgell
e0cd06cc83 Tools: fixed name of TRIM_PITCH_DEG 2024-01-23 15:00:30 +11:00
Andrew Tridgell
286f6887bd Tools: convert ALT_HOLD_RTL and ALT_HOLD_FBWCM 2024-01-23 15:00:30 +11:00
Andrew Tridgell
863f25e645 Tools: convert ARSPD_FBW_MIN/MAX to AIRSPEED_MIN and AIRSPEED_MAX 2024-01-23 15:00:30 +11:00
Andrew Tridgell
4fea71246d Tools: change TRIM_ARSPD_CM to AIRSPEED_CRUISE 2024-01-23 15:00:30 +11:00
Tim Tuxworth
afc093a9b2 autotest: change default params from TRIM_PITCH_CD to TRIM_PITCH_DEG 2024-01-23 15:00:30 +11:00
Tim Tuxworth
48359344c5 Tools: update Frame_params for TRIM_PITCH_DEG 2024-01-23 15:00:30 +11:00
Peter Barker
b35431beb5 Tools: build_options.py: add option for HAL_LOGGING_ENABLED 2024-01-23 11:55:49 +11:00
Peter Barker
49c3f668de Tools: rename COMPASS_TYPEMASK to COMPASS_DISBLMSK
this is a very confusingly named parameter.  I've seen several instances of people treating this as an enable mask rather than a disable mask
2024-01-23 11:54:49 +11:00
David O'Connor
0c943cac58 Tools : reverse board ID 1146 for AnyleafH7 2024-01-21 18:58:45 +00:00
Simon Hancock
098a53e318 Tools: Updates to log message units and help text
parse.py: Remove lone bullet points rendered on replay messages
enum_parse.py: Tweak regex on enum parser to handle comments like: "FRED = 10, ///< text"
2024-01-21 14:26:54 +11:00
MallikarjunSE
101bc7c3a7 Tools: Add TrueNavPro-G4 bootloader 2024-01-21 13:10:10 +11:00
MallikarjunSE
8be6f1b57e Tools: add TrueNavIC bootloader 2024-01-21 13:10:10 +11:00
Andrew Tridgell
2f71e023db AP_Bootloader: added cleanup of web server threads 2024-01-21 12:30:08 +11:00
Andrew Tridgell
3e35773c8a Tools: added bootloader for PPPGW targets 2024-01-21 12:30:08 +11:00
Andrew Tridgell
9bb29aec36 AP_Periph: ensure no external flash in periph
bootloader protocol cannot support it in its current form
2024-01-21 12:30:08 +11:00
Andrew Tridgell
9bf5842ab2 AP_Bootloader: rename web request thread 2024-01-21 12:30:08 +11:00
Andrew Tridgell
ae031c4f3f AP_Bootloader: prevent external flash in DroneCAN bootloader 2024-01-21 12:30:08 +11:00
Andrew Tridgell
335ed9ebf1 AP_Bootloader: save a few bytes of flash 2024-01-21 12:30:08 +11:00
Andrew Tridgell
1bf1689f2f AP_Bootloader: only erase the number of sectors we need 2024-01-21 12:30:08 +11:00
Andrew Tridgell
286b52e2cd AP_Bootloader: added bl network status to CAN 2024-01-21 12:30:08 +11:00
Andrew Tridgell
b8e14c166f AP_Periph: fixed SITL build 2024-01-21 12:30:08 +11:00
Andrew Tridgell
e18abc3a9b AP_Bootloader: added progress and status to fw upload 2024-01-21 12:30:08 +11:00
Andrew Tridgell
29876f649a AP_Bootloader: added reboot button 2024-01-21 12:30:08 +11:00
Andrew Tridgell
1bee4630cc AP_Bootloader: show IP as CAN debug msg in bootloader
this also saves a few bytes of flash for normal periph bootloader
2024-01-21 12:30:08 +11:00
Andrew Tridgell
38d7af450f AP_Periph: prevent wrap of free memory in VSSC 2024-01-21 12:30:08 +11:00
Andrew Tridgell
212bde0b61 AP_Bootloader: use IP address from periph if available 2024-01-21 12:30:08 +11:00
Andrew Tridgell
ec9a8d7167 waf: CubePilot-PPPGW needs fiprintf 2024-01-21 12:30:08 +11:00
Andrew Tridgell
771e4be86d AP_Bootloader: added CubeRed Periph board ID 2024-01-21 12:30:08 +11:00
Andrew Tridgell
9904dca558 AP_Periph: added reboot link to web UI 2024-01-21 12:30:08 +11:00
Andrew Tridgell
7c711d7525 AP_Bootloader: added option web interface to the bootloader
for loading firmware via ethernet
2024-01-21 12:30:08 +11:00
Andrew Tridgell
59fe2c9d4e AP_Periph: added reboot for scripting 2024-01-21 12:30:08 +11:00
Andrew Tridgell
46f65aec4e AP_Periph: moved web UI script to Tools/AP_Periph
for use in multiple boards
2024-01-21 12:30:08 +11:00
Andrew Tridgell
ebe7fc23b3 Tools: build a web enabled bootloader in CI 2024-01-21 12:30:08 +11:00
Henry Wurzburg
1bac278a38 Tools: add button build server option 2024-01-21 11:51:47 +11:00
Andrew Tridgell
2e9a43d781 AP_Bootloader: reverse an ID for Tulip Battery monitor 2024-01-20 11:50:31 +11:00
Andrew Tridgell
fb26452b8d Tools: added linux boards to build sizes web page 2024-01-19 11:41:02 +11:00
Peter Barker
a1fe322f46 Tools: param_parse.py: stop emitting field text in JSON output 2024-01-17 18:33:25 +11:00
Peter Barker
e7cd43ad86 Tools: param_parse.py: sort RCn_OPTIONS progamatically 2024-01-17 18:33:25 +11:00
Peter Barker
7c52d8b468 build_options.py: add option to force APJ_TOOL parameter area 2024-01-17 18:28:48 +11:00
Peter Barker
3f9062d676 Tools: extend error message when not finding defaults 2024-01-17 18:28:48 +11:00
Peter Barker
0b7f6c90e5 autotest: stop testing embedded param parser
we're moving to ROMFS defaults files
2024-01-17 18:28:48 +11:00
Peter Barker
3aab3bac52 Tools/AP_HAL_ChibiOS: move defaults from tools to hwdef directory
Tools: move defaults from tools to hwdef directory
2024-01-17 18:28:48 +11:00
Peter Barker
0c98369fd5 Tools: remove script which generates MissionPlanner-style xml files
it now uses apm.pdef.xml
2024-01-17 14:10:01 +11:00
Peter Barker
51ed5b8dd9 Tools: param_parse.py: remove xmlemit_mp
this was used for a while to create xml files suitable for MissionPlanner toconsume.  MissionPlanner now uses apm.pdef.xml
2024-01-17 14:10:01 +11:00
Dr.-Ing. Amilcar do Carmo Lucas
2564ca03e2 Tools: Spell correction 2024-01-17 08:40:15 +09:00
Joshua Henderson
b42138bfb6 Tools : completion add submoduleclean & submodule_force_clean 2024-01-17 07:41:44 +11:00
Peter Barker
a77df87b01 Tools: rename sim_periph_gps to sim_gps_universal, recreate sim_periph_gps 2024-01-16 12:16:35 +11:00
Simon Hancock
c0a503d74d autotest: Provide format and unit/multiplier info for log messages
Definitions of each character are extracted from LogStructure.h
Data is extracted by parsing the logging definition struct
Also parse WriteMessage() calls for messages not defined in struct
Add support to separate log descriptions for messages with same field list
Compute derived unit from combination of format, unit and multiplier
For XML output the format and derived unit into new attributes
Add enumerations to the XML output (bitmasks were already done)
For MD,RST,HTML, output either derived unit, 'char[n]', 'bitmask' or 'enum'
Fix support for Blimp by adding it to the parse_enum.py lookup table
2024-01-16 11:24:34 +11:00
Peter Barker
fb1209ff3c AP_Periph: add missing AP_AHRS include 2024-01-15 20:41:58 +11:00
Peter Barker
38a9960b31 AP_Periph: add missing include for AP_RTC
shouldn't be instantiating one of these without directly including the header.

Was being included transitively
2024-01-15 20:41:58 +11:00
Peter Barker
2ca8cc572c Tools: build_options.py: Ghost telem requires ghost RC 2024-01-15 09:39:41 +11:00
Peter Barker
fe30a93602 build_options.py: correct entries for Ghost telem protocol 2024-01-15 09:39:41 +11:00
MallikarjunSE
c7c2c54c26 Tools: Reserve board IDs for Sierra 2024-01-13 17:12:06 -08:00
AndersonRayner
d53807cb6c Tools: Update sitl-on-hardware README.md to match new file paths.
The sitl-on-hardware paths have changed.  This updates the readme file to reflect the new file locations.
2024-01-13 13:55:25 -08:00
Rhys Mainwaring
5ee05b6799 Tools: ros2: pass verbose flag to micro-ROS agent.
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2024-01-13 13:43:12 -08:00
Siddharth Purohit
d278ed3f2c Tools: add bin file when building binaries for Here4FC 2024-01-13 23:03:52 +11:00
TsuyoshiKawamura
e0971c7d1a Tools: make target directory before linking 2024-01-13 19:30:54 +11:00
Andrew Tridgell
2e8be66353 CI: added Pixhawk6X-PPPGW to CI builds 2024-01-12 19:06:49 -08:00
Andrew Tridgell
c59287bf9b AP_Periph: fixed version handling in periph 2024-01-12 19:06:49 -08:00
Mehmet Keten
625b7b6ab7 Tools: added name to GIT_Success.txt 2024-01-13 09:00:12 +09:00
Andrew Tridgell
ee6478b465 Tools: added CubePilot-PPPGW bootloader 2024-01-12 14:23:34 -08:00
Andrew Tridgell
44bc523db8 AP_Periph: added support for PPP gatewate peripheral 2024-01-12 14:23:34 -08:00
Andrew Tridgell
458d8cad4e Tools: added Pixhawk6X-PPPGW board 2024-01-12 14:23:34 -08:00
Peter Barker
34bc01ec71 Tools: size_compare_branches.py: upon process failure write out a file containing diagnostics 2024-01-12 15:23:47 +11:00
Peter Barker
1748711b99 Tools: size_compare_branches.py: restart failed threads 2024-01-12 15:23:47 +11:00
Andrew Tridgell
59108e9524 Tools: added Alia xplane parameters 2024-01-12 14:02:59 +11:00
Peter Barker
d26d9585ad AP_Bootloader: gate call check_good_firmware on AP_CHECK_FIRMWARE_ENABLED
this method doesn't exist if that defines doesn't
2024-01-12 12:04:56 +11:00
Peter Barker
85fc178769 AP_Bootloader: correct placement of AP_BOOTLOADER_ALWAYS_ERASE
this moves it outside of defined(BOOTLOADER_DEV_LIST)
2024-01-12 12:04:56 +11:00
Andy Piper
3c9c4a58b8 scripts: add Ghost protocol to build_options.py 2024-01-10 18:32:53 +11:00
Iampete1
a5f2076d21 Tools: AP_Periph: add support for relay via incoming hardpoint command 2024-01-10 18:29:24 +11:00
Andrew Tridgell
7e5e55a97b autotest: fix for flapping multicast log download test
we had two ports outputting to 14550 which could cause the test to be
very slow
2024-01-10 18:07:29 +11:00
Bob Long
eb10b81964 Tools: uploader.py: set write_timeout
This is needed to prevent Windows from hanging when trying to write to
"Standard Serial over Bluetooth" ports.
2024-01-09 01:32:16 -08:00
Peter Barker
5acf58c310 autotest: add test for receiving base messages 2024-01-07 13:04:03 -08:00
bugobliterator
c693d4f0e4 Tools: add Here4FC bootloaders 2024-01-08 07:05:34 +11:00
Andrew Tridgell
8ddfa02575 Tools: fixed est32 gdb init 2024-01-07 20:51:55 +11:00
Andrew Tridgell
c7c0680352 waf: enable sim on hw for esp32 empty builds 2024-01-07 20:51:55 +11:00
Andrew Tridgell
40e9b94f58 CI: test sim-on-hw build in CI 2024-01-07 20:51:55 +11:00
Andrew Tridgell
30ad0560f4 Tools: added CAN playback tool
uses frames from lua CAN bus capture and plays back for driver
development
2024-01-07 12:23:39 +11:00
David Buzz
977b5dfe33 Tools: DynamicRpmNotches is mostly within 5% but 10% prevents the test from flapping as much 2024-01-07 10:32:47 +11:00
Andrew Tridgell
b03728853e Tools: allow CPUInfo to build on systems without ESC telem 2024-01-07 09:36:29 +11:00
David Buzz
9a4a3bf551 Tools: on esp32 force constants to single-precision like chibios port does. 2024-01-07 08:26:07 +11:00
David 'Buzz' Bussenschutt
6d4747a38c Tools: fix esp32 CI build
install gevent as a package first seems to allow it to avoid issues.
also 3.11 is reqd, and 3.10 usn't good enough.
2024-01-07 08:09:21 +11:00