Matthias Grob
a99ddd0845
battery: don't reset on every loop iteration
4 years ago
David Sidrane
05bdef867d
Track NuttX syslog change
4 years ago
David Sidrane
93c37e4e0c
syslink:Use inttypes
4 years ago
Daniel Agar
6874e9fba0
boards: NuttX disable all NSH memory debug commands (mb, mh, mw) by default
...
- closes https://github.com/PX4/PX4-Autopilot/issues/17062
4 years ago
Daniel Agar
f8eaa6e46b
ROMFS handle bl_update generically
...
- include all available legacy bootloaders
4 years ago
Daniel Agar
4d288512b5
add board architecture specific init defaults
4 years ago
Daniel Agar
19de1e57e3
gyro_fft promote to modules and include on all boards
4 years ago
Daniel Agar
ab0d0fd0be
uORB move to PX4 platform layer
4 years ago
Daniel Agar
a257120e8d
boards: use new param default mechanism
4 years ago
Daniel Agar
da1a38b44e
parameters: merge generated files ito single static constexpr header
...
- store parameter type and if volatile separately (saves kilobytes of flash)
- use Bitset for tracking active and changed parameters
- use atomic for autosave_enabled flag
- compile at ${MAX_CUSTOM_OPT_LEVEL} (-O2 on non flash constrained boards)
4 years ago
Daniel Agar
8f0918a16b
boards: remove unused linker __param section
4 years ago
Daniel Agar
78dff6adcb
boards: add CONSTRAINED_MEMORY build option
...
- currently the main change is that it reduces the max number of ORB multi instances to 4, but usage will be expanded as needed
- limits number of EKF2 multi instances to 2.
- enabled on all cortex m4 boards
4 years ago
TheLegendaryJedi
64c857562d
Crazyflie v 21 ( #16502 )
...
Build model name fix.
Co-authored-by: TheLegendaryJedi <goncalo.atanasio@gmail.com>
4 years ago
TheLegendaryJedi
dd9b0ded0f
[UPDATE] - Remove duplicate syslink code
4 years ago
TheLegendaryJedi
e450c5a9d9
[UPDATE] - Crazyflie parameter config
4 years ago
TheLegendaryJedi
40f971c082
[NEW] - bmi088 i2c drivers and crazyflie 2.1 conf
4 years ago
Daniel Agar
1ec10bfcc6
boards: disable CONFIG_ARMV7M_LAZYFPU again ( #16573 )
...
- this was causing hard faults on the CUAV Nora and possibly other boards, disabling everywhere until we fully understand the root cause
4 years ago
Daniel Agar
3abe2e82d1
mpu9250: create dedicated i2c version and delete legacy driver
...
- update crazyflie and bbblue usage
- eventually this should be merged with the SPI version after interface
changes are made
4 years ago
Daniel Agar
c9a7894230
boards: bitcraze crazyflie fix boot
...
- add console to USART3 for now
4 years ago
Daniel Agar
cb74cb8692
boards: enable CONFIG_ARMV7M_LAZYFPU everywhere
4 years ago
Matthias Grob
7545249215
Add flight_mode_manager to all targets with mc_pos_control
4 years ago
David Sidrane
22bc176885
Added mft for queries
4 years ago
David Sidrane
1bb2b0b06c
bitcraze_crazyflie: Use px4_platform_configure
4 years ago
Daniel Agar
3f9e5a6934
drivers/device/ringbuffer: move into crazyflie syslink (only remaining user)
4 years ago
Daniel Agar
233949a377
NuttX upgrade to 10.0.0+ defconfig changes
4 years ago
Tanja Baumann
b5ebdb8e41
add system command to get and set system time
...
* add system_time command for all boards
4 years ago
David Sidrane
9106386613
bitcraze_crazyflie: Updates for NuttX 9.1.0+ External schedule_note
4 years ago
David Sidrane
b8db1e6380
bitcraze_crazyflie Updates for NuttX 9.1.0-
...
bitcraze_crazyflie: defconfig MMCSD enable multiblock
4 years ago
SalimTerryLi
c037dbef21
Rename and move src/drivers/adc to src/drivers/adc/board_adc
4 years ago
Matthias Grob
180c6faf4a
syslink_main: remove empty lines and struct keyword
4 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
Daniel Agar
e3d31a881e
boards: NuttX disable posix message queues
5 years ago
Daniel Agar
6f6efd60b7
boards: centralize optional external I2C sensor start
...
- configured with new parameter SENS_EXT_I2C_PRB
5 years ago
Daniel Agar
5e7d2e830d
boards: delete old board.h boilerplate
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
Matthias Grob
88c21337fa
Make all battery sensor drivers report their sample interval
...
To make use of the time abstraction in the leaky integrator.
5 years ago
Daniel Agar
04113b4d57
commander: changes when USB connected
...
- skip avionics rail voltage check when USB connected
- skip forced reboot on USB disconnect if circuit breaker set
- avionics voltage preflight check don't silently fail if system_power unavailble
- explicitly set supply check circuit breaker (CBRK_SUPPLY_CHK)
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
8d0c92003a
boards: remove all CONFIG_NXFONTS_DISABLE*
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
Julian Oes
f650b91718
battery: check source param inside battery lib
...
This moves the handling of the BAT%d_SOURCE param inside of the battery
library. Users of the library now pass the source instead of the flag
whether to publish. The battery library then checks if the source is
selected using the param and publishes accordingly.
Since we removed the strange system_source flag, we now need to look at
all batteries in commander.
For current estimation - I think - it makes sense to sum them up.
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
1cc8e4dc1a
distance_sensor/vl53l0x: move to PX4Rangefinder and cleanup
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
7626be0485
refactor mpu9250: use driver base class
5 years ago