Commit Graph

8430 Commits

Author SHA1 Message Date
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
freenamegit c48f5c09db Tools: added name to GIT_Success.txt 2024-01-05 11:11:30 +11:00
Peter Barker 2cfbd25988 Tools: improve diagnostics from failed check_replay 2024-01-05 10:12:18 +11:00
Andrew Tridgell f8c3b494d1 autotest: fixed missing Blimp for enum parsing 2024-01-05 09:33:31 +11:00
Peter Barker 18adc77979 autotest: add flight test for OpticalFlow 2024-01-04 20:48:46 +11:00
Peter Barker c22794d078 AP_Periph: add missing SITL includes
these are required for compilation when other things are introduced
2024-01-03 18:33:10 +11:00
Peter Barker 24f7ff7b61 autotest: Use contexts to control script lifetimes in networking tests
this way if the test gets an exception part-way through the scripts are removed from the directories appropriately
2024-01-03 17:36:10 +11:00
Andrew Tridgell f4e731781d CI: debug ppp install 2024-01-03 12:14:47 +11:00
Andrew Tridgell b340b5f8ca Tools: added PPP as a build option 2024-01-03 12:14:47 +11:00
Andrew Tridgell eb6c62f319 CI: added CubeOrange-PPP build test 2024-01-03 12:14:47 +11:00
Andrew Tridgell 8aaedccacc Tools: install ppp in ubuntu 2024-01-03 12:14:47 +11:00
Andrew Tridgell 60bfcf3cdc autotest: added a web server test
both native sockets and PPP
2024-01-03 12:14:47 +11:00
Andrew Tridgell c85f4f875c Tools: disable lwip with clang 2024-01-03 12:14:47 +11:00
Andrew Tridgell 799b01c6c6 Tools: added --enable-ppp to sim_vehicle.py 2024-01-03 12:14:47 +11:00
Andrew Tridgell d26530c892 waf: added --enable-ppp option 2024-01-03 12:14:47 +11:00
Andrew Tridgell 8b3f3bc2d2 waf: new location for lwip 2024-01-03 12:14:47 +11:00
Andrew Tridgell fb0a0de2f2 waf: added env.BOARD_CLASS 2024-01-03 12:14:47 +11:00
Andrew Tridgell a53be122db waf: removed lwip source paths in chibios class 2024-01-03 12:14:47 +11:00
Andrew Tridgell a5fee135b0 waf: added paths for PPP build 2024-01-03 12:14:47 +11:00
Peter Barker f8fcc96103 Tools: don't check all files if no files-to-check supplied 2024-01-03 11:46:05 +11:00
Peter Barker 3bd8f1a3df AP_Periph: rename rx-protocol-stats ins local to avoid conflict with ins singleton 2024-01-03 11:43:43 +11:00
Andrew Tridgell 816e3fae3e autotest: fixed flapping sub log download test
the log being downloaded can be very large, and times out. Setting
LOG_DISARMED=1 gives us a small log to download
2024-01-02 11:34:12 +11:00
Peter Mullen 948ee94cee Tools/autotest: Add LUA interface to access Range Finder state 2024-01-02 11:31:02 +11:00
Andrew Tridgell f5bc7f02a8 Tools: changed to --enable-fgview 2024-01-02 08:12:37 +11:00
Iampete1 b13632cc94 Tools: Scripts: decode_ICSR: use decoder_m4_pendsvset function 2024-01-01 11:31:40 +11:00
Andrew Tridgell 564041f592 waf: added WAF_BUILD_TARGET for esp32 build 2023-12-31 09:55:16 +11:00
Andrew Tridgell 990b10bbca Tools: added esp32s3empty and gdb startup file for esp32 2023-12-31 09:55:02 +11:00
Andrew Tridgell e5f1c6e27d Tools: added MatekL431-Serial bootloader 2023-12-27 05:13:14 -07:00
Andrew Tridgell e94ab529cc waf: enable periph serial options in SITL periph 2023-12-27 05:13:14 -07:00
Andrew Tridgell 83cfcd841b AP_Periph: added support for SERIAL_OPTIONS
allows for options and flow control per serial port
2023-12-27 05:13:14 -07:00
Andy Piper da1066124e IO_Firmware: fix occasional internal errors on startup 2023-12-24 14:39:05 +11:00
Andrew Tridgell ff22c103b2 Tools: allow div1000 testing on all boards 2023-12-21 09:09:11 +11:00
Ryan Friedman 7f9992dd24 Tools: add REP-147 Global Position Control
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-12-20 02:37:01 +00:00
Andrew Tridgell cd72dcb73f AP_Periph: use a 1s deadline for packets
this fixes an issue with early discard of packets on MCUs with small
number of transmit slots and higher packet send count
2023-12-19 18:56:46 +11:00
Andrew Tridgell 23e67f7b53 waf: enable CAN deadlines in AP_Periph 2023-12-19 18:56:46 +11:00
Andrew Tridgell 388fab1ef8 Tools: added testing of _hrt_div1000() 2023-12-19 11:47:24 +11:00
Andrew Tridgell e33f0269d3 Tools: improved benchmarking of time functions 2023-12-19 11:47:24 +11:00
Michael du Breuil a45353b17f autotest: Update tests for relay 2023-12-19 10:01:01 +11:00
Thomas Watson 14180b5b93 AP_HAL_SITL: deprecate and warn on legacy --uartX option use 2023-12-19 06:53:15 +11:00
Thomas Watson de5b46e028 Tools: remove references to legacy UART order
Also delete some unused variables and update the completions.
2023-12-19 06:53:15 +11:00
Andy Piper d90224280e IO_Firmware: iofirmware for bdshot on f103. 2023-12-18 19:02:52 +11:00
Andrew Tridgell 59ec0a6b56 Tools: added test for InertialLabs EAHRS 2023-12-17 09:47:30 +11:00
Abu Mohammad 56cc78b853 Tools: added name to GIT_Success.txt 2023-12-14 19:28:05 +09:00
Peter Barker fc9e6de99a Tools: size_compare_branches.py: add canzero to linux boards 2023-12-13 14:30:46 +11:00
Peter Barker 575314d31e Tools: mac: force install to avoid npm installation error
2023-12-11T23:04:39.8671350Z already exists. You may want to remove it:
2023-12-11T23:04:39.8679620Z   rm '/usr/local/lib/node_modules/npm/node_modules/@npmcli/agent/lib/agents.js'
2023-12-11T23:04:39.8682240Z
2023-12-11T23:04:39.8691710Z To force the link and overwrite all conflicting files:
2023-12-11T23:04:39.8700070Z   brew link --overwrite node@18
2023-12-11T23:04:39.8726220Z
2023-12-11T23:04:39.8736300Z To list all files that would be deleted:
2023-12-11T23:04:39.8744090Z   brew link --overwrite --dry-run node@18

... also remove hack to force update to succeed
2023-12-12 15:02:58 +11:00
Andy Piper c93fd0b534 Tools: new standard tunes for Holybro QAV250 and X500v2 2023-12-12 11:33:51 +11:00
tomas.vrsansky 3dd27b7ac5 Tools: add hwdef files for Airvolute DCS2 onboard FMU
added ethernet config to hwdef
updated readme.md
hwdef: MAC parameters redefined according to ChibiOS
hwdef: add default params for Airvolute DCS2 on board FMU
update according to new changes in ChibiOS MAC driver
added defines to support ethernet communication
bootloaders: Airvolute-DCS2
2023-12-12 11:09:09 +11:00
Andy Piper 4a48dc2dde IO_Firmware: fix adc reading 2023-12-11 20:46:28 +11:00
Andrew Tridgell 75fca4c171 Tools: fixed AerobaticsScripting test
we no longer allow open() on directories so that we match ChibiOS
FATFS
2023-12-11 18:00:38 +11:00
Andrew Tridgell 8f2911d0e2 waf: fix dependency on lwip code 2023-12-11 18:00:38 +11:00
bugobliterator 273e0795d0 Tools: ignore the error from brew update 2023-12-10 18:52:11 +11:00
Tiziano Fiorenzani 34ed4d1202 Tools: ros2 sitl package added ardupilot_msgs dependency 2023-12-08 03:08:50 +00:00
Randy Mackay fdb1c26ae8 Tools: copter do-change-speed autotest checks takeoff 2023-12-06 08:44:52 +09:00
Ka Ru e384c78904 Tools: add can-zero board 2023-12-05 07:41:06 -06:00
Peter Barker 59badf6947 autotest: fix message_has_field_values for strings 2023-12-05 20:15:21 +11:00
Peter Barker 7bd2e728f3 autotest: tidy Rover Scripting test 2023-12-05 20:15:21 +11:00
Ryan Friedman bcd11701fa Tools: Add MicroStrain7 support
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-12-05 11:09:22 +11:00
Bob Long 49dea0bd2e autotest: add DCM climb rate test for quadplanes 2023-12-05 10:44:37 +11:00
Peter Barker 576dc9d05f Tools: clamp empy to version 3
API and syntax hanges make 4 problematic
2023-12-03 17:08:00 +11:00
Tom Pittenger 5bc3830451 autotest: don't set DHCP in SITL/CI because we can't 2023-12-02 08:17:52 +11:00
Iampete1 2c84799bb5 Tools: Scripts: Decode devid: add ICM45686 2023-11-30 14:26:26 -08:00
Clyde McQueen ce824b725d Sub: copy 4.1 parm defaults 2023-11-29 22:13:02 -03:00
Andrew Tridgell 11d0e36e36 Tools: added IMUOUT to build options 2023-11-30 07:05:02 +11:00
Andrew Tridgell e04d1bba9e Tools: added IMU decoder script 2023-11-30 07:05:02 +11:00
Andrew Tridgell 0a4eb251c6 AP_Periph: disable UART reboot check for non-debug builds
this was causing loss of bytes on GPS peripherals as the reboot check
swallowed data. The option is really only meant for debug builds to
make ./waf AP_Periph --upload work, so disable by default on non-debug
builds

we could just remove this option where it is in hwdef.dat files, but I
know quite a few peripherals are out-of-tree, so this catches the
error for those too

the symptoms were high GPS delta values
2023-11-29 12:53:01 +11:00
Tom Pittenger 7da434d1e0 AP_Periph: fix include order network build error 2023-11-29 12:29:19 +11:00
Tom Pittenger 2650137e8c Tools: fix AP_Periph param docs generator 2023-11-29 12:11:14 +11:00
Peter Barker 11a5b78a0c waf: correct sitl_periph_gps build 2023-11-29 07:36:47 +11:00
Ryan Friedman adff2ed5d7 Tools: Add g++ 11.4 to whitelist
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
2023-11-28 12:21:10 +11:00
Andrew Tridgell afe0b849b9 Tools: test all 4 network port types 2023-11-28 12:18:55 +11:00
Andrew Tridgell c2ea29a198 waf: added compat/posix lwip headers to path
this simplifies the networking code
2023-11-28 12:18:55 +11:00
Gone4Dirt 1355c60daf autotest: Test both telemetry protocols for IE24 fuel cell 2023-11-28 11:27:14 +11:00
daniel.li 9f3595d573 Tools: Add Aocoda-RC-H743Dual target 2023-11-28 10:29:23 +11:00
Andrew Tridgell fcb3d40ffd Tools: sort serial ports for uploader
this ensures that the first port on linux is used, the 2nd port may
not have mavlink enabled
2023-11-27 13:33:27 -08:00
Peter Barker 5f1f3e5519 waf: keep EKF2 enabled in SITL
just because we don't compile this in doesn't mean we shouldn't continue to test it
2023-11-27 09:05:08 +11:00
Peter Barker aa9bbd0fcb waf: invert ekf2-disable command-line option 2023-11-27 09:05:08 +11:00
Tom Pittenger 496125a8cb Tools: add AP_BATTERY_WATT_MAX_ENABLED to docs 2023-11-26 11:57:14 +11:00