Commit Graph

9502 Commits

Author SHA1 Message Date
Thomas Watson
149641cabc AP_HAL_ESP32: init esp32s3m5stampfly
This is a ready-to-flash board definition for the ready-to-fly 55mm
M5Stack M5Stamp Fly quadcopter. Hopefully it can serve as an inexpensive
reference design for the often-beleaguered ESP32 support. It flies great
using the stock parameters and a joystick over MAVLink over WiFi.

The CPU and flash are still slow and I had to limit it to <1/3 of a
stock copter's loop rate but for amateur pilots that is not noticeable.
Current sensor suite is suitable for non-position-controlled modes (e.g.
Stabilize and AltHold). Battery monitoring is also set up and works.
Flight time is 4-5 minutes.

Work remains to get the compass driver working so that automated flight
is possible with an inexpensive GPS. Then hopefully some day the LEDs,
buzzer, optical flow sensor, and chip LiDARs can be made to work though
those may end up not possible within ArduPilot's framework and given the
hardware constraints.
2025-03-11 11:47:43 +11:00
D.J. Morvay
f1da4c57f0 Tools: add Lumenier LUX F765 - NDAA bootloader 2025-03-11 11:22:20 +11:00
Shiv Tyagi
2cd8b3162b Tools: add AP_FOLLOW to build_options.py 2025-03-11 09:03:32 +09:00
Peter Barker
65e09c73be waf: build the AP_Follow library 2025-03-11 09:03:32 +09:00
Peter Barker
ea10b48b81 Vagrant: remove bionic clause from initvagrant.sh
removing the machine definition, so this can go
2025-03-10 10:55:30 -05:00
Shiv Tyagi
e352025315 Tools: use new AP_PERIPH_BUZZER_XX_ENABLED defines 2025-03-10 22:15:59 +11:00
Peter Barker
954feda85d Tools: size_compare_branches.py: use a Task object for storing tasks 2025-03-10 19:40:36 +11:00
Peter Barker
3530f288e8 Tools: size_compare_branches.py: do not try to compile bl for CubeRedSecondary-IO
.... we don't compile bootloader for the IOMCU at this point
2025-03-10 19:40:21 +11:00
rtos-kawamura
7dcac52204 Tools: remove duplication in ardupilotwaf.py 2025-03-10 19:39:43 +11:00
Randy Mackay
1284f460cd Tools: add Hexsoon 24G radar build option 2025-03-10 15:02:57 +09:00
Thomas Watson
e9e4a207af Tools: drop Ubuntu Bionic and Debian Buster
They have been past end of support for nearly one year and nearly two
years respectively. Allows us to require at minimum Python 3.8.
2025-03-10 12:47:43 +11:00
Shiv Tyagi
f30d262aaf Tools: use new AP_PERIPH_XX_LED_WITHOUT_NOTIFY_ENABLED defines 2025-03-10 08:45:22 +11:00
Peter Barker
a50efd984e AP_Periph: correct function name for detected protocol name
../../Tools/AP_Periph/rc_in.cpp: In member function 'void AP_Periph_FW::rcin_update()':
../../Tools/AP_Periph/rc_in.cpp:117:31: error: 'class AP_RCProtocol' has no member named 'protocol_name'; did you mean 'protocol_enabled'?
  117 |     auto new_rc_protocol = rc.protocol_name();
      |                               ^~~~~~~~~~~~~
      |                               protocol_enabled
compilation terminated due to -Wfatal-errors.
2025-03-09 15:02:40 -04:00
Peter Barker
f707488707 Tools: correct extraction of Hexsoon and MR72 Radars 2025-03-09 11:16:38 +11:00
Thomas Watson
1f4a2cb4c5 AP_Bootloader: fix BOOTLOADER_FORWARD_OTG2_SERIAL comments 2025-03-07 08:56:23 -05:00
Peter Barker
e86cd5e5d5 autotest: add test for payload place when gripper was open 2025-03-07 07:58:10 +11:00
Your Name
e86d419fc1 hwdef: Make ZeroOneX6 supports Bi-directional DShot 2025-03-06 15:48:05 +11:00
Peter Barker
8c1da9a087 autotest: add copter autotest for mission clearing after reboot 2025-03-05 21:42:17 +11:00
Peter Barker
b9699b46a7 autotest: add simple test for SHT3X temperature sensor 2025-03-05 18:17:28 +11:00
Peter Barker
a87e6eb707 Tools: add support for SHT3x-DIS temperature sensor 2025-03-05 18:17:28 +11:00
Randy Mackay
13cbd76651 Tools: update AHRS AutoTrim build option description 2025-03-05 11:22:40 +09:00
Shiv Tyagi
a313c2a063 Tools: use new AP_PERIPH_ESC_APD_ENABLED define 2025-03-05 09:45:07 +11:00
Shiv Tyagi
c814c05532 Tools: update error message to use new AP_PERIPH_RELAY_ENABLED define 2025-03-05 09:18:49 +11:00
Shiv Tyagi
adcee3cdde Tools: use new AP_PERIPH_DEVICE_TEMPERATURE_ENABLED define 2025-03-04 10:55:34 +11:00
rubenp02
f7ec2e7420 autotest: Change glide slope to altitude slope
Smooth altitude changes were always referred to as "glide slopes"
despite this not being the appropriate aviation term in the case of a
climb. A better option is "altitude slope", which encompasses both
smooth climbs and descents.

Changed all references to glide slopes, except those that specifically
refer to a single kind (like those used for landings), to the more
general term. This also includes changing the GLIDE_SLOPE_MIN and
GLIDE_SLOPE_THR parameters to ALT_SLOPE_MIN and ALT_SLOPE_THRESH,
respectively.
2025-03-04 10:55:06 +11:00
rubenp02
3f11aa7bf7 Tools: Change glide slope to altitude slope
Smooth altitude changes were always referred to as "glide slopes"
despite this not being the appropriate aviation term in the case of a
climb. A better option is "altitude slope", which encompasses both
smooth climbs and descents.

Changed all references to glide slopes, except those that specifically
refer to a single kind (like those used for landings), to the more
general term. This also includes changing the GLIDE_SLOPE_MIN and
GLIDE_SLOPE_THR parameters to ALT_SLOPE_MIN and ALT_SLOPE_THRESH,
respectively.
2025-03-04 10:55:06 +11:00
Peter Barker
abec8a838e board_types.txt: add missing board IDs 2025-03-04 10:49:43 +11:00
Andrew Tridgell
43bf73000f Replay: fixed --force-ekf2 in Replay
when the original log used a firmware without EKF2 compiled in then
the format messages are missing
2025-03-01 20:56:53 +11:00
Shiv Tyagi
e6e3b58f18 Tools: use new AP_PERIPH_PWM_HARDPOINT_ENABLED define 2025-02-28 20:45:47 +11:00
tompsontan
1f208d5664 AP_Bootloader: reserve board id for X-MAV-AP-F405Mini 2025-02-28 20:42:52 +11:00
Andy Piper
7b29cade3f scripts: decode SPA06 2025-02-27 22:32:10 +00:00
Andy Piper
2f7bf34f57 bootloaders: SpeedyBeeF405AIO 2025-02-27 22:44:52 +11:00
bugobliterator
f104bd251d IO_Firmware: add iofirmware_cubered 2025-02-27 20:11:40 +11:00
bugobliterator
369f59050a scripts: add cuberedsecondary-io build to IOFirmware build script 2025-02-27 20:11:40 +11:00
Shiv Tyagi
e1bcd39040 Tools: use new AP_PERIPH_PROXIMITY_ENABLED define 2025-02-27 08:00:43 +11:00
Peter Barker
e4b9f5b474 Tools: size_compare_branches.py: blacklist bootloader build for base linux target 2025-02-26 23:42:07 +11:00
Peter Barker
87bc4f2e53 waf: dynamically create board classes for Linux boards
... rather than defining the classes here in boards.py
2025-02-26 23:42:07 +11:00
Peter Barker
e834cbc372 waf: factor out a self.add_dynamic_boards_from_hwdef_dir 2025-02-26 23:42:07 +11:00
Peter Barker
7c78f05388 waf: remove unused get_chibios_board_cls method 2025-02-26 23:42:07 +11:00
Peter Barker
e77aa96ef2 Tools: allow linux hwdefs to specify WITH_CAN in hwdef env 2025-02-26 23:42:07 +11:00
Peter Barker
e733cf2cc5 waf: move definition of CONFIG_HAL_BOARD_SUBTYPE into hwdefs 2025-02-26 23:42:07 +11:00
Peter Barker
a518c3aa1c Tools: board_list.py: magically find Linux boards via hwdefs 2025-02-26 23:42:07 +11:00
Peter Barker
2adb40c922 waf: extract toolchain from hwdef 2025-02-26 23:42:07 +11:00
Peter Barker
5d053d6722 Tools: sim_vehicle.py: increase number of mavproxy connection retries
some platforms are slow enough that the ArduPilot process takes too long to start for the default retries to work.  And Valgrind makes it worse
2025-02-26 20:26:55 +11:00
Peter Barker
4e872be75a Vagrant: use login shell on Oracular and use TMPDIR
can't compile wxpython without a different TMPDIR
2025-02-26 20:26:55 +11:00
Peter Barker
3f5cde4bb1 Tools: generate_manifest.py: make flake8 clean 2025-02-26 20:26:15 +11:00
Peter Barker
12c4617641 Tools: size_compare_branches.py: improve process failure output file content 2025-02-26 16:32:06 +11:00
Shiv Tyagi
ce66335f10 Tools: use new AP_PERIPH_SERIAL_OPTIONS_ENABLED define 2025-02-26 11:31:04 +11:00
Peter Barker
6338d10b5f global: create and use HAL_PROGRAM_SIZE_LIMIT_KB
We will reserve BOARD_FLASH_SIZE for the internal flash on stm32 flash processors, use HAL_PROGRAM_SIZE_LIMIT_KB in the general code base.

Notable change here is that boards with external flash will start to get features only available with more than 2MB of program storage
2025-02-26 10:06:39 +11:00
Peter Barker
07b0ac9ffe Tools: remove Python print_function import 2025-02-26 10:06:11 +11:00