Peter Barker
b3c1abe935
AP_HAL_ChibiOS: make linux hwdef write out env.py
2025-02-26 23:42:07 +11:00
Shiv Tyagi
4dd6b93011
AP_HAL_ChibiOS: use new AP_PERIPH_SERIAL_OPTIONS_ENABLED define
2025-02-26 11:31:04 +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
0a485f9902
AP_HAL_ChibiOS: move parsing of COMPASS hwdef lines up to hwdef.py
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
Shiv Tyagi
5f1d3dac68
AP_HAL_ChibiOS: use new AP_PERIPH_MSP_ENABLED define
2025-02-23 10:28:54 +11:00
Shiv Tyagi
e1e074bc09
AP_HAL_ChibiOS: use new AP_PERIPH_RELAY_ENABLED define
2025-02-23 08:58:36 +11:00
Shiv Tyagi
11e42a94d0
AP_HAL_ChibiOS: use new AP_PERIPH_RC_OUT_ENABLED define
2025-02-22 18:26:07 +11:00
Shiv Tyagi
0197220bc5
AP_HAL_ChibiOS: use new AP_PERIPH_HOBBYWING_ESC define
2025-02-20 21:56:14 +11:00
Shiv Tyagi
85b3d6a625
AP_HAL_ChibiOS: use new AP_PERIPH_NOTIFY_ENABLED define
2025-02-20 13:32:20 +11:00
Shiv Tyagi
49755d6212
AP_HAL_ChibiOS: use new AP_PERIPH_EFI_ENABLED define
2025-02-20 13:05:19 +11:00
Shiv Tyagi
ab725360c1
AP_HAL_ChibiOS: use new AP_PERIPH_ADSB_ENABLED define
2025-02-20 12:06:00 +11:00
Peter Barker
51729e62a5
AP_HAL_ChibiOS: factor functionality in hwdef.py classes
2025-02-19 15:42:52 +11:00
Peter Barker
d0510b0a26
AP_HAL_ChibiOS: chibios_hwdef.py: inherit from hwdef.py
2025-02-19 15:42:52 +11:00
Peter Barker
d31889854c
chibios_hwdef.py: prune out unused hal.i2c_mgr parsing code
...
we have GET_I2C_DEVICE now-adays
2025-02-19 15:42:52 +11:00
Shiv Tyagi
3d96c7e419
AP_HAL_ChibiOS: create and use AP_PERIPH_NETWORKING_ENABLED
2025-02-17 09:55:51 +11:00
Shiv Tyagi
15376a4908
AP_HAL_ChibiOS: replace AP_PERIPH_AIRSPEED_ENABLED with HAL_PERIPH_ENABLE_AIRSPEED
2025-02-16 10:11:10 +11:00
Shiv Tyagi
c7a4489b58
AP_HAL_ChibiOS: create and use AP_PERIPH_RPM_ENABLED and AP_PERIPH_RPM_STREAM_ENABLED
2025-02-13 20:29:06 +11:00
Shiv Tyagi
3ab1aa1c56
AP_HAL_ChibiOS: replace HAL_PERIPH_ENABLE_RCIN with AP_PERIPH_RCIN_ENABLED
2025-02-11 19:31:19 +11:00
Shiv Tyagi
3a13e0d292
AP_HAL_ChibiOS: create and use AP_PERIPH_RTC_ENABLED
2025-02-10 09:37:48 +11:00
Shiv Tyagi
09c8ad81bb
AP_HAL_ChibiOS: set HAL_VISUALODOM_ENABLED to 0 directly
2025-02-09 07:40:47 +11:00
Shiv Tyagi
f62e65f26e
AP_HAL_ChibiOS: use AP_PERIPH_IMU_ENABLED in place of HAL_PERIPH_ENABLE_IMU
2025-02-08 08:22:10 +11:00
bugobliterator
f8726ee646
AP_HAL_ChibiOS: disable mcast bridging in bootloader
2025-02-05 10:23:46 +11:00
Shiv Tyagi
5790e0e38e
AP_HAL_ChibiOS: use AP_PERIPH_RANGEFINDER_ENABLED in place of HAL_PERIPH_ENABLE_RANGEFINDER
2025-02-03 10:06:04 +11:00
Shiv Tyagi
c4654c9828
AP_HAL_ChibiOS: use AP_PERIPH_BARO_ENABLED in place of HAL_PERIPH_ENABLE_BRO
2025-01-31 08:25:28 +11:00
Shiv Tyagi
d96439dbc5
AP_HAL_ChibiOS: use AP_PERIPH_MAG_ENABLED in place of HAL_PERIPH_ENABLE_MAG
2025-01-30 08:49:03 +11:00
Peter Barker
13980eb518
AP_HAL_ChibiOS: chibios_hwdef.py tidy embedding of files into ROMFS
2025-01-29 19:06:11 +11:00
Shiv Tyagi
99a501852c
AP_HAL_ChibiOS: create and use AP_PERIPH_AHRS_ENABLED
2025-01-29 10:37:58 +11:00
Peter Barker
e8634a6549
AP_HAL_ChibiOS: chibios_hwdef.py: flake8 correctness fixes
2025-01-29 06:49:31 +11:00
Peter Barker
a8717fe6a2
AP_HAL_ChibiOS: create and use AP_PERIPH_BATTERY_ENABLED
...
... and AP_PERIPH_BATTERY_BALANCE_ENABLED while we're here
2025-01-28 09:11:21 +11:00
Peter Barker
4e12b4ee0e
fixup! AP_HAL_ChibiOS: create AP_PERIPH_GPS_ENABLED
2025-01-23 17:47:58 +11:00
Peter Barker
3a9eb7634c
AP_HAL_ChibiOS: create AP_PERIPH_GPS_ENABLED
2025-01-23 17:47:58 +11:00
Andy Piper
f6f546c538
AP_HAL_ChibiOS: introduce new DATAFLASH directive and use it
...
add HAL_OS_POSIX_IO to defaults
ensure explicitly configured DATAFLASH is prioritized
correct inclusion of fat malloc
only create storage backups on fatfs
2025-01-21 11:10:31 +11:00
Andy Piper
1abe46e923
AP_HAL_ChibiOS: terrain turned on on 2Mb boards with littlefs
2025-01-21 11:10:31 +11:00
Andy Piper
25e8277fda
AP_HAL_ChibiOS: add support for littlefs
2025-01-21 11:10:31 +11:00
Peter Barker
f29e2cb19c
AP_HAL_ChibiOS: replace HAL_NO_UARTDRIVER with AP_HAL_UARTDRIVER_ENABLED
2025-01-14 11:26:37 +11:00
Peter Barker
1f8067d8a3
hwdef: default HAL_GCS_ENABLED to false on iomcu firmwares
2025-01-07 13:11:15 +11:00
Peter Barker
6e49333a40
AP_HAL_ChibiOS: do not build QuickTune on peripherals
...
kills heavy peripherals
../../libraries/AP_Quicktune/AP_Quicktune.cpp: In member function 'void AP_Quicktune::update(bool)':
../../libraries/AP_Quicktune/AP_Quicktune.cpp:177:32: error: 'vehicle' is not a member of 'AP'
177 | const auto &vehicle = *AP::vehicle();
| ^~~~~~~
compilation terminated due to -Wfatal-errors.
[ 688/1225] Compiling libraries/AP_TemperatureSensor/AP_TemperatureSensor_TSYS03.cpp
Waf: Leaving directory `/home/pbarker/rc/ardupilot/build/CubeOrange-periph-heavy'
2024-12-17 20:16:30 +11:00
James O'Shannessy
4bc6115f1a
hwdef: Update scripts to parse CSV files properly
...
fails because of iterator not returning strings and 'dict' object has no attribute 'iterkeys'. Fixed so both scripts run.
2024-12-16 19:23:58 +11:00
James O'Shannessy
61ca071ba6
AP_HAL_ChibiOS: Add STM32F413xx module
...
Generated the STM32F413xx script from reference manuals and datasheets
Added changes for supporting STM32F413 to mcuconf
2024-12-16 19:23:58 +11:00
bugobliterator
9dca511e7e
AP_HAL_ChibiOS: do not run through SPI_RX and TX as well
...
we use MISO and MOSI name for SPI
2024-10-25 18:16:00 +11:00
bugobliterator
9381404a9f
AP_InertialSensor: fix continuing after ins init fail in AP_Periph
2024-10-23 06:46:22 +09:00
bugobliterator
830de73e58
AP_HAL_ChibiOS: add support for raw imu publishing in AP_Periph
2024-10-23 06:46:22 +09:00
Alexis Guijarro
43b8900bec
hwdef: Removed duplication for AP_STATS_ENABLED
2024-10-11 09:51:27 +11:00
Andrew Tridgell
f065548866
hwdef: enable CAN multicast support in PPP gateways
2024-09-17 10:02:29 +10:00
Peter Barker
40e367e14f
AP_HAL_ChibiOS: avoid use of global signed_fw in ChibiOSHWdef object
2024-09-04 09:52:55 +10:00
Peter Barker
53b726271f
AP_HAL_ChibiOS: avoid use of global args in ChibiOSHWdef object
2024-09-04 09:52:55 +10:00
Andy Piper
c8989837bc
AP_HAL_ChibiOS: KakuteF4-Wing
2024-08-07 17:34:34 +10:00
Peter Barker
ba2bec07fa
AP_HAL_ChibiOS: add env option to omit hwdef.dat from romfs
2024-08-05 10:20:14 +10:00
Andrew Tridgell
9543eecf23
HAL_ChibiOS: fixed AP_FILESYSTEM_ROMFS_ENABLED for peripherals with defaults.parm
...
now that defaults are in ROMFS we must enable
AP_FILESYSTEM_ROMFS_ENABLED
2024-08-04 17:36:31 +10:00