-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
durandal-v1 Nuttx Based PX4 bootloader
- Loading branch information
Showing
8 changed files
with
884 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
px4_add_board( | ||
PLATFORM nuttx | ||
VENDOR holybro | ||
MODEL durandal-v1 | ||
LABEL bootloader | ||
TOOLCHAIN arm-none-eabi | ||
ARCHITECTURE cortex-m7 | ||
|
||
|
||
DRIVERS | ||
# bootloader | ||
|
||
MODULES | ||
|
||
SYSTEMCMDS | ||
|
||
EXAMPLES | ||
|
||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,256 @@ | ||
# | ||
# This file is autogenerated: PLEASE DO NOT EDIT IT. | ||
# | ||
# You can use "make menuconfig" to make any modifications to the installed .config file. | ||
# You can then do "make savedefconfig" to generate a new defconfig file that includes your | ||
# modifications. | ||
# | ||
# CONFIG_DISABLE_OS_API is not set | ||
# CONFIG_DISABLE_PSEUDOFS_OPERATIONS is not set | ||
# CONFIG_MMCSD_HAVE_CARDDETECT is not set | ||
# CONFIG_MMCSD_HAVE_WRITEPROTECT is not set | ||
# CONFIG_MMCSD_MMCSUPPORT is not set | ||
# CONFIG_MMCSD_SPI is not set | ||
# CONFIG_NSH_DISABLEBG is not set | ||
# CONFIG_NSH_DISABLESCRIPT is not set | ||
# CONFIG_NSH_DISABLE_DF is not set | ||
# CONFIG_NSH_DISABLE_EXEC is not set | ||
# CONFIG_NSH_DISABLE_EXIT is not set | ||
# CONFIG_NSH_DISABLE_GET is not set | ||
# CONFIG_NSH_DISABLE_ITEF is not set | ||
# CONFIG_NSH_DISABLE_LOOPS is not set | ||
# CONFIG_NSH_DISABLE_SEMICOLON is not set | ||
# CONFIG_NSH_DISABLE_TIME is not set | ||
CONFIG_ARCH="arm" | ||
CONFIG_ARCH_BOARD_CUSTOM=y | ||
CONFIG_ARCH_BOARD_CUSTOM_DIR="../nuttx-config" | ||
CONFIG_ARCH_BOARD_CUSTOM_DIR_RELPATH=y | ||
CONFIG_ARCH_BOARD_CUSTOM_NAME="px4" | ||
CONFIG_ARCH_CHIP="stm32h7" | ||
CONFIG_ARCH_CHIP_STM32H743ZI=y | ||
CONFIG_ARCH_CHIP_STM32H7=y | ||
CONFIG_ARCH_INTERRUPTSTACK=512 | ||
CONFIG_ARCH_MATH_H=y | ||
CONFIG_ARCH_STACKDUMP=y | ||
CONFIG_ARMV7M_BASEPRI_WAR=y | ||
# this is off because H7 is not maintaining alignment yet CONFIG_ARMV7M_DCACHE=y | ||
CONFIG_ARMV7M_DTCM=y | ||
CONFIG_ARMV7M_ICACHE=y | ||
CONFIG_ARMV7M_MEMCPY=y | ||
CONFIG_ARMV7M_USEBASEPRI=y | ||
CONFIG_BOARDCTL_RESET=y | ||
CONFIG_BOARD_CRASHDUMP=y | ||
CONFIG_BOARD_LOOPSPERMSEC=22114 | ||
CONFIG_BOARD_RESET_ON_ASSERT=2 | ||
CONFIG_BUILTIN=y | ||
CONFIG_C99_BOOL8=y | ||
CONFIG_CDCACM=y | ||
CONFIG_CDCACM_PRODUCTID=0x008b | ||
CONFIG_CDCACM_PRODUCTSTR="PX4 DurandalV1" | ||
CONFIG_CDCACM_RXBUFSIZE=600 | ||
CONFIG_CDCACM_TXBUFSIZE=12000 | ||
CONFIG_CDCACM_VENDORID=0x26ac | ||
CONFIG_CDCACM_VENDORSTR="Holybro" | ||
CONFIG_CLOCK_MONOTONIC=y | ||
CONFIG_DEBUG_FULLOPT=y | ||
CONFIG_DEBUG_HARDFAULT_ALERT=y | ||
CONFIG_DEBUG_SYMBOLS=y | ||
CONFIG_DEFAULT_SMALL=y | ||
CONFIG_DEV_FIFO_SIZE=0 | ||
CONFIG_DEV_PIPE_MAXSIZE=1024 | ||
CONFIG_DEV_PIPE_SIZE=70 | ||
CONFIG_EXPERIMENTAL=y | ||
CONFIG_FAT_DMAMEMORY=y | ||
CONFIG_FAT_LCNAMES=y | ||
CONFIG_FAT_LFN=y | ||
CONFIG_FAT_LFN_ALIAS_HASH=y | ||
CONFIG_FDCLONE_STDIO=y | ||
CONFIG_FS_BINFS=y | ||
CONFIG_FS_CROMFS=y | ||
CONFIG_FS_FAT=y | ||
CONFIG_FS_FATTIME=y | ||
CONFIG_FS_PROCFS=y | ||
CONFIG_FS_PROCFS_EXCLUDE_BLOCKS=y | ||
CONFIG_FS_PROCFS_EXCLUDE_MOUNT=y | ||
CONFIG_FS_PROCFS_EXCLUDE_MOUNTS=y | ||
CONFIG_FS_PROCFS_EXCLUDE_PARTITIONS=y | ||
CONFIG_FS_PROCFS_EXCLUDE_USAGE=y | ||
CONFIG_FS_PROCFS_REGISTER=y | ||
CONFIG_FS_ROMFS=y | ||
CONFIG_GRAN=y | ||
CONFIG_GRAN_INTR=y | ||
CONFIG_HAVE_CXX=y | ||
CONFIG_HAVE_CXXINITIALIZE=y | ||
CONFIG_I2C=y | ||
CONFIG_I2C_RESET=y | ||
CONFIG_IDLETHREAD_STACKSIZE=750 | ||
CONFIG_LIBC_FLOATINGPOINT=y | ||
CONFIG_LIBC_LONG_LONG=y | ||
CONFIG_LIBC_STRERROR=y | ||
CONFIG_MAX_TASKS=64 | ||
CONFIG_MAX_WDOGPARMS=2 | ||
CONFIG_MEMSET_64BIT=y | ||
CONFIG_MEMSET_OPTSPEED=y | ||
CONFIG_MMCSD=y | ||
CONFIG_MMCSD_MULTIBLOCK_DISABLE=y | ||
CONFIG_MMCSD_SDIO=y | ||
CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE=y | ||
CONFIG_MM_REGIONS=3 | ||
CONFIG_MTD=y | ||
CONFIG_MTD_BYTE_WRITE=y | ||
CONFIG_MTD_PARTITION=y | ||
CONFIG_MTD_PROGMEM=y | ||
CONFIG_MTD_RAMTRON=y | ||
CONFIG_NFILE_DESCRIPTORS=20 | ||
CONFIG_NFILE_STREAMS=8 | ||
CONFIG_NSH_ARCHINIT=y | ||
CONFIG_NSH_ARCHROMFS=y | ||
CONFIG_NSH_ARGCAT=y | ||
CONFIG_NSH_BUILTIN_APPS=y | ||
CONFIG_NSH_CMDPARMS=y | ||
CONFIG_NSH_CROMFSETC=y | ||
CONFIG_NSH_DISABLE_IFCONFIG=y | ||
CONFIG_NSH_DISABLE_IFUPDOWN=y | ||
CONFIG_NSH_DISABLE_MB=y | ||
CONFIG_NSH_DISABLE_MH=y | ||
CONFIG_NSH_DISABLE_TELNETD=y | ||
CONFIG_NSH_LINELEN=128 | ||
CONFIG_NSH_MAXARGUMENTS=12 | ||
CONFIG_NSH_NESTDEPTH=8 | ||
CONFIG_NSH_QUOTE=y | ||
CONFIG_NSH_ROMFSETC=y | ||
CONFIG_NSH_ROMFSSECTSIZE=128 | ||
CONFIG_NSH_STRERROR=y | ||
CONFIG_NSH_VARS=y | ||
CONFIG_NXFONTS_DISABLE_16BPP=y | ||
CONFIG_NXFONTS_DISABLE_1BPP=y | ||
CONFIG_NXFONTS_DISABLE_24BPP=y | ||
CONFIG_NXFONTS_DISABLE_2BPP=y | ||
CONFIG_NXFONTS_DISABLE_32BPP=y | ||
CONFIG_NXFONTS_DISABLE_4BPP=y | ||
CONFIG_NXFONTS_DISABLE_8BPP=y | ||
CONFIG_PIPES=y | ||
CONFIG_PREALLOC_MQ_MSGS=4 | ||
CONFIG_PREALLOC_TIMERS=50 | ||
CONFIG_PREALLOC_WDOGS=50 | ||
CONFIG_PRIORITY_INHERITANCE=y | ||
CONFIG_PTHREAD_MUTEX_ROBUST=y | ||
CONFIG_PTHREAD_STACK_MIN=512 | ||
CONFIG_RAMTRON_SETSPEED=y | ||
CONFIG_RAMTRON_WRITEWAIT=y | ||
CONFIG_RAM_SIZE=245760 | ||
CONFIG_RAM_START=0x20010000 | ||
CONFIG_RAW_BINARY=y | ||
CONFIG_RTC_DATETIME=y | ||
CONFIG_SCHED_ATEXIT=y | ||
CONFIG_SCHED_HPWORK=y | ||
CONFIG_SCHED_HPWORKPRIORITY=249 | ||
CONFIG_SCHED_HPWORKSTACKSIZE=1280 | ||
CONFIG_SCHED_INSTRUMENTATION=y | ||
CONFIG_SCHED_LPWORK=y | ||
CONFIG_SCHED_LPWORKPRIORITY=50 | ||
CONFIG_SCHED_LPWORKSTACKSIZE=1536 | ||
CONFIG_SCHED_WAITPID=y | ||
CONFIG_SDCLONE_DISABLE=y | ||
CONFIG_SDMMC1_SDIO_MODE=y | ||
CONFIG_SEM_NNESTPRIO=8 | ||
CONFIG_SEM_PREALLOCHOLDERS=0 | ||
CONFIG_SERIAL_IFLOWCONTROL_WATERMARKS=y | ||
CONFIG_SERIAL_TERMIOS=y | ||
CONFIG_SIG_DEFAULT=y | ||
CONFIG_SIG_SIGALRM_ACTION=y | ||
CONFIG_SIG_SIGUSR1_ACTION=y | ||
CONFIG_SIG_SIGUSR2_ACTION=y | ||
CONFIG_SIG_SIGWORK=4 | ||
CONFIG_STACK_COLORATION=y | ||
CONFIG_START_DAY=30 | ||
CONFIG_START_MONTH=11 | ||
CONFIG_STDIO_BUFFER_SIZE=32 | ||
CONFIG_STM32H7_ADC1=y | ||
CONFIG_STM32H7_BBSRAM=y | ||
CONFIG_STM32H7_BBSRAM_FILES=5 | ||
CONFIG_STM32H7_BKPSRAM=y | ||
CONFIG_STM32H7_DMA1=y | ||
CONFIG_STM32H7_DMA2=y | ||
CONFIG_STM32H7_DMACAPABLE=y | ||
CONFIG_STM32H7_DTCMEXCLUDE=y | ||
CONFIG_STM32H7_DTCM_PROCFS=y | ||
CONFIG_STM32H7_FLOWCONTROL_BROKEN=y | ||
CONFIG_STM32H7_I2C1=y | ||
CONFIG_STM32H7_I2C2=y | ||
CONFIG_STM32H7_I2C3=y | ||
CONFIG_STM32H7_I2C4=y | ||
CONFIG_STM32H7_I2C_DYNTIMEO=y | ||
CONFIG_STM32H7_I2C_DYNTIMEO_STARTSTOP=10 | ||
CONFIG_STM32H7_OTGFS=y | ||
CONFIG_STM32H7_PROGMEM=y | ||
CONFIG_STM32H7_RTC=y | ||
CONFIG_STM32H7_RTC_MAGIC_REG=1 | ||
CONFIG_STM32H7_SAVE_CRASHDUMP=y | ||
CONFIG_STM32H7_SDMMC1=y | ||
CONFIG_STM32H7_SERIALBRK_BSDCOMPAT=y | ||
CONFIG_STM32H7_SERIAL_DISABLE_REORDERING=y | ||
CONFIG_STM32H7_SPI1=y | ||
CONFIG_STM32H7_SPI2=y | ||
CONFIG_STM32H7_SPI4=y | ||
CONFIG_STM32H7_SPI5=y | ||
CONFIG_STM32H7_SPI6=y | ||
CONFIG_STM32H7_TIM1=y | ||
CONFIG_STM32H7_TIM3=y | ||
CONFIG_STM32H7_TIM4=y | ||
CONFIG_STM32H7_UART4=y | ||
CONFIG_STM32H7_UART7=y | ||
CONFIG_STM32H7_UART8=y | ||
CONFIG_STM32H7_USART1=y | ||
CONFIG_STM32H7_USART2=y | ||
CONFIG_STM32H7_USART3=y | ||
CONFIG_STM32H7_USART6=y | ||
CONFIG_STM32H7_USART_BREAKS=y | ||
CONFIG_STM32H7_USART_INVERT=y | ||
CONFIG_STM32H7_USART_SINGLEWIRE=y | ||
CONFIG_STM32H7_USART_SWAP=y | ||
CONFIG_SYSTEM_CDCACM=y | ||
CONFIG_SYSTEM_NSH=y | ||
CONFIG_TASK_NAME_SIZE=24 | ||
CONFIG_TIME_EXTENDED=y | ||
CONFIG_TTY_SIGINT=y | ||
CONFIG_TTY_SIGSTP=y | ||
CONFIG_UART4_BAUD=57600 | ||
CONFIG_UART4_DMA=y | ||
CONFIG_UART4_RXBUFSIZE=600 | ||
CONFIG_UART4_TXBUFSIZE=1500 | ||
CONFIG_UART7_BAUD=57600 | ||
CONFIG_UART7_RXBUFSIZE=600 | ||
CONFIG_UART7_SERIAL_CONSOLE=y | ||
CONFIG_UART7_TXBUFSIZE=1500 | ||
CONFIG_UART8_BAUD=57600 | ||
CONFIG_UART8_DMA=y | ||
CONFIG_UART8_RXBUFSIZE=600 | ||
CONFIG_UART8_TXBUFSIZE=1500 | ||
CONFIG_USART1_BAUD=57600 | ||
CONFIG_USART1_DMA=y | ||
CONFIG_USART1_RXBUFSIZE=600 | ||
CONFIG_USART1_TXBUFSIZE=1500 | ||
CONFIG_USART2_BAUD=57600 | ||
CONFIG_USART2_DMA=y | ||
CONFIG_USART2_IFLOWCONTROL=y | ||
CONFIG_USART2_OFLOWCONTROL=y | ||
CONFIG_USART2_RXBUFSIZE=600 | ||
CONFIG_USART2_TXBUFSIZE=1500 | ||
CONFIG_USART3_BAUD=57600 | ||
CONFIG_USART3_DMA=y | ||
CONFIG_USART3_IFLOWCONTROL=y | ||
CONFIG_USART3_OFLOWCONTROL=y | ||
CONFIG_USART3_RXBUFSIZE=600 | ||
CONFIG_USART3_TXBUFSIZE=3000 | ||
CONFIG_USART6_BAUD=57600 | ||
CONFIG_USART6_DMA=y | ||
CONFIG_USART6_RXBUFSIZE=600 | ||
CONFIG_USART6_TXBUFSIZE=1500 | ||
CONFIG_USBDEV=y | ||
CONFIG_USBDEV_BUSPOWERED=y | ||
CONFIG_USBDEV_MAXPOWER=500 | ||
CONFIG_USEC_PER_TICK=1000 | ||
CONFIG_USERMAIN_STACKSIZE=2624 | ||
CONFIG_USER_ENTRYPOINT="nsh_main" | ||
CONFIG_WATCHDOG=y |
Oops, something went wrong.