PX4 BuildBot
5e95820e14
Update submodule nuttx to latest Sun Dec 1 00:38:57 UTC 2019
...
- nuttx in PX4/Firmware (22a005c9f4
): 2d7920055f
- nuttx current upstream: 398a59aaa4
- Changes: 2d7920055f...398a59aaa4
398a59aaa4 2019-11-29 David Sidrane - [BACKPORT] stm32f7:ethernet: Add some delays so that ifup() does not hog the CPU.
5 years ago
David Sidrane
44c7b90a7b
stm32h7:Bootloader fix assertion caused by USB running
...
USB was still running in transition to Firmware. This
resets the USB
5 years ago
Beat Küng
0f42ecc5c7
durandal-v1: enable dshot
5 years ago
Daniel Agar
a7fbaefd83
NuttX cmake small debug helper improvements
5 years ago
Daniel Agar
a8ea55d9b6
remove all <cmath> usage
...
* the NuttX c++ library is incomplete, let's avoid including it until we have a real standard library in place
5 years ago
David Sidrane
bbd37ada41
holybro_durandal-v1: update cdcacm product id
5 years ago
David Sidrane
7ca8a8dbaa
durandal-v1:Bootloader
...
Change PID to 0x4b:
Holybro obtained their own PID and VID but APM did not follow
the PX4 convention of makeing the board_id (0x8b) match the PID)
Incorporated the Upstream Bootloader state sequencing checking change.
Change the usb cout to send all chars in 1 write.
5 years ago
Daniel Agar
1c4a8e7c11
cmake NuttX fix generated launch.json (vscode debug)
5 years ago
Daniel Agar
82fac4a0a7
cmake NuttX linker print memory usage
5 years ago
David Sidrane
67f27eb26c
NuttX @ Offical release of 8.2
5 years ago
Daniel Agar
8ce2f30aa6
NuttX cmake improve dependencies between configure and runtime
...
- attempting to make the build slightly more robust to incomplete configures or other bad states.
5 years ago
Daniel Agar
df73a6667d
NuttX cmake improvements
...
- fix temporary Make.defs copy
- implement custom macros for COMPILE, COMPILEXX, ASSEMBLE, ARCHIVE to enable ccache properly (if available and enabled)
- fix NuttX mkdeps
- fix libapps race condition with context
5 years ago
David Sidrane
850821f47f
[REVISIT] Support upstream DSHOT Revist!
...
The Addition of PX4_ARCH_DCACHE_LINESIZE is fundamentally wrong.
It asserst that an STM32F4 has a cache and it does not.
This should be #if defined() on CONFIG_ARMV7M_DCACHE
5 years ago
Daniel Agar
2af262ed1d
NuttX cmake build wrapper thorough dependencies
5 years ago
Daniel Agar
99aae8b891
NuttX use toolchain math.h and avoid empty drivers/Kconfig
5 years ago
David Sidrane
b2f28c977d
durandal-v1 Nuttx Based PX4 bootloader
...
durandal bootloader:Run at 480 Mhz
durandal-v1:bootloader use VBUS detection
Add Durandal bootloader to build
5 years ago
David Sidrane
65a26ec060
nxp_fmuk66-v1:Port to NuttX 8.1+
5 years ago
David Sidrane
e847698c9f
PX4 System changes Supporting STM32H7
...
stm32:ToneAlarmInterfacePWM TIM15-TIM17 have a BDTR Register
common:board_crashdump Add H7 support
stm32/board_mcu_version:Support H7
PX4 ADC:Use 32 interface and resoution abstraction
Added PX4 stm32h7 ADC driver
stm32h7:adc fix ADC ready check
fmu: handle BOARD_HAS_PWM==5
cmake: improve error handling for NuttX olddefconfig failures
WorkQueueManager:Quiet loadmon stack warning
camera_trigger:GPIO support < 6 GPIO
Adjust stack sizes (under hw stack check)
PX4 System changes Supporting STM32H7 PX4IO Driver
aerotenna_ocpoc:ADC add px4_arch_adc_dn_fullcount
init.cmake:Track Upstream change needing Make.def at config time
PX4 System changes Supporting STM32H7
NuttX CMakeLists.txt Track upstream changes
Common board_crashdump add header and px4 config
NuttX simplify callinb make libapps
Use UINT32_MAX for error return
drivers:uavcannode NuttX chip is now hardware
drivers:uavcanesc NuttX chip is now hardware
px4io:Avoid Race on AP to PX4 IO upgrade
5 years ago
David Sidrane
36a75b79a4
uavcan:Changes to support Nuttx 7.31+
...
libuavcan:Update with Kinetis NuttX 8.1+ support
Traking master uavcan changes
5 years ago
David Sidrane
522ed2d99b
NuttX based PX4 bootloader
...
stm32h7 booloader:Obey VBUS input
stm32h7 booloader:Fully deinit systic
5 years ago
Beat Küng
78944a70c3
Upgrade NuttX to 8.2
...
Nuttx with PX4 contrib of bbsram fix
Nuttx 8.31+ with BBSRAM disable dcache
Nuttx 8.2-
5 years ago
Daniel Agar
7bf9700426
NuttX: math.h drop extra math defines carried in PX4 defines.h
5 years ago
Matthias Grob
933ff8d480
Remove duplicate EOF trailing newlines
...
because they can screw up git when merging branches.
5 years ago
David Sidrane
a3e2777208
NuttX/nuttx with SDIO fixes ( #13311 )
...
* NuttX/nuttx with SDIO fixes
5 years ago
Beat Küng
1dd6b6a505
stm32f3: add libs and stubs for F3 build (thiemar_s2740vc-v1)
5 years ago
Beat Küng
3b7c1b4ff1
src/drivers/boards: move to platforms/nuttx/src/px4/common
5 years ago
Beat Küng
be7ed5e388
src/drivers/boards/common/{stm32,kinetis}: move under platforms/nuttx/src/px4
5 years ago
Beat Küng
58e161347b
board_mcu_version: move to platforms/nuttx/src/px4
5 years ago
Beat Küng
e7519c9fa0
board_identity: move to platforms/nuttx/src
...
And fix a potential alignment issue in board_get_mfguid and
board_get_px4_guid.
5 years ago
Beat Küng
b30171ba8d
board_common.h: move under platforms/common
...
Also move board_determine_hw_info and board_gpio_init under platforms/nuttx
5 years ago
Beat Küng
3198610f85
src/platforms: move all headers to platforms/common/include/px4_platform_common
...
and remove the px4_ prefix, except for px4_config.h.
command to update includes:
for k in app.h atomic.h cli.h console_buffer.h defines.h getopt.h i2c.h init.h log.h micro_hal.h module.h module_params.h param.h param_macros.h posix.h sem.h sem.hpp shmem.h shutdown.h tasks.h time.h workqueue.h; do for i in $(grep -rl 'include <px4_'$k src platforms boards); do sed -i 's/#include <px4_'$k'/#include <px4_platform_common\/'$k/ $i; done; done
for in $(grep -rl 'include <px4_config.h' src platforms boards); do sed -i 's/#include <px4_config.h/#include <px4_platform_common\/px4_config.h'/ $i; done
Transitional headers for submodules are added (px4_{defines,log,time}.h)
5 years ago
Daniel Agar
4192414576
clang-tidy: partially fix cppcoreguidelines-pro-type-reinterpret-cast
5 years ago
Igor Mišić
f4ee9141cb
DShot: updated driver to use NuttX DMA functions ( #13233 )
5 years ago
Beat Küng
17551a99f8
io_timer: fix potential invalid memory access
5 years ago
Beat Küng
8a9744d05a
dshot: allow boards to enable dshot only on a subset of the timers
5 years ago
Beat Küng
d0a7490222
dshot: update timer generation before DMA request
...
This reloads the timer configuration before triggering DMA. Without that,
in rare cases, there were 17 bits sent instead of 16.
The 1. bit (1. pulse) was always wrong (too much), the rest of the bits
were the correct DShot packet that was meant to be sent.
5 years ago
Beat Küng
7445c25fcc
dshot: check if DMA still in progress
...
No other functional change, just restructuring.
5 years ago
Beat Küng
182efaa757
dshot: reduce static buffer size
...
And handle failures of up_dshot_init().
On Omnibus: reduces memory usage if dshot is enabled by ~1.0KB.
The buffer is roughly 1KB in size.
5 years ago
Beat Küng
69c10dcaac
dshot: move implementation to a separate directory & library
...
So that the static memory overhead is not added to targets w/o dshot
5 years ago
Beat Küng
23dbd9426a
dshot: handle dcache, flush cache before DMA transfer
5 years ago
Beat Küng
3234aca53b
px4_micro_hal: add PX4_ARCH_DCACHE_LINESIZE definition
5 years ago
Igor Mišić
5bd9659301
stm32 timers: add dshot implementation
5 years ago
Daniel Agar
86dc4c5a00
cmake generate vscode launch.json
5 years ago
Daniel Agar
fb7521eb5e
cmake px4_base -> px4_parse_function_args
5 years ago
Daniel Agar
d27dfcd921
NuttX CMakeLists.txt extract helpers (jlink, upload, etc)
5 years ago
Beat Küng
43fdcd7876
px4_middleware: remove that header and move px4::init to px4_init.h
...
delete include:
for i in $(grep -rl 'px4_middleware.h' src platforms); do sed -i '/#include <px4_middleware.h/d' $i; done
6 years ago
Beat Küng
f32abe8534
src/platforms: move remaining source files to platforms/common
6 years ago
Beat Küng
f8e0441e7b
src/platforms/common: move to platforms/common
...
Script to update include paths:
for i in $(grep -rl 'include <px4_work_queue' src platforms); do sed -i 's/#include <px4_work_queue/#include <px4_platform_common\/px4_work_queue/' $i; done
6 years ago
Beat Küng
3bdfd8ce8d
ToneAlarmInterface: move to drivers/drv_tone_alarm
...
It belongs there since it's not a library providing the implementation, but
just declaring the interface.
6 years ago
Beat Küng
f3fccf53f6
src/drivers/{kinetis,stm32}: move to arch-specific directories
6 years ago