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
Daniel Agar
5739cf27e5
boards: delete obsolete commented config systemcmd
5 years ago
Roman Dvořák
75fe3bee8c
drivers/rpm: add simple RPM message simulator (dummy publisher)
5 years ago
Daniel Agar
06478d9997
delete obsolete SENSORIOCSPOLLRATE/SENSORIOCRESET and systemcmds/config
5 years ago
Daniel Agar
7c7ee115e3
boards: px4_io-v2 defconfig optimizations to save memory
...
* disable CONFIG_ARMV7M_MEMCPY to save flash
* disable CONFIG_LIB_BOARDCTL
* remove unnecessary pthread and task settings
* reduce preallocated watchdogs
* reduce console buffer size
* reduce IDLE thread stack
* reduce user main stack
Co-Authored-By: David Sidrane <David.Sidrane@Nscdg.com>
5 years ago
mcsauder
6548fde024
Whitespace cleanup to quiet new blank line at EOF git hook.
5 years ago
Daniel Agar
1ac6230758
boards: always change default IMU_GYRO_RATEMAX on px4_fmu-v2/v3 and mro_x21
...
- this can lower cpu usage considerably on older boards
5 years ago
Daniel Agar
588195f46c
boards: px4/fmu-v4pro cleanup rc.board_sensors
...
- board has either an icm20602 or icm20608g, not both
- probe all typical externally compasses
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
Daniel Agar
276b2cad5a
boards: fmu was renamed pwm_out
5 years ago
Daniel Agar
55fc0cbdc7
boards/px4/fmu-v4: fix internal hmc5883 start
5 years ago
Beat Küng
31937c280d
px4/v4: enable tx dma on telem2
5 years ago
Beat Küng
cbed023334
px4/v{2,3}: enable tx dma on telem2
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
b01cdafcf6
boards: add esc_battery to build
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