Beat Küng
ef55680ab1
sitl: enable EMBEDDED_METADATA to add parameter metadata to ROMFS
5 years ago
Beat Küng
055fa768d8
posix: enable ROMFSROOT
...
This will copy the ROMFS into the build directory under etc/, and thus
needs a change of the PX4 startup parameters and mixer paths.
5 years ago
SalimTerryLi
28a6e82698
Introduce new generic ADC driver for ADS1115 chip ( #14437 )
5 years ago
flbernier
0ece66dc80
Add a internal start for rgbled_ncp5623c on fmu-v2 v3 v4pro
5 years ago
SalimTerryLi
c037dbef21
Rename and move src/drivers/adc to src/drivers/adc/board_adc
5 years ago
Daniel Agar
3fa9ff6d20
boards: px4_fmu-v5_debug increase LPWORK stack 1632 -> 1728 bytes
5 years ago
Beat Küng
787f9c1213
i2c: use board-specific bus numbering for '-X -b <bus>' CLI
...
As boards don't have their external buses labeled consistently, it was not
useful to use an abstraction.
5 years ago
Daniel Agar
7569722821
iSentek IST8310 magnetometer rewrite
...
- simple state machine to reset, configure, etc
- checked register mechanism (sensor will reset itself on configuration error)
- configured in 16 bit mode (1320 LSB/Gauss instead of 330 LSB/Gauss)
- adjusted orientation handling in driver to match datasheet as closely as possible
- in many external compass units the rotation was wrong and very difficult to actual determine how to set correctly
5 years ago
Daniel Agar
dd9676b73e
boards: px4/fmu-v5_debug increase interrupt stack 512 -> 768 bytes
5 years ago
Beat Küng
4088c2581f
i2c_spi_buses: add '-q' for quiet startup flag ( #14969 )
...
* [WIP] i2c_spi_buses: add '-q' for quiet startup flag
And enable for optional board sensors.
* ROMFS: rc.sensors try starting all optional I2C sensors quietly
Co-authored-by: Daniel Agar <daniel@agar.ca>
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
22a7bf6ec7
px4_fmu-v6x Fix BOARD_TYPE
5 years ago
SalimTerryLi
49e83b6ae4
load_mon: add linux support
5 years ago
David Sidrane
329ed6e273
px4_fmu-v5/v5x: Re-enable TXDMA
5 years ago
Daniel Leonard Robinson
fa4818e467
vehicles: add new vehicle type: Airship ( #14862 )
...
Co-authored-by: Anton Erasmus <anton@flycloudline.com>
Co-authored-by: Beat Küng <beat-kueng@gmx.net>
5 years ago
Beat Küng
ca189fefb7
v5x: use board-specific camera capture pin PI0
5 years ago
Mirko Denecke
b7389119b3
px4 io firmware remove double definition of GPIO_HEATER_OFF
5 years ago
Daniel Agar
3dd7d0c292
boards: fmu-v5 debug variant disable unnecessary modules to save flash
...
- partially sync with fmu-v5 stackcheck build
5 years ago
Daniel Agar
e3d31a881e
boards: NuttX disable posix message queues
5 years ago
Daniel Agar
b277840233
boards: create px4_fmu-v5_debug build with assertions enabled
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
Beat Küng
157ef43e28
replay: use lockstep scheduler
5 years ago
Daniel Agar
d9102ce54c
imu/invensense/icm20948: sync with other recent invensense improvements
...
- clenaup ak09916 with simplifed setup and health check
5 years ago
David Sidrane
28a695dce4
px4_fmu-v6x:imu/bmi088->imu/bosch/bmi088
5 years ago
Daniel Agar
0a63df25a6
create fake_magnetometer "driver" to publish magnetic field in body frame
...
- this can be helpful for orienting new unknown magnetometers
- requires attitude and GPS position
5 years ago
Daniel Agar
e819f99064
new Bosch BMI055 IMU driver using FIFOs and DRDY
...
- accel & gyro FIFOs enabled
- FIFO watermark on data ready interrupt
- sensor side filtering completely disabled
- gyro now respects `IMU_GYRO_RATEMAX` (up to 2 kHz)
- saves a few % cpu (at default rate)
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
82b87adfb3
px4_fmu-v6x:default phy is LAN8742
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
Daniel Agar
5507c15bdc
boards: move rgbled_pwm startup to appropriate boards
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
Daniel Agar
31fe7af454
selectively increase optimization -Os -> -O2
...
- targetted at modules/libraries that benefit without drastically
increasing flash usage
- ignored on boards with CONSTRAINED_FLASH set
5 years ago
Daniel Agar
6c96748e54
boards: pixhawk mini add unused MPU9250 CS & DRDY pins
5 years ago
David Sidrane
73bb18a053
px4_fmu-v6x: Limit Slew rate So IMU works with DMA
...
The defualt in NuttX is OSPEED of 50Mhz. This is realy a slew
rate control. At the default high slew rate the overshoot was
.7 Volts. On a ICM20649 this was causing the device to output
garbage. All 0s
N.B. A passive scope or Logic analyser's probes load will mask
the failure. Useed a FET probe to verify the issue.
5 years ago
David Sidrane
5d90c31632
Added PX4 FmuV6X
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
678c3fe8e4
boards: px4_fmu-v5_optimized don't build all mags
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
Daniel Agar
3e5f85b47b
uavcannode: add distance_sensor (all possible instances)
5 years ago
Jakub Kákona
dfa5ca1710
FlightGear simulator support ( #14539 )
...
- Add flightgear_bridge submodule.
- Add traget px4_sitl_nolockstep with disabled LOCKSTEP simulation.
- Add flightgear viewer targets and startup scripts
- Add a few possible vehicles plane (rascal), autogyro (tf-g1), and rover (tf-r1))
Co-authored-by: Vit Hanousek <vithanousek@seznam.cz>
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