Daniel Agar
23aa9ac70f
cmake nuttx add STM32H7 debug helpers
2020-10-02 11:31:18 -04:00
David Sidrane
529d816a39
px4_fmu-v6x:Support ETM Hardware Trace
2020-09-28 10:59:39 -04:00
PX4 BuildBot
b5df4f76cc
Update submodule nuttx to latest Sat Sep 26 15:30:26 UTC 2020
...
- nuttx in PX4/Firmware (59f5b841a6 ): https://github.com/PX4/NuttX/commit/a8b7ca869e08e0ca58f20ae1e5732220ef98846f
- nuttx current upstream: https://github.com/PX4/NuttX/commit/0fe69f6cc0a6f202b61ff81be0560cafb8f3a89d
- Changes: https://github.com/PX4/NuttX/compare/a8b7ca869e08e0ca58f20ae1e5732220ef98846f...0fe69f6cc0a6f202b61ff81be0560cafb8f3a89d
0fe69f6cc0 2020-09-25 David Sidrane - [BACKPORT] stm32f7:serial Bug Fix: Ensure next buffer is processed
2020-09-26 09:47:03 -07:00
Daniel Agar
0a607bdc67
boards: CUAV CAN_GPS v1.2 cannode (stm32f412) with UAVCAN bootloader
2020-09-23 14:30:54 -04:00
Daniel Agar
e4a408bc55
cmake nuttx build modify copied nuttx repo .git to point to actual git dir
...
- this fixes builds that contain a px4io and use the Makefile generator rather than Ninja
2020-09-21 12:39:29 -04:00
Daniel Agar
940dc9cca0
cmake NuttX build fix path to git dir
...
- this relative path was incorrect for the px4io when using the Makefile generator and built for inclusion within another build (eg px4_fmu-v5_default)
2020-09-18 21:18:36 -04:00
David Sidrane
c948d41284
up_cxxinitialize:is now automatic in task start
2020-09-16 21:32:04 -04:00
David Sidrane
df30f29a55
NuttX/Make.defs.in Support PROBEs
2020-09-16 21:32:04 -04:00
David Sidrane
fbf110f6be
Use EXTRAFLAGS instead of EXTRADEFINES
2020-09-16 21:32:04 -04:00
David Sidrane
b2a31e15da
common:board_crashdump.c track upstream API change
2020-09-16 21:32:04 -04:00
David Sidrane
c49c767d78
NuttX add compiler dependent: disable no-stringop-truncation
2020-09-16 21:32:04 -04:00
David Sidrane
4d64065422
NuttX:Make.defs.in fix macro to not kill flock
2020-09-16 21:32:04 -04:00
David Sidrane
852d5ceb22
NuttX CMakeLists build .version file in build
2020-09-16 21:32:04 -04:00
David Sidrane
68e3fd9f37
cpuload Updates for NuttX 9.1.0-
2020-09-16 21:32:04 -04:00
David Sidrane
b32aab2d0f
platform Updates for NuttX 9.1.0-
2020-09-16 21:32:04 -04:00
David Sidrane
c57024e6bb
NuttX 9.1.0-
2020-09-16 21:32:04 -04:00
Daniel Agar
2b18b05a8a
vscode updates and improvements
...
- fix gazebo SITL debug
- now prompts you to select vehicle
- devcontainer.json container support https://code.visualstudio.com/docs/remote/containers
- this allows you to jump straight into working within a container (px4-dev-nuttx) on a fresh machine
- also helps with Codespaces https://github.com/features/codespaces
- plugin updates
- cpp extension pack, spell checking, CTest support
- cleanup intellisense
- the backup tag parser was a resource hog and didn't work very well
- fix problemMatcher support so that you can click on a build failure
2020-09-16 09:07:54 -04:00
David Sidrane
6c4a1d01c1
NuttX Critical STM32H7 Interrupt Storm on I2C
2020-09-07 15:15:52 -04:00
Daniel Agar
cea1a19fe6
NuttX sched notes add C linkage
2020-09-06 19:18:42 +02:00
Daniel Agar
023f6d3983
NuttX cpuload monitoring optimization
...
- Nuttx only process all suspend & resume scheduling notes when top is running, otherwise only track IDLE
- convert cpuload and print load to c++
- delete unused fields from print_load struct
- update hrt_store_absolute_time (previous unused)
2020-09-05 14:35:50 -04:00
David Sidrane
7f91e41f67
hardfault_log:Add Fault Status registers
2020-09-03 14:55:09 +02:00
CUAVcaijie
536877cf0a
boards: add UAVCAN timer override mechanism and CUAV X7 add CAN ( #15348 )
...
* X7Pro adds CAN driver
* UAVCAN timer selection moved to default.cmake
* Modify some details about @CUAVcaijie UAVCAN timer selection moved to default.cmake
* Put some timer parameters to micro_hal.h from board_config.h. Fix all h7 boards
Co-authored-by: honglang <honglang@cuav.net >
2020-08-28 12:16:48 -04:00
PX4 BuildBot
67c134303c
Update submodule nuttx to latest Fri Aug 28 00:39:53 UTC 2020
...
- nuttx in PX4/Firmware (f055557104 ): https://github.com/PX4/NuttX/commit/925b7b513b8f7b683bfea43923a8beb2a0ad5a61
- nuttx current upstream: https://github.com/PX4/NuttX/commit/863ed53e3fb1cebbb0832ec28fbc11e16566e89e
- Changes: https://github.com/PX4/NuttX/compare/925b7b513b8f7b683bfea43923a8beb2a0ad5a61...863ed53e3fb1cebbb0832ec28fbc11e16566e89e
863ed53e3f 2020-06-15 David Sidrane - [BACKPORT] kinetis:Ethernet fixed & better interrupt management
2020-08-27 21:41:09 -04:00
David Sidrane
8d2ce355f2
Nuttx Backport add RTR
2020-08-26 13:05:23 +02:00
David Sidrane
622903f7de
Nuttx Backport add extern C under cpp
2020-08-26 13:05:23 +02:00
David Sidrane
157aa36c1e
NuttX based bootloader:Track QGC change in sequnsing
...
It appear that QGC is now resyncing between operation.
This was causing the bl_state to be reset to STATE_PROTO_GET_SYNC
and loosing the state of (STATE_PROTO_GET_SYNC|STATE_PROTO_GET_DEVICE)
2020-08-14 10:58:23 -04:00
David Sidrane
c46d5e8535
Nuttx with TX DMA fix
2020-08-11 12:27:28 -04:00
Beat Küng
b6052fbb11
nuttx: update submodule
2020-08-06 00:08:23 -04:00
David Sidrane
e2a9b68fc7
kinetis:Add kinetis_gpiosetevent in PX4 layer
...
Adds a compatible gpiosetevent interface. The helper call the
low level functions while providing a consistent API with
xxxx_ gpiosetevent(uint32_t pinset, bool risingedge,
bool fallingedge, bool event, xcpt_t func,
void *arg);
This wrapper was rjected upstream.
2020-07-31 09:46:27 -04:00
David Sidrane
e67486d603
nxp:Add support for rev E HW nxp_fmuk66-e
2020-07-31 09:46:27 -04:00
Daniel Agar
9426c68a13
cmake: only allow gold linker for posix builds
...
- the gold linker doesn't currently work for NuttX builds
- NuttX skip --print-memory-usage if using the GOLD linker
- fixes #15400
2020-07-23 09:41:35 -04:00
PX4 BuildBot
fb2ebc9379
Update submodule nuttx to latest Sun Jul 19 12:39:45 UTC 2020
...
- nuttx in PX4/Firmware (2624730b02 ): https://github.com/PX4/NuttX/commit/61742342ec979867dbe4b85c89a6821656090ee2
- nuttx current upstream: https://github.com/PX4/NuttX/commit/dc10293feb724d50f6a0a64a068b47cb8cdae631
- Changes: https://github.com/PX4/NuttX/compare/61742342ec979867dbe4b85c89a6821656090ee2...dc10293feb724d50f6a0a64a068b47cb8cdae631
dc10293feb 2020-05-25 Claudio Micheli - [BACKPORT] stm32l4: extend CAN ioctrl with NART/ABOM. Add RTR to CAN header
5735f765e2 2020-05-25 Claudio Micheli - [BACKPORT] stm32: extend CAN ioctrl with NART/ABOM. Add RTR to CAN header
4dc9ae05f5 2020-05-25 Claudio Micheli - [BACKPORT] stm32f7: Add the option to include RTR in CAN header
bdd9e786e1 2020-04-21 Beat Küng - [BACKPORT] stm32f7: add CANIOC_SET_NART and CANIOC_SET_ABOM ioctl's to can driver
2020-07-19 06:47:11 -07:00
PX4 BuildBot
cfcdab3992
Update submodule nuttx to latest Wed Jul 15 12:39:46 UTC 2020
...
- nuttx in PX4/Firmware (fbc4fa04c3 ): https://github.com/PX4/NuttX/commit/f5925e194e82b0658b0176a9657820a396674642
- nuttx current upstream: https://github.com/PX4/NuttX/commit/61742342ec979867dbe4b85c89a6821656090ee2
- Changes: https://github.com/PX4/NuttX/compare/f5925e194e82b0658b0176a9657820a396674642...61742342ec979867dbe4b85c89a6821656090ee2
61742342ec 2020-07-09 Beat Küng - [BACKPORT] gpio: extend gpio_pintype_e for pulldown/up and opendrain
2020-07-15 09:59:37 -04:00
Daniel Agar
0f0706be91
platforms/nuttx: init.cmake skip config lines with empty values
2020-07-06 11:13:15 -04:00
Daniel Agar
32887193d6
systemcmds/tests: remove autodeclination test (moving to PX4/ecl)
2020-06-23 10:34:25 -04:00
David Sidrane
df73662d66
nxp_fmuk66-v3:Add Full networking support
2020-06-22 18:43:03 -04:00
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)
2020-06-15 10:19:14 -04:00
CUAVcaijie
8aed6b2240
STM32H7 adds led_pwm driver
2020-06-11 12:02:49 -04:00
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
2020-06-04 20:59:52 -04:00
David Sidrane
29d4d7c9fe
Update NuttX with stm32h7 sdmmc backport
2020-06-03 12:51:25 -04:00
David Sidrane
7aac0c5ac3
platforms/nuttx/NuttX/nuttx back ports for H7
2020-06-02 13:02:51 -04:00
David Sidrane
9beca65600
stm32_common:board_mcu_version expand to include STM32H7[4|5]
...
Todate I have not fould a way to differentiate a 74 from a 75.
as all parts map to Device ID 0x450: STM32H742, STM32H743/753
and STM32H750.
One the CPU is fully differentiate in Nuttx, this can be a
#ifdef.
2020-06-02 13:02:51 -04:00
David Sidrane
19cf2f47ac
stm32h7:adc read & clear EOC on init
2020-06-02 13:02:51 -04:00
David Sidrane
bd1f69fb76
stm32_common:board_hw_rev_ver Support 16 Bit ADC
2020-06-02 13:02:51 -04:00
David Sidrane
2c9a522f71
stm32_common:adc read & clear EOC on init
2020-06-02 13:02:51 -04:00
David Sidrane
37c1837ceb
PX4:stm32_common/ToneAlarmInterfacePWM.cpp Extend for STM32H7
2020-06-02 13:02:51 -04:00
David Sidrane
46276e11b5
NuttX with stm32h7 backports
2020-05-27 10:56:32 -04:00
David Sidrane
ef664f3c23
stm32_common:board_hw_rev_ver Fix printing of REV/VER = 10
2020-05-23 11:45:24 -04:00
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
2020-05-06 13:53:54 -04:00
Daniel Agar
d89b7804f7
boards: initial CUAV X7Pro support (not complete)
...
- this is booting and functional, but still missing a few things
- still needs full PWM output, verification of all sensor rotations and IO, etc
2020-05-01 20:59:28 -04:00