Daniel Agar
4040e4cdf2
simulation organization and cleanup
...
- new modules/simulation directory to collect all simulators and related modules
- new Tools/simulation directory to collect and organize scattered simulation submodules, scripts, etc
- simulation module renamed to simulator_mavlink
- sih renamed to simulator_sih (not a great name, but I wanted to be clear it was a simulator)
- ignition_simulator renamed to simulator_ignition_bridge
- large sitl_target.cmake split by simulation option and in some cases pushed to appropriate modules
- sitl targets broken down to what's actually available (eg jmavsim only has 1 model and 1 world)
- new Gazebo consistently referred to as Ignition for now (probably the least confusing thing until we fully drop Gazebo classic support someday)
2022-08-25 09:10:03 -04:00
Beat Küng
7b810bb776
boards: update px4 io binary
2022-08-23 21:07:18 -04:00
Igor Mišić
f929017618
boards: link missing arch_io_pins lib
2022-07-31 11:19:20 -04:00
Chuck
32544452f0
drivers: Sagetech MXS transponder support
...
Co-authored-by: Megan McCormick <megan.mccormick@sagetech.com>
Co-authored-by: Chuck Faber <chuck.faber@sagetech.com>
2022-06-20 18:16:07 -04:00
Daniel Agar
dea404a9a3
boards: disable modules to save flash
...
- px4_fmu-v5x_rtps disable common barometers to save flash
- px4_fmu-v6x_default disable telemetry drivers to save flash
2022-06-16 16:14:57 -04:00
Igor Mišić
25488da944
px4io: replace safety_off state with safety button event ( #19558 )
...
internal PX4IO safety_off state is removed and replaced with a normal safety button event. From this 'commit' commander is taking care of the PX4IO safety.
2022-06-01 13:15:13 -04:00
Daniel Agar
5b6e5a0968
boards: NuttX update all boards to preallocated sem holder list
...
- CONFIG_SEM_PREALLOCHOLDERS=32
- CONFIG_SEM_NNESTPRIO=16 (default)
2022-05-31 01:41:07 -07:00
Daniel Agar
132a07f53c
boards: test boards add NuttX ostest and run on Jenkins test rack
2022-05-29 13:41:16 -04:00
David Sidrane
479b52fd02
Update all H7 Bootloders
2022-05-27 14:25:25 -04:00
David Sidrane
fd81951391
boards: STM32H7 pad to 256 bit - 32 bytes ( #19724 )
2022-05-27 14:04:51 -04:00
Igor Misic
554283655c
Revert "px4io: replace safety_off state with safety button event ( #19558 )"
...
This reverts commit 12a81979a8
.
2022-05-26 10:06:32 -04:00
Igor Misic
6aefcbb6cf
Revert "px4iofirmware: fix for bug introduced with #19558 "
...
This reverts commit 79a34b5aed
.
2022-05-26 10:06:32 -04:00
Igor Misic
79a34b5aed
px4iofirmware: fix for bug introduced with #19558
2022-05-23 14:59:11 -04:00
Igor Misic
12a81979a8
px4io: replace safety_off state with safety button event ( #19558 )
...
internal PX4IO safety_off state is removed and replaced with a normal safety button event. From this 'commit' commander is taking care of the PX4IO safety.
2022-05-23 06:54:37 +02:00
Beat Küng
5d114329d7
cubepilot/cubeorange/test.px4board: disable module to reduce flash
2022-05-10 08:57:39 +02:00
Daniel Agar
7ab9b0c6e2
boards: cubepilot_cubeorange_test disable examples/fake_gps to save flash
2022-04-26 08:39:19 -04:00
Daniel Agar
7bb789cb23
boards: update bootloaders to latest
2022-04-25 22:39:25 -04:00
Daniel Agar
3cdeeb8d64
px4iofirmware: convert most files to c++
2022-04-17 20:44:30 -04:00
Daniel Agar
3f13c70cae
px4io cleanup LED and heater handling
...
- most px4_io-v2 boards have a blue LED that breathes for status
- the pixhawk 2.1 (hex) re-used this blue LED for as an IMU heater (active low), but kept the same board id (so we have to detect at runtime)
- the new cubepilot boards (yellow, orange) inverted the polarity of this heater pin
- untangle the mess slightly so that things we know statically (eg cubepilot cubeorange LEDs and heater polarity) are handled at build time.
2022-04-13 18:43:59 -04:00
Daniel Agar
091fca701e
px4io: input_rc only publish new successful decodes
...
- previously an invalid decode would continue to be transferred to the FMU (at 50 Hz) and published to the rest of the system as successfully decoded new RC data
- by only publishing new successful decodes we can more effectively discard invalid data in downstream consumers
2022-04-09 14:28:16 -04:00
Julian Oes
490a0c473b
Rename vmount to gimbal
2022-02-07 19:21:15 -05:00
Beat Küng
92769bd2b2
dshot: remove BOARD_DSHOT_MOTOR_ASSIGNMENT & handle timer channel gaps
2022-01-21 20:41:15 -05:00
Daniel Agar
d077ca15fb
delete PWM_SERVO_SET, PWM_SERVO_SET_MODE, systemcmds/motor_ramp, and pwm_out test
2022-01-10 09:51:11 -05:00
Daniel Agar
df44df2df6
delete systemcmds/esc_calib
...
- this is redundant with commander esc_calibration
2022-01-10 09:51:11 -05:00
Daniel Agar
e835a7c4ea
boards: enable readline history and tab completion on newer boards
2022-01-03 10:44:32 -05:00
Julian Oes
9686c81f7d
boards: enable flow control on CDCACM
...
This enables flow control on CDCACM for the NuttX boards which fixes a
problem where HITL would stall.
The stall could happen if the hardware would be a bit too slow in
keeping up with the incoming messages. Often, this happened on arming
because the logger would take some time to log all parameters right at
the beginning.
The stall would then not recover due to NuttX bug where the rx interrupt
would not be restored correctly and instead only a slower watchdog would
release the next read. This watchdog takes 200ms which means it's hard
to impossible to get out of the situation without restarting sim and/or
PX4. For more information about the issue, see:
apache/incubator-nuttx#3633
As a workaround, until that bug is fixed, and because it makes sense
anyway, I propose to enable FLOWCONTROL for the serial via USB.
2021-12-21 08:01:38 +01:00
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
2021-12-09 20:41:54 -05:00
Daniel Agar
37c1598f38
boards: cubepilot_cubeorange enable calib_udelay and run on test rack
2021-12-05 14:50:03 -05:00
Daniel Agar
7d515e3d58
boards: cubepilot_cubeorange lower cpu clock 480 -> 400 MHz to reduce temperature
2021-12-05 14:50:03 -05:00
Daniel Agar
a2064cceff
boards: enable early MPU reset on any board potentially not using the PX4 bootloader
2021-12-01 20:13:41 -05:00
David Sidrane
ed473a5ebe
cubepilot_cubeyellow nsh:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00
David Sidrane
c82e0e0531
cubepilot_cubeorange test:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00
David Sidrane
6e1500a7de
cubepilot_cubeorange nsh:Remove CONFIG_RAMTRON_WRITEWAIT
2021-11-26 19:27:29 -05:00
David Sidrane
bbe0ed8646
cubepilot_cubeyellow:Set CONFIG_MKFATFS_BUFFER_ALIGMENT=32
2021-11-24 09:46:23 -05:00
David Sidrane
e34aacd520
cubepilot_cubeorange:Set CONFIG_MKFATFS_BUFFER_ALIGMENT=32
2021-11-24 09:46:23 -05:00
Beat Küng
4c03def6e9
boards: add CONTROL_ALLOCATOR + ACTUATOR_TEST
2021-11-23 12:40:22 -05:00
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
2021-11-15 18:47:38 -05:00
Daniel Agar
7b7b7acd36
i2c_spi_buses: respect CONFIG_I2C and CONFIG_SPI
...
- bmp280, dps310, and ms5611 barometers support boards without I2C
2021-11-15 15:57:33 -05:00
Daniel Agar
2d816e0b3e
[WIP] manual_control selector hacks
2021-11-09 16:05:25 +01:00
Daniel Agar
a8c3bcca32
boards: disable CONFIG_STM32H7_SPI_DMATHRESHOLD
2021-11-08 19:20:47 -05:00
David Sidrane
38e2e6a01f
Use NuttX MPU Reset ( #18283 )
...
* NuttX with MPU reset backports
* Use NuttX MPU reset
2021-10-25 18:05:31 -04:00
bresch
6ec9ab11f2
add fw auto-tune module to board configs
2021-10-25 13:41:31 +02:00
Daniel Agar
19952768fb
boards: try to keep test boards in sync
2021-10-21 15:59:15 -04:00
Beat Küng
d01f2b1d40
cubepilot/cubeorange test: disable uavcan to reduce flash usage
2021-10-18 18:45:19 -04:00
Beat Küng
ba4a1ec6c4
boards/px4/io-v2: swap timer definitions
...
So that the ordering of the generated params make more sense.
TIM1 is now for channels 2-4 instead of 5-8.
2021-10-18 18:45:19 -04:00
Daniel Agar
cb6b1bd427
boards: delete unused test and debug variants
2021-10-07 10:09:01 -04:00
Peter van der Perk
ed5fee1a72
Backport #18311 mc atune
2021-10-07 10:09:01 -04:00
Peter van der Perk
454c907b7d
Kconfig backport #18327 mag_bias
2021-10-07 10:09:01 -04:00
Peter van der Perk
36191e649a
Kconfig backport #18289 and other flash size fixes
2021-10-07 10:09:01 -04:00
Peter van der Perk
6a1675ac28
Backport #17864 to px4board config
2021-10-07 10:09:01 -04:00
Peter van der Perk
12898ea560
[Kconfig] Update configs 06-09-21
2021-10-07 10:09:01 -04:00
Peter van der Perk
33fd65e5fe
[Kconfig] Fix regressions found by bloaty and cleanup unused cmake
2021-10-07 10:09:01 -04:00
Peter van der Perk
892d673b45
[Kconfig] fix flash overflow test builds
2021-10-07 10:09:01 -04:00
Peter van der Perk
efc91d2b69
[Kconfig] Fixed inclusion of microbench bydefault when TESTING was enabled
...
Added full optimization option
2021-10-07 10:09:01 -04:00
Peter van der Perk
cc752f11df
[Kconfig] python script doesn't remove delta, thus we've to manually add remove deltas
2021-10-07 10:09:01 -04:00
Peter van der Perk
b3e799e277
[Kconfig] Add all distance sensors
2021-10-07 10:09:01 -04:00
Peter van der Perk
21e6547ac7
[Kconfig] Toolchain & platform fixes, SITL still broken
2021-10-07 10:09:01 -04:00
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
2021-10-07 10:09:01 -04:00
Daniel Agar
bbfaa4694c
boards: cleanup serial RX DMA hrt_call_every
...
- remove ts_to_abstime dependency
2021-10-06 14:39:59 -04:00
Daniel Agar
51758bd7e6
boards: delete unused variants
2021-10-05 23:14:04 -04:00
Daniel Agar
c271a9e3e6
add sd_stress to all boards and run on test rack
2021-10-04 17:38:31 -04:00
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
2021-10-03 15:32:54 -04:00
bresch
1443f773da
mbe: add module to targets
2021-10-02 21:25:21 -04:00
bresch
5874b1f87c
mc atune: add module to all targets
...
- adjust flash constrianed targets to fit
2021-10-02 18:12:05 -04:00
Beat Küng
673de86553
cubepilot/cubeorange: disable system_time and motor_ramp to reduce flash
2021-09-11 14:08:41 -04:00
Beat Küng
c5c80e31b6
boards: remove DIRECT_INPUT_TIMER_CHANNELS from board_config.h
2021-09-08 16:10:24 -04:00
Beat Küng
a8e75d174c
boards: remove BOARD_HAS_PWM and use DIRECT_PWM_OUTPUT_CHANNELS
2021-09-08 16:10:24 -04:00
Daniel Agar
5eddf32cd3
boards: cubepilot_cubeorange only start ADSB mavlink if console not present
...
- cubepilot_cubeorange_test has the console enabled (used for test rack and bench debugging)
2021-09-06 11:52:58 -04:00
Sander Swart
dbb0974b0c
Removed TEL3 from cube orange default.cmake as it is used for the built in ADS-B receiver
2021-09-06 09:51:38 +02:00
Sander Swart
bce1c06174
Added new line at the end of the file as per code style
2021-09-06 09:51:38 +02:00
Sander Swart
223410e17a
Enable Cube Orange built in ADS-B receiver by default
2021-09-06 09:51:38 +02:00
Daniel Agar
476e050000
boards: cubepilot_cubeorange_test disable unused modules to save flash
2021-09-05 23:18:28 -04:00
Daniel Agar
40e5477edb
NuttX boards fix mkfatfs and rcS logic
2021-09-01 15:16:00 -04:00
Daniel Agar
9e0fa8e82b
boards: set SENS_TEMP_ID defaults
2021-09-01 15:16:00 -04:00
Daniel Agar
a819a7b7c4
boards: cube orange fully clear any existing MPU configuration as soon as possible
2021-09-01 08:53:05 +02:00
Daniel Agar
ab1c90d831
boards: cubeorange/cubeyellow use amber LED for armed state
2021-08-28 09:15:41 -04:00
Daniel Agar
f59b54abd7
boards: io-v2 increase idle thread stack 280 -> 316 bytes
2021-08-25 21:32:05 +02:00
David Sidrane
bb913ae11a
system_load:Track Dynamic PID hash
2021-08-13 14:22:00 -04:00
David Sidrane
64bf02384f
cubepilot_cubeyellow: Update nsh defconfig NuttX 10.1.0+
2021-08-13 14:22:00 -04:00
David Sidrane
281a238bb0
cubepilot_cubeyellow: Update test defconfig NuttX 10.1.0+
2021-08-13 14:22:00 -04:00
David Sidrane
9c1752bf4d
cubepilot_io-v2: Update nsh defconfig NuttX 10.1.0+
2021-08-13 14:22:00 -04:00
David Sidrane
d9da05bd02
cubepilot_cubeorange: Update bootloader defconfig NuttX 10.1.0+
2021-08-13 14:22:00 -04:00
David Sidrane
2a4b4824e5
cubepilot_cubeorange: Update nsh defconfig NuttX 10.1.0+
2021-08-13 14:22:00 -04:00
David Sidrane
f5b22d8832
cubepilot_cubeorange: Update test defconfig NuttX 10.1.0+
2021-08-13 14:22:00 -04:00
David Sidrane
ec61512cdf
NuttX inits null console
2021-08-13 14:22:00 -04:00
Beat Küng
0e1f3a2d62
px4_add_board: infer VENDOR, MODEL & LABEL from cmake file name
2021-08-03 10:36:25 +02:00
Daniel Agar
774ad80ba0
systemcmds/tests: split out microbenchmarks and remove obsolete tests
...
- reorganize Jenkins HIL tests
2021-07-18 18:02:33 -04:00
Daniel Agar
c5b1fe86ca
delete deprecated BAT_* parameters
2021-07-08 22:19:12 -04:00
David Sidrane
05bdef867d
Track NuttX syslog change
2021-06-16 17:07:47 +02:00
echoG
6bc09138c1
Adding BatMon smart battery as a module and refactoring SMBUS based SBS 1.1 spec to a library
2021-06-09 12:17:45 -04:00
Daniel Agar
5f775b508f
boards: enable CONFIG_OTG_ID_GPIO_DISABLE on all F7/H7
2021-06-01 15:19:15 -04:00
David Sidrane
32e92ba817
Revert:Pull downs - bad levels cause motor spins
2021-06-01 15:18:47 -04:00
Jukka Laitinen
071eaef884
Adjust paths to bootloader include files for boards
...
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2021-05-26 12:57:37 -07:00
Daniel Agar
c3884b5bc1
fake_imu (formally fake_gyro) updates for testing gyro filtering
...
- fake_imu now publishes sine sweeps over 10 seconds
- accel is also published so that fake IMU can be selected when the only option
2021-05-17 20:26:25 -04:00
David Sidrane
4da1ec1146
cubepilot_cubeyellow: Initalize PWM as input with Pull Downs
2021-05-05 20:48:06 +02:00
David Sidrane
1a5741f984
cubepilot_cubeorange: Initalize PWM as input with Pull Downs
2021-05-05 20:48:06 +02:00
Daniel Agar
58b40fbbb9
boards: move testing to dedicated test variants
2021-04-14 09:21:31 +02:00
Alex Mikhalev
1f4960d480
boards: cubeorange enable pwm_input
...
Signed-off-by: Alex Mikhalev <alex@corvus-robotics.com>
2021-04-07 21:34:44 -04:00
Daniel Agar
ad934b4911
icm20948 i2c passthrough driver for ak09916 magnetometer (Here+ GPS/compass)
...
- include icm20948 on most boards by default
- create more test variants for default boards near flash limit (cuav_nora_test, cuav_x7pro_test, holybro_durandal-v1_test)
2021-04-04 21:18:16 -04:00
Daniel Agar
43da43ddc6
boards: cubepilot cubeorange Add remaining SRAM4 & DTCM to heap
2021-04-03 14:13:23 -04:00