Commit Graph

66705 Commits

Author SHA1 Message Date
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
d005e9cfbc AP_HAL_Linux: 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
4147e4fc7b AP_HAL_Linux: move definition of CONFIG_HAL_BOARD_SUBTYPE into hwdefs 2025-02-26 23:42:07 +11:00
Peter Barker
6a54d871f3 AP_HAL: 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
7c95668fd6 AP_HAL_Linux: extract toolchain from hwdef 2025-02-26 23:42:07 +11:00
Peter Barker
f451f83d68 AP_HAL_Linux: make linux hwdef write out env.py 2025-02-26 23:42:07 +11:00
Peter Barker
3ff4ed3b4f AP_HAL: make linux hwdef write out env.py 2025-02-26 23:42:07 +11:00
Peter Barker
b3c1abe935 AP_HAL_ChibiOS: make linux hwdef write out env.py 2025-02-26 23:42:07 +11:00
Peter Barker
7286813d1f Tools: Vagrant: modify test instructions to make copy of arudpilot
makes the compilations faster, and frees up the original directory for other things...
2025-02-26 20:26:55 +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
59c7ed0ad7 Vagrant: use alvistack 24.10
can't find anythingelse....
2025-02-26 20:26:55 +11:00
Peter Barker
b295a47b87 Vagrant: add support for oracular 2025-02-26 20:26:55 +11:00
Adam Borowski
3863535bdb AP_Proximity: LD19/LD06 data length sanity check fix
Signed-off-by: Adam Borowski <mr.adam.borowski@gmail.com>
2025-02-26 20:26:42 +11:00
Peter Barker
3f5cde4bb1 Tools: generate_manifest.py: make flake8 clean 2025-02-26 20:26:15 +11:00
Peter Barker
4008df1314 AP_HAL: Socket: check return value of getsockname
avoids static analysis failure upon this method failing
2025-02-26 18:54:24 +11:00
Peter Barker
353744e3f0 AP_GPS: UBLOX: fix memory leak when "F9" GNSS configuration is used
pointer persists in the object and is re-used, but never freed.

Not really a problem if you're only detecting once, could be a problem if you've got intermittent connectivity to your GPS...
2025-02-26 18:37:39 +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
4dd6b93011 AP_HAL_ChibiOS: use new AP_PERIPH_SERIAL_OPTIONS_ENABLED define 2025-02-26 11:31:04 +11:00
Shiv Tyagi
ce66335f10 Tools: use new AP_PERIPH_SERIAL_OPTIONS_ENABLED define 2025-02-26 11:31:04 +11:00
Peter Barker
4726484c6c SPRacingH7: pin SPRacingH7 to 128kB of program space 2025-02-26 10:06:39 +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
41b5f796b5 waf: remove Python print_function import 2025-02-26 10:06:11 +11:00
Peter Barker
07b0ac9ffe Tools: remove Python print_function import 2025-02-26 10:06:11 +11:00
Peter Barker
bbf7b4ceb6 AP_Math: remove Python print_function import 2025-02-26 10:06:11 +11:00
Peter Barker
67c7958f4c AP_HAL: remove Python print_function import 2025-02-26 10:06:11 +11:00
Peter Barker
aef8f9d4dd AP_HAL_Linux: remove vestiges of board sensor specifications
all moved to hwdef
2025-02-25 14:38:45 +11:00
Peter Barker
0d05814d30 AP_HAL_Linux: move BARO lines to hwdef 2025-02-25 14:38:45 +11:00
Peter Barker
1fa2cf38d5 AP_HAL_Linux: move parsing of BARO lines up to AP_HAL hwdef.py 2025-02-25 14:38:45 +11:00
Peter Barker
34735b30df AP_HAL: move parsing of BARO lines up to AP_HAL hwdef.py 2025-02-25 14:38:45 +11:00
Peter Barker
b9ad86943d AP_HAL_ChibiOS: move parsing of BARO lines up to AP_HAL hwdef.py 2025-02-25 14:38:45 +11:00
Peter Barker
0714b3abc2 AP_HAL_Linux: move COMPASS definitions to hwdef 2025-02-25 14:38:45 +11:00
Peter Barker
bdce6f2779 AP_HAL_Linux: move parsing of COMPASS hwdef lines up to hwdef.py 2025-02-25 14:38:45 +11:00
Peter Barker
5d7e5b1aff AP_HAL: move parsing of COMPASS hwdef lines up to hwdef.py 2025-02-25 14:38:45 +11:00
Peter Barker
0a485f9902 AP_HAL_ChibiOS: move parsing of COMPASS hwdef lines up to hwdef.py 2025-02-25 14:38:45 +11:00
Peter Barker
2998190c4b AP_HAL_Linux: hwdef: best-guess IMU fix on rst-zynq 2025-02-25 14:38:45 +11:00
Peter Barker
687e870edd AP_HAL_Linux: move IMU line parsing up into hwdef.py, use it for Linux HAL 2025-02-25 14:38:45 +11:00
Peter Barker
8fb665914e AP_HAL: move IMU line parsing up into hwdef.py, use it for Linux HAL 2025-02-25 14:38:45 +11:00
Peter Barker
f93e637c2c AP_HAL_ChibiOS: move IMU line parsing up into hwdef.py, use it for Linux HAL 2025-02-25 14:38:45 +11:00
Peter Barker
0f59e9b2bb AP_HAL_Linux:tidy bebop defines 2025-02-25 14:38:45 +11:00
Peter Barker
e2fdb81ff6 AP_NavEKF3: remove unused assignments of posCheckPassed
... and more-tightly scope variables to avoid similar problems in future

../../libraries/AP_NavEKF3/AP_NavEKF3_PosVelFusion.cpp:898:17: warning: Value stored to 'posCheckPassed' is never read [deadcode.DeadStores]
                posCheckPassed = true;
                ^                ~~~~
../../libraries/AP_NavEKF3/AP_NavEKF3_PosVelFusion.cpp:946:17: warning: Value stored to 'posCheckPassed' is never read [deadcode.DeadStores]
                posCheckPassed = true;
                ^                ~~~~
2025-02-25 14:38:21 +11:00
Peter Barker
cfa145940a AP_NavEKF3: remove duplicate assignment of posCheckPassed
this assignment is done 4 lines down

../../libraries/AP_NavEKF3/AP_NavEKF3_PosVelFusion.cpp:823:17: warning: Value stored to 'posCheckPassed' is never read [deadcode.DeadStores]
                posCheckPassed = true;
                ^                ~~~~
2025-02-25 14:38:21 +11:00
Henry Wurzburg
6a77d56053 RC_Channel: correct AUX func 182 comment 2025-02-25 09:38:59 +09:00
Henry Wurzburg
a7341aa317 Tools:tweak autotrim test 2025-02-25 09:38:59 +09:00
Henry Wurzburg
44e7d48058 Copter:fixes bugs in autotrim and add Loiter and PosHold as valid autotrim modes 2025-02-25 09:38:59 +09:00
Peter Barker
ac55b111dd hwdef: remove un-needed AP_NOTIFY_TONEALARM_ENABLED
this is infered by having ALARM set
2025-02-25 11:21:48 +11:00