mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-14 05:01:37 +08:00
Update NuttX and modifications to build with new kernel
This commit is contained in:
@@ -226,5 +226,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "arm_arch.h"
|
#include "arm_internal.h"
|
||||||
|
|
||||||
#include "stm32.h"
|
#include "stm32.h"
|
||||||
#include "stm32_can.h"
|
#include "stm32_can.h"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <stm32.h>
|
#include <stm32.h>
|
||||||
#include "board_config.h"
|
#include "board_config.h"
|
||||||
|
|
||||||
|
|||||||
@@ -58,4 +58,4 @@ CONFIG_STM32_NOEXT_VECTORS=y
|
|||||||
CONFIG_STM32_TIM8=y
|
CONFIG_STM32_TIM8=y
|
||||||
CONFIG_TASK_NAME_SIZE=0
|
CONFIG_TASK_NAME_SIZE=0
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=4096
|
CONFIG_INIT_STACKSIZE=4096
|
||||||
|
|||||||
@@ -149,5 +149,5 @@ CONFIG_USART2_RXBUFSIZE=600
|
|||||||
CONFIG_USART2_SERIAL_CONSOLE=y
|
CONFIG_USART2_SERIAL_CONSOLE=y
|
||||||
CONFIG_USART2_TXBUFSIZE=1100
|
CONFIG_USART2_TXBUFSIZE=1100
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2624
|
CONFIG_INIT_STACKSIZE=2624
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "arm_arch.h"
|
#include "arm_internal.h"
|
||||||
|
|
||||||
#include "stm32.h"
|
#include "stm32.h"
|
||||||
#include "stm32_can.h"
|
#include "stm32_can.h"
|
||||||
|
|||||||
@@ -58,4 +58,4 @@ CONFIG_STM32_NOEXT_VECTORS=y
|
|||||||
CONFIG_STM32_TIM8=y
|
CONFIG_STM32_TIM8=y
|
||||||
CONFIG_TASK_NAME_SIZE=0
|
CONFIG_TASK_NAME_SIZE=0
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=4096
|
CONFIG_INIT_STACKSIZE=4096
|
||||||
|
|||||||
@@ -154,5 +154,5 @@ CONFIG_USART2_RXBUFSIZE=600
|
|||||||
CONFIG_USART2_SERIAL_CONSOLE=y
|
CONFIG_USART2_SERIAL_CONSOLE=y
|
||||||
CONFIG_USART2_TXBUFSIZE=1100
|
CONFIG_USART2_TXBUFSIZE=1100
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2624
|
CONFIG_INIT_STACKSIZE=2624
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "arm_arch.h"
|
#include "arm_internal.h"
|
||||||
|
|
||||||
#include "stm32.h"
|
#include "stm32.h"
|
||||||
#include "stm32_can.h"
|
#include "stm32_can.h"
|
||||||
|
|||||||
@@ -58,4 +58,4 @@ CONFIG_STM32_NOEXT_VECTORS=y
|
|||||||
CONFIG_STM32_TIM8=y
|
CONFIG_STM32_TIM8=y
|
||||||
CONFIG_TASK_NAME_SIZE=0
|
CONFIG_TASK_NAME_SIZE=0
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=4096
|
CONFIG_INIT_STACKSIZE=4096
|
||||||
|
|||||||
@@ -155,5 +155,5 @@ CONFIG_USART2_RXBUFSIZE=600
|
|||||||
CONFIG_USART2_SERIAL_CONSOLE=y
|
CONFIG_USART2_SERIAL_CONSOLE=y
|
||||||
CONFIG_USART2_TXBUFSIZE=1100
|
CONFIG_USART2_TXBUFSIZE=1100
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2624
|
CONFIG_INIT_STACKSIZE=2624
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "arm_arch.h"
|
#include "arm_internal.h"
|
||||||
|
|
||||||
#include "stm32.h"
|
#include "stm32.h"
|
||||||
#include "stm32_can.h"
|
#include "stm32_can.h"
|
||||||
|
|||||||
@@ -58,4 +58,4 @@ CONFIG_STM32_FLASH_CONFIG_G=y
|
|||||||
CONFIG_STM32_NOEXT_VECTORS=y
|
CONFIG_STM32_NOEXT_VECTORS=y
|
||||||
CONFIG_TASK_NAME_SIZE=0
|
CONFIG_TASK_NAME_SIZE=0
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=4096
|
CONFIG_INIT_STACKSIZE=4096
|
||||||
|
|||||||
@@ -156,5 +156,5 @@ CONFIG_USART2_RXBUFSIZE=600
|
|||||||
CONFIG_USART2_SERIAL_CONSOLE=y
|
CONFIG_USART2_SERIAL_CONSOLE=y
|
||||||
CONFIG_USART2_TXBUFSIZE=1100
|
CONFIG_USART2_TXBUFSIZE=1100
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2624
|
CONFIG_INIT_STACKSIZE=2624
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "arm_arch.h"
|
#include "arm_internal.h"
|
||||||
|
|
||||||
#include "stm32.h"
|
#include "stm32.h"
|
||||||
#include "stm32_can.h"
|
#include "stm32_can.h"
|
||||||
|
|||||||
@@ -234,5 +234,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
#include <uORB/uORB.h>
|
#include <uORB/uORB.h>
|
||||||
#include <uORB/Publication.hpp>
|
#include <uORB/Publication.hpp>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include "board_config.h"
|
#include "board_config.h"
|
||||||
#include <stm32_pwr.h>
|
#include <stm32_pwr.h>
|
||||||
|
|
||||||
|
|||||||
@@ -266,5 +266,5 @@ CONFIG_USART6_RXBUFSIZE=600
|
|||||||
CONFIG_USART6_RXDMA=y
|
CONFIG_USART6_RXDMA=y
|
||||||
CONFIG_USART6_TXBUFSIZE=1500
|
CONFIG_USART6_TXBUFSIZE=1500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -184,5 +184,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
#include <systemlib/px4_macros.h>
|
#include <systemlib/px4_macros.h>
|
||||||
#include <nuttx/mmcsd.h>
|
#include <nuttx/mmcsd.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <stm32_gpio.h>
|
#include <stm32_gpio.h>
|
||||||
#include "board_config.h"
|
#include "board_config.h"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <stm32.h>
|
#include <stm32.h>
|
||||||
#include "board_config.h"
|
#include "board_config.h"
|
||||||
|
|
||||||
|
|||||||
@@ -183,5 +183,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
#include <systemlib/px4_macros.h>
|
#include <systemlib/px4_macros.h>
|
||||||
#include <nuttx/mmcsd.h>
|
#include <nuttx/mmcsd.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <stm32_gpio.h>
|
#include <stm32_gpio.h>
|
||||||
#include "board_config.h"
|
#include "board_config.h"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <stm32.h>
|
#include <stm32.h>
|
||||||
#include "board_config.h"
|
#include "board_config.h"
|
||||||
|
|
||||||
|
|||||||
@@ -59,4 +59,4 @@ CONFIG_STM32_NOEXT_VECTORS=y
|
|||||||
CONFIG_STM32_TIM8=y
|
CONFIG_STM32_TIM8=y
|
||||||
CONFIG_TASK_NAME_SIZE=0
|
CONFIG_TASK_NAME_SIZE=0
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=4096
|
CONFIG_INIT_STACKSIZE=4096
|
||||||
|
|||||||
@@ -151,5 +151,5 @@ CONFIG_USART2_BAUD=57600
|
|||||||
CONFIG_USART2_RXBUFSIZE=600
|
CONFIG_USART2_RXBUFSIZE=600
|
||||||
CONFIG_USART2_TXBUFSIZE=1100
|
CONFIG_USART2_TXBUFSIZE=1100
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2624
|
CONFIG_INIT_STACKSIZE=2624
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "arm_arch.h"
|
#include "arm_internal.h"
|
||||||
|
|
||||||
#include "stm32.h"
|
#include "stm32.h"
|
||||||
#include "stm32_can.h"
|
#include "stm32_can.h"
|
||||||
|
|||||||
@@ -89,5 +89,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="bootloader_main"
|
CONFIG_INIT_ENTRYPOINT="bootloader_main"
|
||||||
|
|||||||
@@ -237,6 +237,6 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
CONFIG_WATCHDOG=y
|
CONFIG_WATCHDOG=y
|
||||||
|
|||||||
@@ -89,5 +89,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="bootloader_main"
|
CONFIG_INIT_ENTRYPOINT="bootloader_main"
|
||||||
|
|||||||
@@ -237,6 +237,6 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
CONFIG_WATCHDOG=y
|
CONFIG_WATCHDOG=y
|
||||||
|
|||||||
@@ -240,6 +240,6 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
CONFIG_WATCHDOG=y
|
CONFIG_WATCHDOG=y
|
||||||
|
|||||||
@@ -89,5 +89,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="bootloader_main"
|
CONFIG_INIT_ENTRYPOINT="bootloader_main"
|
||||||
|
|||||||
@@ -227,6 +227,6 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
CONFIG_WATCHDOG=y
|
CONFIG_WATCHDOG=y
|
||||||
|
|||||||
@@ -229,6 +229,6 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
CONFIG_WATCHDOG=y
|
CONFIG_WATCHDOG=y
|
||||||
|
|||||||
@@ -233,5 +233,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -61,5 +61,5 @@ CONFIG_USART3_RXBUFSIZE=64
|
|||||||
CONFIG_USART3_RXDMA=y
|
CONFIG_USART3_RXDMA=y
|
||||||
CONFIG_USART3_TXBUFSIZE=64
|
CONFIG_USART3_TXBUFSIZE=64
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=1100
|
CONFIG_INIT_STACKSIZE=1100
|
||||||
CONFIG_USER_ENTRYPOINT="user_start"
|
CONFIG_INIT_ENTRYPOINT="user_start"
|
||||||
|
|||||||
@@ -188,5 +188,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <stm32.h>
|
#include <stm32.h>
|
||||||
#include "board_config.h"
|
#include "board_config.h"
|
||||||
|
|
||||||
|
|||||||
@@ -64,4 +64,4 @@ CONFIG_STM32F7_PROGMEM=y
|
|||||||
CONFIG_STM32F7_TIM8=y
|
CONFIG_STM32F7_TIM8=y
|
||||||
CONFIG_TASK_NAME_SIZE=0
|
CONFIG_TASK_NAME_SIZE=0
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=4096
|
CONFIG_INIT_STACKSIZE=4096
|
||||||
|
|||||||
@@ -170,5 +170,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2624
|
CONFIG_INIT_STACKSIZE=2624
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "arm_arch.h"
|
#include "arm_internal.h"
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "stm32_can.h"
|
#include "stm32_can.h"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <stm32_gpio.h>
|
#include <stm32_gpio.h>
|
||||||
#include <stm32_otg.h>
|
#include <stm32_otg.h>
|
||||||
|
|||||||
@@ -58,4 +58,4 @@ CONFIG_STM32_NOEXT_VECTORS=y
|
|||||||
CONFIG_STM32_TIM8=y
|
CONFIG_STM32_TIM8=y
|
||||||
CONFIG_TASK_NAME_SIZE=0
|
CONFIG_TASK_NAME_SIZE=0
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=4096
|
CONFIG_INIT_STACKSIZE=4096
|
||||||
|
|||||||
@@ -158,5 +158,5 @@ CONFIG_USART2_RXDMA=y
|
|||||||
CONFIG_USART2_SERIAL_CONSOLE=y
|
CONFIG_USART2_SERIAL_CONSOLE=y
|
||||||
CONFIG_USART2_TXBUFSIZE=2500
|
CONFIG_USART2_TXBUFSIZE=2500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=4096
|
CONFIG_INIT_STACKSIZE=4096
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "arm_arch.h"
|
#include "arm_internal.h"
|
||||||
|
|
||||||
#include "stm32.h"
|
#include "stm32.h"
|
||||||
#include "stm32_can.h"
|
#include "stm32_can.h"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <stm32.h>
|
#include <stm32.h>
|
||||||
#include "board_config.h"
|
#include "board_config.h"
|
||||||
|
|
||||||
|
|||||||
@@ -90,5 +90,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="bootloader_main"
|
CONFIG_INIT_ENTRYPOINT="bootloader_main"
|
||||||
|
|||||||
@@ -236,6 +236,6 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
CONFIG_WATCHDOG=y
|
CONFIG_WATCHDOG=y
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "arm_arch.h"
|
#include "arm_internal.h"
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "stm32_can.h"
|
#include "stm32_can.h"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <stm32_gpio.h>
|
#include <stm32_gpio.h>
|
||||||
#include <stm32_otg.h>
|
#include <stm32_otg.h>
|
||||||
|
|||||||
@@ -215,5 +215,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <stm32_gpio.h>
|
#include <stm32_gpio.h>
|
||||||
#include <stm32_otg.h>
|
#include <stm32_otg.h>
|
||||||
|
|||||||
@@ -89,5 +89,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="bootloader_main"
|
CONFIG_INIT_ENTRYPOINT="bootloader_main"
|
||||||
|
|||||||
@@ -218,6 +218,6 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
CONFIG_WATCHDOG=y
|
CONFIG_WATCHDOG=y
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <stm32_gpio.h>
|
#include <stm32_gpio.h>
|
||||||
#include <stm32_otg.h>
|
#include <stm32_otg.h>
|
||||||
|
|||||||
@@ -238,5 +238,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ uint16_t board_get_can_interfaces(void)
|
|||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "arm_arch.h"
|
#include "arm_internal.h"
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "stm32_can.h"
|
#include "stm32_can.h"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <stm32_gpio.h>
|
#include <stm32_gpio.h>
|
||||||
#include <stm32_otg.h>
|
#include <stm32_otg.h>
|
||||||
|
|||||||
@@ -61,4 +61,4 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
|
|||||||
@@ -190,5 +190,5 @@ CONFIG_USBDEV_BUSPOWERED=y
|
|||||||
CONFIG_USBDEV_DUALSPEED=y
|
CONFIG_USBDEV_DUALSPEED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "arm_arch.h"
|
#include "arm_internal.h"
|
||||||
|
|
||||||
#include "stm32.h"
|
#include "stm32.h"
|
||||||
#include "stm32_can.h"
|
#include "stm32_can.h"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <stm32.h>
|
#include <stm32.h>
|
||||||
#include "board_config.h"
|
#include "board_config.h"
|
||||||
|
|
||||||
|
|||||||
@@ -88,5 +88,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="bootloader_main"
|
CONFIG_INIT_ENTRYPOINT="bootloader_main"
|
||||||
|
|||||||
@@ -219,6 +219,6 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
CONFIG_WATCHDOG=y
|
CONFIG_WATCHDOG=y
|
||||||
|
|||||||
@@ -90,5 +90,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="bootloader_main"
|
CONFIG_INIT_ENTRYPOINT="bootloader_main"
|
||||||
|
|||||||
@@ -223,6 +223,6 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
CONFIG_WATCHDOG=y
|
CONFIG_WATCHDOG=y
|
||||||
|
|||||||
@@ -88,5 +88,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="bootloader_main"
|
CONFIG_INIT_ENTRYPOINT="bootloader_main"
|
||||||
|
|||||||
@@ -220,6 +220,6 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
CONFIG_WATCHDOG=y
|
CONFIG_WATCHDOG=y
|
||||||
|
|||||||
@@ -243,5 +243,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "arm_arch.h"
|
#include "arm_internal.h"
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "stm32_can.h"
|
#include "stm32_can.h"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <stm32_gpio.h>
|
#include <stm32_gpio.h>
|
||||||
#include <stm32_otg.h>
|
#include <stm32_otg.h>
|
||||||
|
|||||||
@@ -89,5 +89,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="bootloader_main"
|
CONFIG_INIT_ENTRYPOINT="bootloader_main"
|
||||||
|
|||||||
@@ -242,7 +242,7 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
CONFIG_WATCHDOG=y
|
CONFIG_WATCHDOG=y
|
||||||
CONFIG_WQUEUE_NOTIFIER=y
|
CONFIG_WQUEUE_NOTIFIER=y
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "arm_arch.h"
|
#include "arm_internal.h"
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "stm32_can.h"
|
#include "stm32_can.h"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <stm32_gpio.h>
|
#include <stm32_gpio.h>
|
||||||
#include <stm32_otg.h>
|
#include <stm32_otg.h>
|
||||||
|
|||||||
@@ -90,5 +90,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="bootloader_main"
|
CONFIG_INIT_ENTRYPOINT="bootloader_main"
|
||||||
|
|||||||
@@ -232,5 +232,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <stm32_gpio.h>
|
#include <stm32_gpio.h>
|
||||||
#include <stm32_otg.h>
|
#include <stm32_otg.h>
|
||||||
|
|||||||
@@ -233,5 +233,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <stm32_gpio.h>
|
#include <stm32_gpio.h>
|
||||||
#include <stm32_otg.h>
|
#include <stm32_otg.h>
|
||||||
|
|||||||
@@ -231,5 +231,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <stm32_gpio.h>
|
#include <stm32_gpio.h>
|
||||||
#include <stm32_otg.h>
|
#include <stm32_otg.h>
|
||||||
|
|||||||
@@ -90,5 +90,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="bootloader_main"
|
CONFIG_INIT_ENTRYPOINT="bootloader_main"
|
||||||
|
|||||||
@@ -232,5 +232,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <stm32_gpio.h>
|
#include <stm32_gpio.h>
|
||||||
#include <stm32_otg.h>
|
#include <stm32_otg.h>
|
||||||
|
|||||||
@@ -90,5 +90,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="bootloader_main"
|
CONFIG_INIT_ENTRYPOINT="bootloader_main"
|
||||||
|
|||||||
@@ -229,5 +229,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <stm32_gpio.h>
|
#include <stm32_gpio.h>
|
||||||
#include <stm32_otg.h>
|
#include <stm32_otg.h>
|
||||||
|
|||||||
@@ -90,5 +90,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="bootloader_main"
|
CONFIG_INIT_ENTRYPOINT="bootloader_main"
|
||||||
|
|||||||
@@ -229,6 +229,6 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
CONFIG_WATCHDOG=y
|
CONFIG_WATCHDOG=y
|
||||||
|
|||||||
@@ -233,5 +233,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <stm32_gpio.h>
|
#include <stm32_gpio.h>
|
||||||
#include <stm32_otg.h>
|
#include <stm32_otg.h>
|
||||||
|
|||||||
@@ -226,5 +226,5 @@ CONFIG_USBDEV=y
|
|||||||
CONFIG_USBDEV_BUSPOWERED=y
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include "arm_arch.h"
|
#include "arm_internal.h"
|
||||||
|
|
||||||
#include "stm32.h"
|
#include "stm32.h"
|
||||||
#include "stm32_can.h"
|
#include "stm32_can.h"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
#include <nuttx/usb/usbdev.h>
|
#include <nuttx/usb/usbdev.h>
|
||||||
#include <nuttx/usb/usbdev_trace.h>
|
#include <nuttx/usb/usbdev_trace.h>
|
||||||
|
|
||||||
#include <arm_arch.h>
|
#include <arm_internal.h>
|
||||||
#include <stm32.h>
|
#include <stm32.h>
|
||||||
|
|
||||||
#include "board_config.h"
|
#include "board_config.h"
|
||||||
|
|||||||
@@ -222,6 +222,6 @@ CONFIG_USBDEV_BUSPOWERED=y
|
|||||||
CONFIG_USBDEV_DUALSPEED=y
|
CONFIG_USBDEV_DUALSPEED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
CONFIG_WATCHDOG=y
|
CONFIG_WATCHDOG=y
|
||||||
|
|||||||
@@ -222,6 +222,6 @@ CONFIG_USBDEV_BUSPOWERED=y
|
|||||||
CONFIG_USBDEV_DUALSPEED=y
|
CONFIG_USBDEV_DUALSPEED=y
|
||||||
CONFIG_USBDEV_MAXPOWER=500
|
CONFIG_USBDEV_MAXPOWER=500
|
||||||
CONFIG_USEC_PER_TICK=1000
|
CONFIG_USEC_PER_TICK=1000
|
||||||
CONFIG_USERMAIN_STACKSIZE=2944
|
CONFIG_INIT_STACKSIZE=2944
|
||||||
CONFIG_USER_ENTRYPOINT="nsh_main"
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
||||||
CONFIG_WATCHDOG=y
|
CONFIG_WATCHDOG=y
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
#include <chip.h>
|
#include <chip.h>
|
||||||
#include <kinetis.h>
|
#include <kinetis.h>
|
||||||
#include "arm_arch.h"
|
#include "arm_internal.h"
|
||||||
|
|
||||||
#include "board_config.h"
|
#include "board_config.h"
|
||||||
|
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
#include <kinetis_lpuart.h>
|
#include <kinetis_lpuart.h>
|
||||||
#include "board_config.h"
|
#include "board_config.h"
|
||||||
|
|
||||||
#include "arm_arch.h"
|
#include "arm_internal.h"
|
||||||
#include <arch/board/board.h>
|
#include <arch/board/board.h>
|
||||||
|
|
||||||
#include <drivers/drv_hrt.h>
|
#include <drivers/drv_hrt.h>
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user