Commit Graph
42370 Commits
Author SHA1 Message Date
David Sidrane 7664053722 rt1170:Add px4io_serial support 2023-06-13 09:52:01 -07:00
David Sidrane a6a50e6e16 Intial Commit NXP FMURT1170 2023-06-13 09:52:01 -07:00
David Sidrane 4fdfe02081 nxp_imxrt1170-evk:Work twords FMURT1170 2023-06-13 09:52:01 -07:00
David Sidrane c0a9b29e8a nxp_imxrt1170-evk:Correct USB VBUS Detect 2023-06-13 09:52:01 -07:00
David Sidrane 1774950f5b nxp_imxrt1170-evk:Correct Manifest 2023-06-13 09:52:01 -07:00
David Sidrane 956ffd7931 imxrt:hrt support Up to GPT6 2023-06-13 09:52:01 -07:00
David Sidrane b17ec31c8c nxp_imxrt1170-evk:Use LPADC 2023-06-13 09:52:01 -07:00
David Sidrane a18102d639 imxrt:ADC & LPADC bifurcation and restructuring 2023-06-13 09:52:01 -07:00
David Sidrane e62938ddda nxp_imxrt1170-evk:Move to 192.168.0 network 2023-06-05 07:51:07 -07:00
David Sidrane 1894e4f0a0 nxp_imxrt1170-evk:Add to CI 2023-06-05 07:51:07 -07:00
David Sidrane 8128ff4a4a imxrt:117x Reuse all but io_timer_hw_description and imxrt_pinirq.c 2023-06-05 07:51:07 -07:00
David Sidrane e5598c2848 nxp:imxrt 1060/1170 bifurcation and restructuring 2023-06-05 07:51:07 -07:00
David Sidrane 9c062a7a25 nxp_imxrt1170-evk:Use FMUM1170 GPIO for PWM 2023-06-05 07:51:07 -07:00
Peter van der PerkandDavid Sidrane f557f9f129 Initial IMXRT1170-EVK support
RT7 Boot from debugger now

RT7 Version OCOTP GUID/Rev Fix

RT7 I2C & SPI Partly working

RT7 Add FRAM support

Co-authored-by: David Sidrane <david.sidrane@nscdg.com>

nxp_imxrt1170-evk:Finish 1170 iomux versioning
2023-06-05 07:51:07 -07:00
David Sidrane 45c160ba94 nxp_fmurt1062-v2:Fitting DNM 2023-06-05 07:51:07 -07:00
David Sidrane f7450ff849 nxp_fmurt1062-v2:Free up RAM consumed by networking
With Networking
   Memory region         Used Size  Region Size  %age Used
              flash:      722108 B         7 MB      9.84%
           flashxip:      909032 B         1 MB     86.69%
               sram:      780212 B       856 KB     89.01%
               itcm:          0 GB         0 GB
               dtcm:          0 GB       128 KB      0.00%

                      total       used       free    largest  nused  nfree
                     total       used       free    largest  nused  nfree
           Umem:     267232     229136      38096      37264    906     53

   No Network
   [846/848] Linking CXX executable nxp_fmurt1062-v2_default.elf
   Memory region         Used Size  Region Size  %age Used
              flash:      685340 B         7 MB      9.34%
           flashxip:      895448 B         1 MB     85.40%
               sram:      722356 B       856 KB     82.41%
               itcm:          0 GB         0 GB
               dtcm:          0 GB       128 KB      0.00%

                      total       used       free    largest  nused  nfree
           Umem:     325088     200992     124096     123376    813     46

   This commit With Networking
   [4/6] Linking CXX executable nxp_fmurt1062-v2_default.elf
   Memory region         Used Size  Region Size  %age Used
              flash:      694852 B         7 MB      9.47%
           flashxip:      936880 B         1 MB     89.35%
               sram:      753588 B       856 KB     85.97%
               itcm:          0 GB         0 GB
               dtcm:          0 GB       128 KB      0.00%

                   total       used       free    largest  nused  nfree
        Umem:     293856     228432      65424      64448    900     51
2023-06-05 07:51:07 -07:00
David Sidrane 4e703c0996 Track NuttX typo on GPR_GPR16_FLEXRAM_BANK_CFG_SELF->GPR_GPR16_FLEXRAM_BANK_CFG_SEL 2023-06-05 07:51:07 -07:00
David Sidrane cd273676eb px4/nxp/imxrt:Support VER & REV from EEPROM 2023-06-05 07:51:07 -07:00
David Sidrane 3ddeb2e70e Add nxp_fmurt1062-v2 FMUM
px4io_update: Add px4io FW on nxp_fmurt1062-v2

nxp_fmurt1062-v2:Use DMA on SPI

nxp_fmurt1062-v2:Timer configuration for 1 channel per group (timer)

nxp_fmurt1062-v2:Normalize with V5X - start PX4IO and Mavlink on TELEM2

nxp_fmurt1062-v2:Update PX4IO Firmware

nxp_fmurt1062-v2:Normalize boardconfig to upstream

nxp_fmurt1062-v2:Corect roataion of ICM20602

nxp_fmurt1062-v2 RC04 HW Changes

nxp_fmurt1062-v2:Use TJA1103 PHY

nxp_fmurt1062-v2:Update to NuttX 10.3+

nxp_fmurt1062:Use Buffer based HW flow control

nxp_fmurt1062-v2:Free Memory

nxp_fmurt1062-v2:Remove fixed wing
2023-06-05 07:51:07 -07:00
David Sidrane adcd64fec9 NuttX 10.3 with Serial Preserve all but W1C & rt117x 2023-06-05 07:51:07 -07:00
Alejandro Hernández Cordero be03b7f098 Allow to modify uxrce_dds_client port with a env var
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
2023-05-10 08:17:56 -07:00
JaeyoungLim 47e802ef92 Fix tailsitter control frames (#21573) 2023-05-10 22:33:53 +09:00
Silvan Fuhrer 951f89c8a8 FWPosControl: constrain min pitch to FW_TKO_PITCH_MIN in takeoff state
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2023-05-10 14:23:12 +02:00
Silvan Fuhrer 9c42dcbb0b ROMFS: plane_catapult: enable launch detection and set IDLE to 0.1 to detect arming
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2023-05-10 14:23:12 +02:00
Silvan Fuhrer 87c8f170ae ROMFS: FW simulations: remove re-declaration of params to vehicle default
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2023-05-10 14:23:12 +02:00
Silvan Fuhrer 6fb55a8ad8 ROMFS: remove param RWTO_TKOFF from configs where only set to default again
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2023-05-10 14:23:12 +02:00
Silvan Fuhrer cad61fcb84 ROMFS: remove outdated param FW_LND_AIRSPD_SC from all simulation configs
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2023-05-10 14:23:12 +02:00
Silvan Fuhrer ab71ef4447 FW Rate Controller: fix manual tailsitter (only transform to body frame once) (#21565)
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2023-05-10 09:29:02 +02:00
Daniel Agar 8222cbca2c ekf2: last range sensor simple timestamp protection
- sanity check againist potential timestamp issues with incoming
distance_sensor data
2023-05-09 12:02:42 -04:00
Morten Fyhn Amundsen 04c5d70588 matrix: Describe emult, edivide functions 2023-05-09 16:14:55 +02:00
Silvan Fuhrer 4cd078409d AirspeedValidator: disable innovation checks if lpos invalid
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2023-05-08 21:46:45 -04:00
1e4fcfc614 mc_pos_control: fix potential thrust spike on hover thrust change
Co-authored-by: Josh Henderson <hendjoshsr71@gmail.com>
Co-authored-by: Matthias Grob <maetugr@gmail.com>
2023-05-08 21:42:25 -04:00
Thomas Debrunner da14650aa2 ads1115: Probe for reset value before init, do not spam console on device lost 2023-05-08 16:47:34 +02:00
PX4 BuildBot 38505c80be update all px4board kconfig 2023-05-08 08:48:48 -04:00
Julian Oes 636c3c069f gimbal: make device ID a clear out argument
The API is cleaner if the control_data is const reference and the device
compid is an explicit output argument.

Signed-off-by: Julian Oes <julian@oes.ch>
2023-05-08 07:06:37 +02:00
muramura 3c45b184d3 gps: Improve the FALSE setting of the ALREADY_COPIED variable 2023-05-08 07:04:11 +02:00
Julian Oes ddfc2986dc mavlink: flow control param needs reboot
Signed-off-by: Julian Oes <julian@oes.ch>
2023-05-07 21:48:27 -04:00
alexklimaj 000a3c10e2 Add ADIS16507 params 2023-05-06 17:11:42 -04:00
alexklimaj b12f5c4e31 adis16507 group delay should be subtracted from timestamp_sample 2023-05-06 17:11:42 -04:00
alexklimaj 2cef8a03d4 ARKV6X add ADIS16507 2023-05-06 17:11:42 -04:00
Silvan Fuhrer d2ca763d23 Navigator: set cruise_speed to default on entering new mode (#21503)
The resets in the modes (eg Loiter mode) are not active yet, so manually
set rep->current.cruising_speed = -1.f if not already in the same flight mode.

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
2023-05-05 15:53:17 +02:00
Julian Oes 40324b03f4 fmu-v6x: pulldown on RTS not required
On CTS with DMA, we need the pulldown but not on RTS.

Signed-off-by: Julian Oes <julian@oes.ch>
2023-05-05 02:49:25 -04:00
Julian Oes 3cc940cb06 fmu-v6c: fix Telem1, Telem2 without flow control
When flow control is used together with DMA, we need to add a pulldown
to CTS. Without it, it assumes flow control and gets stuck when
CTS is not connected.

Signed-off-by: Julian Oes <julian@oes.ch>
2023-05-05 08:02:58 +12:00
Beniamino Pozzan 9e5420bbbd microdds_client: rename to uxrce_dds_client
| | old version | new version (second proposal) |
|-|-|-|
| module name | `microdds_client` | **`uxrce_dds_client`** |
| strings / comments about the module | non consistent | **UXRCE-DDS Client** |
| menuconfig option | `MODULES_MICRODDS_CLIENT` | **`MODULES_UXRCE_DDS_CLIENT`** |
| module parameters group name | `Micro XRCE-DDS` | **UXRCE-DDS Client** |
| module parameters name prefix | `XRCE_DDS_` | `UXRCE_DDS_` |
| module class name | `MicroddsClient` | **`UxrceddsClient`** |
|`init.d/rcS` whenever the module is mentioned | `microdds` | **`uxrce_dds`** |
| main doc page name | XRCE-DDS (PX4-FastDDS Bridge) | **uXRCE-DDS (PX4-micro XRCE-DDS Bridge)**|
| environment variable to have custom namespace in simulation | PX4_MICRODDS_NS | **PX4_UXRCE_DDS_NS** |

Signed-off-by: Beniamino Pozzan <beniamino.pozzan@phd.unipd.it>
2023-05-03 11:51:53 -07:00
Julian Oes 1d4b66fcbc gps: use all injection data
When we fall back to another link, we are already doing a uORB copy when
checking the data. Therefore, we should further down use/send that data
instead of overwriting it immediately.

Signed-off-by: Julian Oes <julian@oes.ch>
2023-05-03 07:47:51 +02:00
Julian Oes 2fd3de8f45 gps: retry switching RTCM injection more often
I don't think it makes sense to slow down switching RTCM injection to
once every 5 seconds. If we don't have corrections, we should check and
use whatever we get as soon as possible.

Signed-off-by: Julian Oes <julian@oes.ch>
2023-05-03 07:47:51 +02:00
Julian Oes 6108b31e6a gps: reset RTCM instance
We need to reset the instance after looping through all instances.
Otherwise, we are left with the last instance if none is valid but have
not updated the _selected_rtcm_instance which is what is logged.

Therefore, this change fixes the logged RTCM instance.

Signed-off-by: Julian Oes <julian@oes.ch>
2023-05-03 07:47:51 +02:00
David Sidrane b6f19d5e9b Added is31fl3195 LED Driver 2023-05-02 10:50:24 -04:00
David Sidrane 409c1bbf7a PX4 icm42688p:Add Support for the ICM42686
icm42688p:Fix colission on custom1 from rebase
2023-05-02 10:50:24 -04:00
SalimTerryLi 9c467198be module_config: support custom actuators_metadata backed by module-level params 2023-05-02 10:09:52 +02:00