mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
* feat: configurable board pwm freq from Kconfig * feat: add board_pwm_config to submenu * fix: define sequence correction * fix: revert Tools/simulation/gz * fix: track upstream gz * fix: track upstream mavlink * feat: adjustable pwm for multiple board types * feat: add conditional check for CONFIG_ for correct fallback * add: spacecraft board with correct BOARD_PWM_FREQ supporting 10Hz actuation rate * fix: set dependencies for submenu arch chips * fix: keep only upper arch level * fix: proper checking - still not showing up for board config * feat: add hidden kconfig for platforms * Merge Nuttx config into px4board Allows to expose nuttx into PX4 if needed * Kconfig: Include nuttx symbols in updateconfig Only if applicable i.e. defined in the kconfig * fix: merged config with previously generated boardconfig * doc: updated code comment --------- Co-authored-by: Daniel Agar <daniel@agar.ca> Co-authored-by: Peter van der Perk <peter.vanderperk@nxp.com>
27 lines
577 B
Plaintext
27 lines
577 B
Plaintext
choice
|
|
prompt "NuttX platform"
|
|
---help---
|
|
This automatically gets set by the NuttX defconfig
|
|
config ARCH_CHIP_UNSET
|
|
bool "Unset"
|
|
config ARCH_CHIP_STM32H7
|
|
bool "STM32H7"
|
|
config ARCH_CHIP_STM32F7
|
|
bool "STM32F7"
|
|
config ARCH_CHIP_STM32F4
|
|
bool "STM32F4"
|
|
config ARCH_CHIP_IMXRT
|
|
bool "IMXRT"
|
|
config ARCH_CHIP_S32K3XX
|
|
bool "S32K3XX"
|
|
config ARCH_CHIP_RP2040
|
|
bool "RP2040"
|
|
endchoice
|
|
|
|
config BOARD_PWM_FREQ
|
|
int "Board default PWM frequency"
|
|
default 160000000 if ARCH_CHIP_S32K3XX
|
|
default 1000000 if !ARCH_CHIP_S32K3XX
|
|
---help---
|
|
Board default PWM frequency
|