Jukka Laitinen
4658a627d7
Separate i2c and spi board bus configuration into and own library for protected build target
...
This info is needed on both kernel and user sides, and is just data.
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
56c6120e83
Use IOCTL for board_read_VBUS_state in NuttX protected builds
...
Direct gpio read is not possible from user side applications, so use boardctl
interface instead.
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
0cf3079401
px4_fmuv5: Implement BOARD_*_LOCKOUT_STATE in protected/kernel builds
...
In memory protected builds these perform nuttx boardctl ioctl calls to kerenel
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
356328056a
Add px4_fmu-v5_protected target
...
Add a target for nuttx protected build development
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Daniel Agar
4746a19c0c
boards: px4_fmu-v5_stackcheck disable UUV modules to save flash
3 years ago
bresch
58bd3d0c60
cmake: use elif -> elseif
3 years ago
alessandro
0617fd2b6f
fmu-v6x: increase UART5 buffer size
...
The same fix had to be done for the fmu-v5x:
PX4/PX4-Autopilot#14932
3 years ago
Beat Küng
601c588294
holybro/kakuteh7: disable bluetooth
3 years ago
Beat Küng
047352d049
holybro/kakuteh7: update bootloader binary
3 years ago
Bulut Gözübüyük
80c6ab7106
Add support for Omnibus F4 boards with ICM20608G IMUs
...
One can use following command to compile:
make omnibus_f4sd_icm20608g
Co-Authored-By: berkercanatar <19846944+berkercanatar@users.noreply.github.com>
3 years ago
Beat Küng
3e6a35fe8a
px4/fmu-v2/rover: disable module to reduce flash
3 years ago
Beat Küng
29d5dd9b8f
omnibus/f4sd: disable module to reduce flash
3 years ago
Beat Küng
bc9dfe8599
holybro/kakutef7: disable module to reduce flash
3 years ago
Beat Küng
e10ff59340
px4/fmu-v5/stackcheck: disable module to reduce flash
3 years ago
Daniel Agar
611d50edf3
boards: holybro kakutef7 disable tone_alarm to save flash
3 years ago
Daniel Agar
5b5d428189
boards: px4_fmu-v5_stackcheck disable fake_gps to save flash
3 years ago
Daniel Agar
01daf8d6d6
boards: omnibus_f4sd disable events module to save flash
3 years ago
Charles Cross
f31f3370ef
Add support for Timer15 on H743 boards ( #19228 )
...
* Adds Timer15 to stm32_common, if the timer base is defined
* Adds Timer15 logic for DMA and AltFunc config on stm32h7 boards
* Adds TIM15 BDTR->MOE support in stm32_common timer init
* Adds support for TIM15 pwm channels on Matek H743 Slim
3 years ago
Daniel Agar
3c58932aff
boards: px4_fmu-v2_default disable ms4525 to save flash
3 years ago
David Sidrane
c0facec889
cdc_acm_check:Prevent USB disconect on param save
...
If the hardware support RESET lockout that has nArmed ANDed with VBUS
vbus_sense may drop during a param save which uses
BOARD_INDICATE_EXTERNAL_LOCKOUT_STATE to prevent external resets
while writing the params. If we are not armed and nARMRED is low
we are in such a lock out so ignore changes on VBUS_SENSE during this
time.
3 years ago
Daniel Agar
8489cec08f
boards: spracing h7extreme keep icm42688p in RAM
...
- to make space move rc_update itcm -> sram
3 years ago
Daniel Agar
9aca693945
boards: spracing h7extreme add alternate IMU icm42688p
3 years ago
Daniel Agar
abfa3d23a5
boards: matek h743-slim fix STM32_SDMMC_SDXFR_CLKDIV typo
3 years ago
David Sidrane
1c66fb44aa
holybro_kakutef7:fit in flash
3 years ago
David Sidrane
2e67b92b4d
px4_fmu-v5_stackcheck:Fit in flash
3 years ago
David Sidrane
92590155fc
px4_fmu-v6x:Bootloader move to TELEM1 with DMA
3 years ago
David Sidrane
b5916ac712
px4_fmu-v6x:Document the DMA usage
3 years ago
David Sidrane
7eefdd1e3d
px4_fmu-v6x:Enable DMA on TELEM{1|2}
3 years ago
Charles Cross
f9feb04f8b
Changes SDIO clock speed to 20MHz for the Matek H743 slim
...
Signed-off-by: Charles Cross <charles@missionrobotics.us>
3 years ago
Nico van Duijn
10ad553f1d
v5x: add battery_status module to enable analog bat sensing
3 years ago
Beat Küng
28c27f1b9a
px4/fmu-v5x: add ADC_ADS1115_EN param to use external ADC
3 years ago
David Sidrane
fd1aa3cfb9
matek_gnss-m9n-f4:Use CONFIG_BOARD_SERIAL_GPSn for serial_passthru
3 years ago
David Sidrane
0c936e4fd2
serial_passthru:Move CONFIG_xxx to serial_passthru
3 years ago
Oleg Kalachev
21b78f9d05
Enable mpu9250’s magnetometer on fmu-v4
3 years ago
Viktor Vladic
f4d02a2937
MatekH743 board_id, usb vid/pid changes, and MPU6000 delay before transfer - not after ( #18733 )
...
* Make board_id compatible with ardupilot
* Initialize outputs for CAM1/CAM2 and Vsw pad
* Correct board type 1013 in bootloader to match AP
* Change usb vendor string to "Matek"
* Change cdcacm pid to 1013
* Comment out FLASH_BASED_PARAMS because of #15331
3 years ago
Julian Oes
490a0c473b
Rename vmount to gimbal
3 years ago
Daniel Agar
052adfbfd9
borads: holybro_kakutef7 disable modules/events to save flash
3 years ago
Daniel Agar
3a741cb9c9
boards: bitcrazy_crazyflie disable gyro_fft to save flash
3 years ago
David Sidrane
ec441fdba6
gnss-m9n-f4:Add serial_passthru
3 years ago
David Sidrane
0c8a5b3da1
matek-gnss-m9n-f4:Enable IO compensation
3 years ago
David Sidrane
cb06f82f0f
gnss-m9n-f4:Board support clean up
...
SD is on SPI3 - correct pin mapping
Fix DMA Mapping for all SPI and RX DMA on U[S]ART RX
Fix Memory MAP SRAM size
Removed unused GPIO
Used proper I2C definitions
Ensure Watchdog is configured for debugging
Fixed FLASH param definitions
Removed unedded SPI init
matek_gnss-m9n-f4:Correct Board ID and Size
Build order SJF
Added Support for F40x
3 years ago
dirksavage88
d92244b664
Initial Matek m9nf4 can node support
...
Signed-off-by: dirksavage88 <dirksavage88@gmail.com>
Added uavcan board identity
Signed-off-by: dirksavage88 <dirksavage88@gmail.com>
Added usb.c, LED rework may be needed
Signed-off-by: dirksavage88 <dirksavage88@gmail.com>
PX4 dates added to all files
Signed-off-by: dirksavage88 <dirksavage88@gmail.com>
Matek M9NF4 CAN Node initial board support
Signed-off-by: dirksavage88 <dirksavage88@gmail.com>
Changed GPS to ttyS3 in board sensors, led board on/off definitions
Signed-off-by: dirksavage88 <dirksavage88@gmail.com>
Added app descriptor section to canbootloader linker script
Signed-off-by: dirksavage88 <dirksavage88@gmail.com>
Changed board naming convention to match vendor
Signed-off-by: dirksavage88 <dirksavage88@gmail.com>
Changed canbootloader and nsh menuconfig
Signed-off-by: dirksavage88 <dirksavage88@gmail.com>
Test defconfig changes, IRQ hardfault in bootloader
Signed-off-by: dirksavage88 <dirksavage88@gmail.com>
Working canbootloader, App firmware stil WIP
Working App firmware: changed romfsroot to 'cannode', TODO: verify GPS & IMU config
Signed-off-by: dirksavage88 <dirksavage88@gmail.com>
TODO: Debug GPS no sats/low sats issue, no magnetometer on some boards
Signed-off-by: dirksavage88 <dirksavage88@gmail.com>
3 years ago
Jukka Laitinen
f8a090e85e
Remove HYGROMETERS from fmu-v5 stackcheck build and rename to COMMON_HYGROMETERS
...
The stackcheck build flash space overflows after adding hygrometers.
Also follow the naming convention of other similar config flags, and rename the
config.
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Roman Dvořák
ed475ca324
SHT3x driver
...
SHT3x driver, clean code
changes leading to merge TFHT with CUAV hygrometer
Delete humidity_temperature.msg
Update CMakeLists.txt
rename 'atmosphefir_quantities' to 'hygrometers'
fix logging
removed cmake files
fix PR issues
3 years ago
Jukka Laitinen
1f9ace3901
boards/px4/fmu-v5: Add linker scripts for kernel-userspace split
...
These scripts are used in protected build configuration
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
03c0a2d56c
Fix some cmake / linker depenencies for boards
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Jukka Laitinen
700c13cdff
Remove linking of arch_io_pins into drivers_board
...
This goes the other way around; arch_io_pins is using the pin
definitions from drivers_board, so the drivers_board needs to be linked
into arch_io_pins
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
3 years ago
Beat Küng
92769bd2b2
dshot: remove BOARD_DSHOT_MOTOR_ASSIGNMENT & handle timer channel gaps
3 years ago
Beat Küng
425b268feb
boards: add holybro/kakuteh7
...
known issues:
- flash-based params does not work on H7 (due to ECC), so params are on
SD card. The last flash sector is still reserved however.
- output channel 6 does not support DShot (the implementation does not
handle channel gaps)
- flashing of the 2. flash bank is much slower (around 3x), than the 1.
bank for some unknown reason.
- after the BL jumps to the app, there's several seconds passing until
stm32_boardinitialize() is called.
3 years ago
David Sidrane
25099ce11f
fmurt1062-v1:Added GPS driver dropped in move to boardconfig
3 years ago