Daniel Agar
7314b69adc
cmake: fix jlink_flash_uavcan_bin helper
4 years ago
Daniel Agar
8f242ec444
cmake: add jlink_flash_uavcan_bin helper
4 years ago
Daniel Agar
6a6352577c
cmake: nuttx error if GCC <= 7
4 years ago
Daniel Agar
f725813128
add bootloader flash helper target (jlink_flash_bootloader)
4 years ago
CUAVcaijie
70b67ddbff
Add a USB ardupilot * type
4 years ago
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
4 years ago
Daniel Agar
0f0706be91
platforms/nuttx: init.cmake skip config lines with empty values
5 years ago
Hyon Lim
0b3624ab5f
To make UVify device compatible with upload script, we changed device name to be more generalized.
5 years ago
David Sidrane
80ac80b5e4
s32k1xx:Add stubbed out chip and arch
5 years ago
Daniel Agar
e6d7612997
cmake jlink add path hints for macos
5 years ago
David Sidrane
490fe8256f
Add nxp imxrt device support
5 years ago
Daniel Agar
b47eaa6061
update C++ standard (c++11 -> c++14)
...
- temporarily disable snapdragon builds until toolchain is updated
5 years ago
Daniel Agar
de4f594937
DriverFramework purge
...
The bulk of this change was tightly coupled and needed to be deleted in one pass. Some of the smaller changes were things that broke as a result of the initial purge and subsequently fixed by further eradicating unnecessary platform differences. Finally, I deleted any dead code I came across in the related files I touched while going through everything.
- DriverFramework (src/lib/DriverFramework submodule) completely removed
- added dspal submodule in qurt platform (was brought in via DriverFramework)
- all df wrapper drivers removed
- all boards using df wrapper drivers updated to use in tree equivalents
- unused empty arch/board.h on posix and qurt removed
- unused IOCTLs removed (pub block, priv, etc)
- Integrator delete methods only used from df wrapper drivers
- commander: sensor calibration use "NuttX version" everywhere for now
- sensors: update to px4_{open, read, close} instead of DevMgr wrapper (adc open for analog differential pressure)
- battery_status: update to px4_{open, read, close} instead of DevMgr wrapper (adc open for analog differential pressure)
- cdev cleanup conflicting typedefs and names with actual OS (pollevent_t, etc)
- load_mon and top remove from linux boards (unused)
- delete unused PX4_MAIN_FUNCTION
- delete unused getreg32 macro
- delete unused SIOCDEVPRIVATE define
- named each platform tasks consistently
- posix list_devices and list_topics removed (list_files now shows all virtual files)
5 years ago
Daniel Agar
7166b867e1
NuttX stackcheck exclude PX4 Matrix and Param
...
- instrumenting PX4 Matrix and Param methods is too burdensome
- partially restore px4_fmu-v5_stackcheck and holybro_durandal-v1_stackcheck to match default configs
5 years ago
Daniel Agar
a7fbaefd83
NuttX cmake small debug helper improvements
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
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
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
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
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
f3fccf53f6
src/drivers/{kinetis,stm32}: move to arch-specific directories
6 years ago
Beat Küng
ab43a83bed
platform: restructure (NuttX) architecture-specific code
...
updated: tone_alarm, px4io_serial, px4_micro_hal
6 years ago
Beat Küng
d95aae4619
Generic-arm-none-eabi-gcc-cortex-m7: use SP float depending on NuttX config
...
Not all m7 boards support double, as for example the STM32F745.
6 years ago
Daniel Agar
dc10a68539
NuttX and apps update 7.29
6 years ago
Daniel Agar
8541f4b0cf
cmake nuttx use defconfig matching config label if available
...
- otherwise use default nsh
6 years ago
Daniel Agar
296d7900a0
cmake fix NuttX build dependencies
6 years ago
Daniel Agar
9fd0bbe30f
NuttX build include and use Kconfiglib (python)
6 years ago
Daniel Agar
94cab1f9a9
update cmake NuttX helper save behaviour (oldconfig, menuconfig, etc)
6 years ago
Daniel Agar
40e42a677b
NuttX cmake support optional compressed defconfigs
6 years ago
David Sidrane
d294b40fcb
Changes to suport Nuttx c++ lib rename
6 years ago
David Sidrane
e505fe859d
Update Nuttx and NuttX-apps to 7.28+
6 years ago
Daniel Agar
1f8c0e79e8
cmake toolchains force cache cpu flags and don't append
...
- these flags were accumlating on top of each other anytime cmake had to reconfigure
6 years ago
Daniel Agar
3e0a3559a9
cmake use standard mechanisms for settings flags
6 years ago
Daniel Agar
11be2b8873
cmake split px4_base into px4_add_module, px4_add_library, px4_add_common_flags
6 years ago
Daniel Agar
fa0fe4cac6
cmake remove need for platform px4_add_board_os
...
- explicitly set TOOLCHAIN on all NuttX targets
6 years ago
Daniel Agar
abb3817d31
boards new split VENDOR_MODEL naming convention
6 years ago
Daniel Agar
f692ad04d0
boards organization
6 years ago
Daniel Agar
7cc0e69fcd
add px4fmu-v{3,4,5} stackcheck configs
7 years ago
David Sidrane
4f2aa51767
px4_impl_os:Use the defconfig CONFIG_ARMV7M_STACKCHECK
...
To enable coherent runtime stack checking use the boards
CONFIG_ARMV7M_STACKCHECK setting
7 years ago
Daniel Agar
01744a9efc
Jenkins px4fmu-v2 hardware test
7 years ago
Joshua Whitehead
3b6b1ee066
Use Nuttx defconfig defines to determine arch ( #9516 )
...
These hard coded paths assume all Nuttx targets are ARMv7-M targets. Updating them to use ${CONFIG_ARCH} and ${CONFIG_ARCH_FAMILY} instead allows for the architecture defined by the incoming Nuttx defconfig to be correctly targeted.
7 years ago
Daniel Agar
ea3acb7121
cmake remove circular linking and reorganize
...
- px4_add_module now requires MAIN
- px4_add_library doesn't automatically link
7 years ago
Daniel Agar
2ff81393bc
move posix, nuttx, qurt components into platforms
7 years ago
Daniel Agar
02c4ec9b2a
move nuttx-configs to platforms/nuttx
7 years ago
Daniel Agar
678e2c415d
move cmake/${OS} to platforms
7 years ago