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
Julian Oes
490a0c473b
Rename vmount to gimbal
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
David Sidrane
25099ce11f
fmurt1062-v1:Added GPS driver dropped in move to boardconfig
3 years ago
Daniel Agar
df44df2df6
delete systemcmds/esc_calib
...
- this is redundant with commander esc_calibration
3 years ago
Daniel Agar
daa925137c
boards: move default battery calibration defines to parameter defaults
3 years ago
Daniel Agar
e835a7c4ea
boards: enable readline history and tab completion on newer boards
3 years ago
Daniel Agar
8185e2a384
boards: board_app_initialize() don't return early on failure
...
- depending on the situation we're more likely to get actionable user
feedback by allowing boot to complete rather than silently failing
3 years ago
David Sidrane
bddee78412
nxp_fmurt1062-v1 nsh:Remove CONFIG_RAMTRON_WRITEWAIT
3 years ago
Beat Küng
4c03def6e9
boards: add CONTROL_ALLOCATOR + ACTUATOR_TEST
3 years ago
Daniel Agar
f5d9b01f5c
NuttX build in place
...
- cmake NuttX build wrapper compile in place instead of copying source tree to build directory
- slightly faster skipping necessary copying (depending on system)
- allows debugging in place
- easier to work directly in NuttX following official documentation
- simplifies overall build which should make it easier to resolve any remaining NuttX dependency issues in the build system
- the downside is switching back and forth between different builds always require rebuilding NuttX, but I think this is worth the improved developer experience
- also no longer builds px4io and bootloader in every single build, for most users these rarely change and we're wasting a lot of build time
3 years ago
Daniel Agar
2d816e0b3e
[WIP] manual_control selector hacks
3 years ago
David Sidrane
af6bedaded
nxp_fmurt1062:Needs pwm_out
3 years ago
David Sidrane
ff43923567
nxp_fmurt1062-v1:Use Write Back Dcache
3 years ago
David Sidrane
dedad87e82
nxp_fmurt1062-v1:Force no no-unaligned-access
...
This results in a load saving (no dcache) of 16.82% at a cost
of 0.03% Flash, .07% XIP Flash and .45% SRAM
Forced Alighment
With: -mno-unaligned-access
Memory region Used Size Region Size %age Used
flash: 606568 B 7 MB 8.26%
flashxip: 622920 B 1 MB 59.41%
sram: 640848 B 856 KB 73.11%
itcm: 0 GB 0 GB
dtcm: 0 GB 128 KB 0.00%
PID COMMAND CP
0 Idle Task 87640 20.047 204/ 748 0 ( 0) READY 3
1 hpwork 0 0.000 332/ 1784 249 (249) w:sig 3
2 lpwork 26 0.008 780/ 1616 50 ( 50) w:sig 4
3 init 0 0.000 1980/ 2928 100 (100) w:sem 3
4 wq:manager 0 0.000 508/ 1256 255 (255) w:sem 4
327 navigator 910 0.204 1124/ 1832 105 (105) READY 6
23 wq:lp_default 3479 0.795 1252/ 1920 205 (205) READY 4
30 wq:hp_default 23554 5.415 1332/ 1904 237 (237) READY 4
47 dataman 0 0.000 820/ 1208 90 ( 90) w:sem 4
57 wq:I2C1 26849 6.190 1060/ 2336 246 (246) w:sem 4
60 wq:I2C2 24045 5.440 732/ 2336 245 (245) w:sem 4
86 wq:SPI1 47127 10.804 1352/ 2336 253 (253) w:sem 4
91 wq:I2C3 1935 0.436 980/ 2336 244 (244) w:sem 4
101 wq:SPI3 6932 1.585 1028/ 2336 251 (251) w:sem 4
237 wq:nav_and_controllers 16743 3.832 1236/ 2240 242 (242) w:sem 4
248 wq:rate_ctrl 9008 2.074 1572/ 1952 255 (255) w:sem 4
250 wq:INS0 37182 8.450 4372/ 6000 241 (241) w:sem 4
264 commander 29395 6.732 1260/ 3224 140 (140) READY 5
287 mavlink_if0 60513 13.828 1876/ 2728 100 (100) READY 4
294 mavlink_rcv_if0 5946 1.387 1292/ 4560 175 (175) READY 4
307 wq:UART5 3345 0.770 844/ 1632 229 (229) READY 4
370 log_writer_file 0 0.000 372/ 1176 60 ( 60) w:sem 3
369 logger 2121 0.484 2468/ 3648 230 (230) READY 3
393 top 37523 8.641 3060/ 4080 237 (237) RUN 3
Processes: 24 total, 10 running, 14 sleeping
CPU usage: 77.08% tasks, 2.87% sched, 20.05% idle
DMA Memory: 5120 total, 1024 used 1024 peak
Uptime: 441.946s total, 87.640s idle
Allow Un-Alighment
With Out: -mno-unaligned-access
Memory region Used Size Region Size %age Used
flash: 604008 B 7 MB 8.23% 8.26% +0.03
flashxip: 622240 B 1 MB 59.34% 59.41% +0.07
sram: 636752 B 856 KB 72.64% 73.11% +0.45
itcm: 0 GB 0 GB
dtcm: 0 GB 128 KB 0.00% 0.00%
PID COMMAND CPU(ms) CPU(%) USED/STACK PRIO(BASE) STATE FD
0 Idle Task 2418 3.190 264/ 748 0 ( 0) READY 3
1 hpwork 0 0.000 332/ 1784 249 (249) w:sig 3
2 lpwork 12 0.004 852/ 1616 50 ( 50) w:sig 3
3 init 0 0.000 1932/ 2928 100 (100) w:sem 3
4 wq:manager 0 0.000 548/ 1256 255 (255) w:sem 4
327 navigator 22 0.203 1052/ 1832 105 (105) READY 6
23 wq:lp_default 83 0.743 1252/ 1920 205 (205) READY 4
30 wq:hp_default 637 5.886 1332/ 1904 237 (237) READY 4
47 dataman 0 0.000 820/ 1208 90 ( 90) w:sem 4
57 wq:I2C1 162 1.063 1060/ 2336 246 (246) w:sem 4
60 wq:I2C2 98 0.500 732/ 2336 245 (245) w:sem 4
86 wq:SPI1 1166 10.771 1352/ 2336 253 (253) w:sem 4
91 wq:I2C3 48 0.437 1060/ 2336 244 (244) w:sem 4
101 wq:SPI3 178 1.653 1028/ 2336 251 (251) w:sem 4
237 wq:nav_and_controllers 410 3.781 1324/ 2240 242 (242) w:sem 4
248 wq:rate_ctrl 222 2.050 1572/ 1952 255 (255) w:sem 4
250 wq:INS0 940 8.691 4372/ 6000 241 (241) w:sem 4
264 commander 753 6.475 1472/ 3224 140 (140) READY 5.03
287 mavlink_if0 1440 13.973 1780/ 2728 100 (100) READY 4
294 mavlink_rcv_if0 139 1.304 1276/ 4560 175 (175) READY 4
307 wq:UART5 83 0.785 828/ 1632 229 (229) READY 4
370 log_writer_file 0 0.000 372/ 1176 60 ( 60) w:sem 3
369 logger 54 0.493 2468/ 3648 230 (230) READY 3
393 top 1053 10.015 3060/ 4080 237 (237) RUN 3
396 mavlink_rcv_if1 166 1.608 1380/ 4560 175 (175) READY 4
395 mavlink_if1 2167 23.459 1812/ 2824 100 (100) READY 4
Processes: 26 total, 12 running, 14 sleeping
CPU usage: 93.90% tasks, 2.91% sched, 3.19% idle 77.08% tasks, 2.87% sched, 20.05% idle -16.82%
DMA Memory: 5120 total, 1024 used 1024 peak
Uptime: 18.242s total, 2.419s idle
3 years ago
David Sidrane
4225193456
nxp_fmurt1062-v1:Proper USB HS config
3 years ago
David Sidrane
e2b4e435a9
Build system:Board level control of no-unaligned-access
3 years ago
David Sidrane
d4c2476699
nxp_fmurt1062-v1:init Fix Spelling
3 years ago
David Sidrane
46b208ba21
nxp_fmurt1062-v1:init Define ret indepenent of enabled IP Blocks
3 years ago
David Sidrane
29eb27632a
nxpfmurt1062-v1:Add USB dev
3 years ago
David Sidrane
258cde668c
nxp_fmurt1062-v1:Pared down boardconfig
3 years ago
David Sidrane
0e29cb31e6
nxp_fmurt1062-v1:Pull more code into XIP Flash
3 years ago
David Sidrane
ff3a76d918
nxp_fmurt1062-v1:Needs to usne ocram Linker script
3 years ago
Beat Küng
dbd4426271
nxp/fmurt1062-v1: set CONSTRAINED_FLASH
3 years ago
Peter van der Perk
ed5fee1a72
Backport #18311 mc atune
3 years ago
Peter van der Perk
454c907b7d
Kconfig backport #18327 mag_bias
3 years ago
Peter van der Perk
36191e649a
Kconfig backport #18289 and other flash size fixes
3 years ago
Peter van der Perk
5e98f38f78
Kconfig rebase backports 26-09-21
3 years ago
Peter van der Perk
6a1675ac28
Backport #17864 to px4board config
3 years ago
Peter van der Perk
33fd65e5fe
[Kconfig] Fix regressions found by bloaty and cleanup unused cmake
3 years ago
Peter van der Perk
a1247d6bcf
[Kconfig] Backport cmake config changes
3 years ago
Peter van der Perk
b3e799e277
[Kconfig] Add all distance sensors
3 years ago
Peter van der Perk
21e6547ac7
[Kconfig] Toolchain & platform fixes, SITL still broken
3 years ago
Peter van der Perk
6af0477733
[Kconfig] Gnerate px4board from old cmake
...
Added make updateconfig to update all config when default's have changed
Added cmake to px4board conversion script
3 years ago
Daniel Agar
bbfaa4694c
boards: cleanup serial RX DMA hrt_call_every
...
- remove ts_to_abstime dependency
3 years ago
Daniel Agar
c271a9e3e6
add sd_stress to all boards and run on test rack
3 years ago
Daniel Agar
6d78054f50
mavlink USB auto start/stop on boards with VBUS
...
- no longer start sercon or mavlink usb by default
- on USB connection (VBUS) monitor serial USB at low rate and start Mavlink if there's a HEARTBEAT or nshterm on 3 consecutive carriage returns
- the mavlink USB instance is automatically stopped and serdis executed if USB is disconnected
- skipping Mavlink USB (and sercon) saves a considerable amount of memory on older boards
3 years ago
bresch
1443f773da
mbe: add module to targets
3 years ago
bresch
5874b1f87c
mc atune: add module to all targets
...
- adjust flash constrianed targets to fit
3 years ago
Daniel Agar
3d56836850
boards: nxp_fmurt1062-v1 disable extra barometers to save flash
3 years ago
Beat Küng
759d03e5f9
nxp/fmurt1062-v1: disable modules to reduce flash
3 years ago
Beat Küng
c5c80e31b6
boards: remove DIRECT_INPUT_TIMER_CHANNELS from board_config.h
3 years ago
Beat Küng
a8e75d174c
boards: remove BOARD_HAS_PWM and use DIRECT_PWM_OUTPUT_CHANNELS
3 years ago
Daniel Agar
3423c5e48a
boards: nxp_fmurt1062-v1_default disable attitude_estimator_q and local_position_estimator to save flash
4 years ago
David Sidrane
181e82dd17
nxp_fmurt1062-v1: Update nsh defconfig NuttX 10.1.0+
4 years ago
Beat Küng
0e1f3a2d62
px4_add_board: infer VENDOR, MODEL & LABEL from cmake file name
4 years ago
Kirill Shilov
e13884410b
heater: added support of inverted IMU heat controller output
4 years ago
David Sidrane
05bdef867d
Track NuttX syslog change
4 years ago
David Sidrane
62fd132047
boards:Use inttypes
...
nxp_ucans32k146:Fix constant
spracing_h7extreme:Use inttypes
4 years ago
echoG
6bc09138c1
Adding BatMon smart battery as a module and refactoring SMBUS based SBS 1.1 spec to a library
4 years ago