Commit Graph

491 Commits

Author SHA1 Message Date
Andrew Tridgell c2a00df5b2 ChibiOS: lower MAX_MALLOC to 2048
this fixes the underlying reason why the mkdir problem happened on
some boards and not others. The FAT cluster clear code was trying to
write in 32k chunks, and failed to allocate a DMA region that large

2048 should give good performance while saving a lot of memory
2021-11-17 18:51:09 +11:00
Andrew Tridgell bba0384efb ChibiOS: fixed f_mkdir DMA allocation
this ensures we have DMA capable memory for f_mkdir

fixes #19110
2021-11-16 12:20:18 +11:00
Andrew Tridgell 91fe254dad mavlink: added NAV_SCRIPT_TIME 2021-11-08 21:08:52 +11:00
bugobliterator 323c0b2ab4 module: update ChibiOS 2021-11-05 07:37:56 +11:00
Buzz 854266dc78 ESP32: drop submodule and add script to get it as a clone and/or submodule
works with either a submodule setup or a 'clone' for either type of dev
2021-11-03 06:06:15 +11:00
Iampete1 70605fd3e0 MAVLInk: step forward head to add to scripting enum 2021-11-02 17:33:34 +11:00
Buzz 351a77f678 modules: new HAL layer for esp32
see libraries/AP_HAL_ESP32/README.md for more.

Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
2021-11-01 17:40:31 +11:00
bugobliterator db2cc55507 modules: add CrashDebug 2021-10-30 19:24:57 +11:00
Andrew Tridgell 3eae5b54d2 DroneCAN: update DSDL
added hygrometer for CUAV
2021-10-28 15:53:24 +11:00
Andrew Tridgell 0ad9e1e3d4 uavcan: submodule update 2021-10-23 21:13:07 +11:00
Andrew Tridgell ea64d2e560 DroneCAN: submodule update 2021-10-23 21:13:07 +11:00
Andrew Tridgell a50120cec3 CAN: switched to DroneCAN DSDL and libuavcan 2021-10-23 21:13:07 +11:00
Andrew Tridgell 11471bdebc ChibiOS: added STM32L431 support 2021-10-17 20:30:20 +11:00
bugobliterator 52717a43b2 modules: add canard_dsdlc 2021-10-14 20:13:06 +11:00
bugobliterator d1d3dee7f1 modules: add pyuavcan 2021-10-14 20:13:06 +11:00
Peter Barker 98c105c4e2 mavlink: update for new version of pymavlink 2021-10-11 13:56:08 +11:00
Andrew Tridgell fd634baef5 ChibiOS: submodule update 2021-10-06 06:44:36 +11:00
Andrew Tridgell 9cbb7e146d ChibiOS: submodule update
fixed assert for ADC3 VRef init
2021-09-29 18:11:04 +10:00
Tom Pittenger c425a75cea mavlink: update module to utilize uAvionix.xml new msgs 2021-09-22 12:23:10 +10:00
Pierre Kancir 8a6661eeeb Modules: update gsoap 2021-08-26 14:24:35 +10:00
Andrew Tridgell a95906ea93 mavlink: added MCU status 2021-08-25 07:11:31 +10:00
Andy Piper f16e1cac0d ChibiOS: fix error on building with --enable-stats 2021-08-19 17:09:59 +10:00
bugobliterator d67bb2259e modules: update libcanard 2021-08-19 14:20:58 +10:00
Andrew Tridgell b15ea7fe33 mavlink: added PID_TUNING extensions 2021-08-19 12:08:54 +10:00
Andrew Tridgell 4f7a24d4a0 ChibiOS: fixed G491 registry 2021-07-30 10:20:52 +10:00
Andrew Tridgell 26689aabba ChibiOS: update submodule to match HEAD revision 2021-07-27 19:50:21 +10:00
Andrew Tridgell bd604aba6c ChibiOS: update with bug fixes for 20.3
this includes a fix for a race condition found with the 10.x compiler
2021-07-27 08:12:32 +10:00
Siddharth Purohit 3c9bc52b64 modules: update uavcan 2021-07-15 07:50:12 +10:00
Siddharth Purohit 51b86b5acc modules: update gsoap 2021-07-07 18:57:25 +10:00
Siddharth Purohit 7c9a17b9fb modules: add gsoap 2021-07-07 18:57:25 +10:00
Siddharth Purohit 4cb48da984 modules: update ChibiOS 2021-06-30 19:33:17 +10:00
Randy Mackay cb0cb38949 mavlink: move submodule reference forward to latest 2021-06-30 12:05:09 +09:00
Peter Barker 841aa213cf mavlink: reference MAV_CMD_RUN_PREARM_CHECKS 2021-06-21 09:41:17 +10:00
Peter Barker 12f569dc4f mavlink: move forward to ardupilot/mavlink master 2021-06-17 21:21:40 +10:00
Peter Barker e0284bb66a mavlink: move submodule reference forward to master 2021-06-14 13:46:11 +10:00
Peter Barker e26fc95352 mavlink: move forward to ardupilot/master
This includes an update to the pymavlink submodule
2021-05-05 17:42:58 +10:00
Andrew Tridgell bde21ad83c ChibiOS: fixed the clock selection on H7 SDMMC
cap clock at 25MHz

this also gets rid of the annoying warning when building on H7
2021-05-02 13:04:42 +10:00
Andy Piper 6a3dc8fa89 ChibiOS: update hal_sdc to support SDHC on H7 more reliably 2021-04-21 20:53:12 +10:00
Andrew Tridgell dda30c34cf waf: fixed cygwin long line issue 2021-04-20 18:43:20 +10:00
Peter Barker d9195cbc67 mavlink: reference commit for GPS2_RAW extensions 2021-04-20 11:46:35 +10:00
Peter Barker cc46483e6c mavlink: move reference forward to master 2021-03-30 10:54:30 +11:00
Andrew Tridgell 03205595fb ChibiOS: update to 20.3.x 2021-03-23 12:01:20 +11:00
Dr.-Ing. Amilcar do Carmo Lucas af759bf57e Mavlink: submodule update to 2021-02-23 2021-02-24 11:32:51 +11:00
Peter Barker 94c4b2d769 mavlink: update to ardupilot master commit 2021-02-16 22:36:43 +11:00
Andy Piper baf8c9d70c ChibiOS: update to latest ChibiOS to include osalDbgAssert redefine 2021-02-03 23:35:44 +11:00
Andrew Tridgell c580151d75 ChibiOS: fixed SRAM3 size for cache disable 2021-02-03 23:35:44 +11:00
Peter Barker a3138e48f9 mavlink: reference change for RC channel overrides 2020-12-29 15:03:34 +11:00
Peter Barker 792eeca863 modules: mavlink: support MAV_MOUNT_MODE_HOME_LOCATION to point at HOME 2020-12-25 12:17:27 +11:00
Dr.-Ing. Amilcar do Carmo Lucas 95bab71431 Mavlink: common.xml: Update to latest mavlink
common.xml: Add signal_quality field to DISTANCE_SENSOR message
2020-12-19 19:54:03 +11:00
Dr.-Ing. Amilcar do Carmo Lucas ccd4c0b93f Mavlink: update to 2020-12-09 2020-12-11 06:37:32 +11:00
Peter Barker b4e8985109 mavlink: reference new master commit 2020-12-06 14:41:50 +11:00
Rishabh 888967fb14 mavlink: Add OBSTACLE_AVOIDANCE_3D mavlink message 2020-11-18 20:23:45 +11:00
Samuel Tabor eb8c4561f5 mavlink: update submodule. 2020-09-25 16:21:15 +10:00
Andrew Tridgell 7c64f1f685 mavlink: use instance markup 2020-09-22 10:55:42 +10:00
Andy Piper 0fa62acd7f mavlink: update to OSD messages 2020-09-09 20:36:42 +10:00
Pierre Kancir 37475e2b90 module: update gbenchmark to lastest release to prevent some warning
In file included from /__w/ardupilot/ardupilot/modules/gbenchmark/src/sysinfo.cc:25:
/usr/include/x86_64-linux-gnu/sys/sysctl.h:21:2: error: #warning "The <sys/sysctl.h> header is deprecated and will be removed." [-Werror=cpp]
   21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed."
      |  ^~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/benchmark.dir/build.make:193: src/CMakeFiles/benchmark.dir/sysinfo.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:123: src/CMakeFiles/benchmark.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
2020-09-06 19:13:04 +10:00
bugobliterator aafc011692 modules: update mavlink 2020-08-06 12:41:35 +10:00
Dr.-Ing. Amilcar do Carmo Lucas 5325f789e1 Mavlink: Update to HEAD from master branch and add upstream updates from up-to 20200401 2020-08-04 18:29:59 +09:00
Dr.-Ing. Amilcar do Carmo Lucas 939d96f195 Mavlink: Update to HEAD from master branch and add upstream updates from 20200129 2020-07-29 14:34:22 +10:00
Peter Barker 7b9f75ddbf mavlink: reference new GENERATOR_STATUS message 2020-07-03 08:21:42 +09:00
Buzz cca1a5d9d2 mavlink: update for new guided commands 2020-05-20 15:03:21 +10:00
Andrew Tridgell 27686aed47 mavlink: update module
this updates pymavlink to avoid PACKED structures when we don't need
them. That removes a bunch of compiler warnings, and also allows us to
find real cases where unaligned structure access is not valid
2020-05-10 15:11:22 +10:00
Andrew Tridgell ca16701823 ChibiOS: added hook for stack overflow 2020-04-29 07:36:55 +10:00
Andrew Tridgell b354f68cee ChibiOS: enable TIM16 and TIM17 on H743 2020-04-14 10:02:51 +10:00
Gone4Dirt b0b7acde09 Mavlink: add MAV_CMD_DO_SET_RESUME_REPEAT_DIST 2020-03-11 09:48:40 +11:00
Michael du Breuil e24f2f9175 modules: Update MAVLink version 2020-02-18 17:23:22 -07:00
Peter Hall ab07bae8a6 Mavlink: add initalized bit to EKF_STATUS_FLAGS 2020-02-19 06:45:07 +11:00
Andrew Tridgell 3757adfdc6 ChibiOS: relaxed restrictions on PWM clocks 2020-02-12 18:12:39 +11:00
Andrew Tridgell 8854f382bd waf: fixed cygwin build issue 2020-01-30 07:43:53 +11:00
Andrew Tridgell 1baf8d736b mavlink: update to mavlink master 2020-01-29 08:16:42 +11:00
Peter Barker 1d8c0c4960 mavlink: reference new statustext extensions 2020-01-28 19:56:38 +11:00
Peter Barker 0b2df61114 gtest: update to google master branch 2020-01-25 17:23:38 +11:00
Andrew Tridgell 6e01c1c19b ChibiOS: check bouncebuffer alloc in SDIO calls 2020-01-18 07:13:11 +11:00
Andrew Tridgell e18a14c123 ChibiOS: fixed I2C4 on STM32H7
this fixes 4th I2C port on Durandal
2020-01-08 05:56:23 +11:00
Andrew Tridgell e4280ac3a5 mavlink: added yaw to GPS messages 2020-01-07 12:37:35 +11:00
Andrew Tridgell b3804e1ec0 ChibiOS: added TIM8 support 2020-01-02 18:15:18 +11:00
Andrew Tridgell 4a54aa92c6 ChibiOS: enable timers 12, 13 and 14 for system timer 2019-12-23 21:46:57 +11:00
Andrew Tridgell dfaf134338 mavlink: merge latest changes from Amilcar 2019-12-23 10:31:15 +11:00
Andrew Tridgell 6902cd2961 mavlink: added MAV_CMD_FIXED_MAG_CAL_YAW 2019-12-18 17:20:37 +11:00
Andrew Tridgell 7f064f64c1 ChibiOS: handle SB without BUSY in I2Cv1 driver 2019-12-16 18:50:23 +11:00
Andrew Tridgell a56af8d8d0 mavlink: submodule update
added calibration scale factor
2019-12-03 20:48:23 +11:00
Andrew Tridgell 19cea4d7b7 mavlink: update submodule 2019-12-01 12:48:23 +11:00
Andrew Tridgell 9b89cc2dd1 ChibiOS: fixed I2C transaction bugs
This adds protections for unexpected interrupts on all I2C variants
2019-11-27 14:12:04 +11:00
Andrew Tridgell c2f049918b mavlink: added EFI_STATUS message 2019-11-17 20:10:54 +11:00
Peter Barker 5d4ce9894f mavlink: reference commit containing mount sysid target 2019-11-12 07:52:22 +08:00
Andrew Tridgell e92ef64fe5 mavlink: added takeoff mode for plane 2019-10-17 12:19:43 +11:00
Peter Barker 2cc50afe7e waf: reference correct commit for debug fixes 2019-10-15 13:18:03 +11:00
Peter Barker c760c9d484 waf: reference commit fixing debug
Will help to fix https://discuss.ardupilot.org/t/add-group-name-s-already-present/44047
2019-10-15 10:45:13 +11:00
Do Carmo Lucas fbeb5a8082 mavlink: submodule update
updates from amilcar
2019-10-10 13:23:03 +11:00
Peter Barker 0c4099bc42 gtest: reference commit adding override keywords / use updated gtest 2019-09-24 14:30:13 +10:00
bugobliterator e9960067c6 modules: uavcan: replace unsupported %llu format string 2019-09-09 13:30:43 +10:00
Andrew Tridgell 0e993dfb1a git: added libcanard submodule 2019-08-27 10:29:56 +10:00
Andrew Tridgell 933fa3d553 ChibiOS: fixed ack of BTF on SMBus 2019-08-26 09:13:39 +10:00
Andrew Tridgell 089e1c9082 ChibiOS: added STM32_I2C_ISR_LIMIT 2019-08-25 17:12:16 +10:00
Peter Barker b070945319 uavcan: reference commit adding overrides to many methods 2019-08-14 16:33:29 +10:00
Andrew Tridgell bd11c26495 mavlink: added yaw to GPS_INPUT msg 2019-08-12 10:25:40 +10:00
Andrew Tridgell f840e6cd77 ChibiOS: added automatic reset of SPI peripherals on STM32
An electrical glitch (such as shorting the SCK and MOSI pins) can
cause the SPI peripheral on a STM32F7xx to get into a state where it
receives corrupted bytes on the bus. This detects that state by
looking for unexpected bytes on the FIFO and resetting the peripheral
using the RCC
2019-07-29 10:09:08 +10:00
Andrew Tridgell 7b31ae10c0 ChibiOS: fixed typo in I2C change 2019-07-19 20:47:12 +10:00
Andrew Tridgell 75c5d6e1bf ChibiOS: fixed unexpected i2c interrupt in STOP state 2019-07-19 17:04:52 +10:00
Andrew Tridgell 7e08d1e921 ChibiOS: added TIM11 support
patch from Lucas
2019-07-14 09:10:56 +10:00