Tanja Baumann
b5ebdb8e41
add system command to get and set system time
...
* add system_time command for all boards
4 years ago
David Sidrane
b83fdfda37
px4_fmu-v5x: Updates for NuttX 9.1.0+ External schedule_note
5 years ago
David Sidrane
733c1b747b
px4_fmu-v5x: Updates for NuttX 9.1.0+ External schedule_note
5 years ago
David Sidrane
acea295d5a
px4_fmu-v5x Updates for NuttX 9.1.0-
...
px4_fmu-v5x: defconfig MMCSD enable multiblock
5 years ago
SalimTerryLi
28a6e82698
Introduce new generic ADC driver for ADS1115 chip ( #14437 )
5 years ago
SalimTerryLi
c037dbef21
Rename and move src/drivers/adc to src/drivers/adc/board_adc
5 years ago
Daniel Agar
2c3441aa90
boards: reduce CONFIG_NFILE_DESCRIPTORS 15 -> 12
...
- reduced now that calibration uses uORB::Subscription
- can likely be reduced further (perhaps < 8) with additional testing
5 years ago
David Sidrane
329ed6e273
px4_fmu-v5/v5x: Re-enable TXDMA
5 years ago
Beat Küng
ca189fefb7
v5x: use board-specific camera capture pin PI0
5 years ago
Daniel Agar
e3d31a881e
boards: NuttX disable posix message queues
5 years ago
Beat Küng
03e51076b0
v5x: fix icm20602 sensor orientation
...
and reorder baro startup, so that the other one is used by default.
5 years ago
Daniel Agar
13e34b32e6
new Bosch BMI088 IMU driver using FIFOs and DRDY
5 years ago
Daniel Agar
6f6efd60b7
boards: centralize optional external I2C sensor start
...
- configured with new parameter SENS_EXT_I2C_PRB
5 years ago
David Sidrane
0bb8d7a065
px4_fmu-v5x p4 (-06) default to suporting LAN8742Ai
5 years ago
Daniel Agar
5e7d2e830d
boards: delete old board.h boilerplate
5 years ago
David Sidrane
626895eadc
px4_fmu-v5x:Wrong Bit was being tested for mode.
...
@TSC21 - this will fix you build
5 years ago
Julian Kent
dd9c82eb20
systemcmds/gpio: Add nsh command to manipulate/read GPIO
...
* Add basic GPIO test app for R/W on pins from nuttx shell
* Add gpio command to fmu-v3 and fmu-v4
* Sanitize gpio commands by pin configs, --force to override
5 years ago
David Sidrane
04db5391fc
px4_fmu-v5x:Fix PG11 assignment
5 years ago
David Sidrane
b2153c7f2f
px4_fmu-v5x:PG6 is free GPIO
5 years ago
David Sidrane
7f84ed57dd
px4_fmu-v5x:Using SE050 not A71CH
5 years ago
David Sidrane
637578b8be
px4_fmu-v5x:Correct trace connector description
5 years ago
Beat Küng
9c6f42a867
v5x defconfig: increase TELEM2 UART TX buffer size to 3000
...
Required for very high-rate log streaming @3MBit baudrate.
5 years ago
Daniel Agar
746a8f5cf9
commander: reboot/shutdown usability fixes
...
- always check with state machine before reboot/shutdown
- respect BOARD_HAS_POWER_CONTROL (shutdown from command, low battery, power button)
- px4_shutdown_request add optional delay and always execute from HPWORK
- px4_shutdown_request split out px4_reboot_request
5 years ago
Daniel Agar
28d2aca699
boards: include all procfs entries on boards that aren't flash constrained
5 years ago
Daniel Agar
8d0c92003a
boards: remove all CONFIG_NXFONTS_DISABLE*
5 years ago
Beat Küng
34c75f2d36
boards: temporarily disable UART TX DMA
...
work-around for https://github.com/PX4/Firmware/issues/14659 .
This can be reverted when fixed properly.
5 years ago
Daniel Agar
06478d9997
delete obsolete SENSORIOCSPOLLRATE/SENSORIOCRESET and systemcmds/config
5 years ago
mcsauder
6548fde024
Whitespace cleanup to quiet new blank line at EOF git hook.
5 years ago
Daniel Agar
66eacd24bc
px4_fmu-v5_stackcheck: update stack sizes and add to Jenkins
...
- increase stack sizes to run cleanly under stackcheck
- this is likely overkill for most boards, but using stackcheck to set our minimum ensures we have a very safe margin on regular builds and it's something we can currently afford
- remove holybro_durandal-v1_stackcheck from test rack (there's only one unit)
5 years ago
Beat Küng
68e1172bb5
px4/v5x: enable tx dma on telem2
5 years ago
Daniel Agar
a89bba470a
boards: STM32F76xxx/STM32F77xxx linker add ITCM RAM and .ramfuncs handling
...
- this doesn't currently change anything, but gets us ready to start
experimenting with using the small amount of instruction tightly memory
on STM32F7
- the .ramfuncs section works with NuttX CONFIG_ARCH_RAMFUNCS
5 years ago
Daniel Agar
7aa7f0ed95
switch remaining boards to new InvenSense IMU drivers
5 years ago
Julian Oes
509b8b6b4b
First skeleton for esc_battery module
5 years ago
Daniel Agar
ad559a66a1
examples: add simple work_item example module
5 years ago
Daniel Agar
40b1043e12
NuttX boards minor lpwork and init stack increases
5 years ago
Daniel Agar
15332a7e56
boards: reduce CONFIG_NFILE_DESCRIPTORS 20 -> 15
5 years ago
Daniel Agar
ca81175b07
rename drivers/px4fmu -> drivers/pwm_out
...
- split out header
5 years ago
Daniel Agar
44bec269b0
boards: update all NuttX configs CONFIG_NSH_MAXARGUMENTS 12 -> 15
5 years ago
Beat Küng
b156fe5787
boards: remove deprecated SPI + I2C defines from board_config.h
...
chip-selects are deselected in stm32_spiinitialize()
5 years ago
Beat Küng
3423809cd9
refactor ism330dlc: use driver base class
5 years ago
Beat Küng
54da4997ad
refactor bmi088: use driver base class
5 years ago
Daniel Agar
8738c26426
boards: enable NuttX SPI DMA buffers
...
- update to NuttX with stm32f4 and stm32f7 SPI DMA internal buffers
- remove explicit DMA buffer allocations from new IMU drivers
- restore original BOARD_DMA_ALLOC_POOL_SIZE
- decrease SPI DMA thresholds based on fmu-v2/v3/v4/v5 bench testing
5 years ago
Beat Küng
8ebde51648
refactor hmc5883: use driver base class
...
Removes the calibration on startup, as these values were overwritten by
the system calibration values anyway.
So the only difference is that if all calibration scales were equal to 1,
the driver startup would have failed.
5 years ago
Beat Küng
47b329cc54
refactor bmm150: use driver base class
5 years ago
Beat Küng
832ccd262e
refactor ina226: use driver base class
5 years ago
Beat Küng
985bb2adc9
refactor bmp388: use driver base class
5 years ago
Beat Küng
be0a205438
refactor ist8310: use driver base class
5 years ago
Daniel Agar
0ce9e113ff
boards: stm32f4/f7 enable SPI_DMATHRESHOLD=32
5 years ago
Beat Küng
179c89b6bd
board configs: extend board_dma_map.h with a table
5 years ago
Daniel Agar
bd16c2b4f6
px4_fmu-v5x: add board_dma_map.h and enable SPI{1,2,3} DMA
5 years ago