stm32f103-minimum: add Android Debug Bridge defconfig
This commit is contained in:
parent
2bb31dca4c
commit
33125e929c
77
boards/arm/stm32/stm32f103-minimum/configs/adb/defconfig
Normal file
77
boards/arm/stm32/stm32f103-minimum/configs/adb/defconfig
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
#
|
||||||
|
# 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_NSH_DISABLESCRIPT is not set
|
||||||
|
# CONFIG_NSH_DISABLE_DD 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_HEXDUMP is not set
|
||||||
|
# CONFIG_NSH_DISABLE_PUT is not set
|
||||||
|
# CONFIG_NSH_DISABLE_WGET is not set
|
||||||
|
# CONFIG_NSH_DISABLE_XD is not set
|
||||||
|
CONFIG_ADBD_BOARD_INIT=y
|
||||||
|
CONFIG_ADBD_DEVICE_ID="test"
|
||||||
|
CONFIG_ADBD_FILE_SERVICE=y
|
||||||
|
CONFIG_ADBD_SHELL_SERVICE=y
|
||||||
|
CONFIG_ADBD_USB_SERVER=y
|
||||||
|
CONFIG_ARCH="arm"
|
||||||
|
CONFIG_ARCH_BOARD="stm32f103-minimum"
|
||||||
|
CONFIG_ARCH_BOARD_STM32F103_MINIMUM=y
|
||||||
|
CONFIG_ARCH_CHIP="stm32"
|
||||||
|
CONFIG_ARCH_CHIP_STM32=y
|
||||||
|
CONFIG_ARCH_CHIP_STM32F103C8=y
|
||||||
|
CONFIG_ARCH_STACKDUMP=y
|
||||||
|
CONFIG_BOARDCTL_RESET=y
|
||||||
|
CONFIG_BOARD_LOOPSPERMSEC=5483
|
||||||
|
CONFIG_BUILTIN=y
|
||||||
|
CONFIG_CLOCK_MONOTONIC=y
|
||||||
|
CONFIG_DEFAULT_SMALL=y
|
||||||
|
CONFIG_DEV_FIFO_SIZE=64
|
||||||
|
CONFIG_DEV_PIPE_MAXSIZE=64
|
||||||
|
CONFIG_DEV_PIPE_SIZE=64
|
||||||
|
CONFIG_EXAMPLES_HELLO=y
|
||||||
|
CONFIG_FS_PROCFS=y
|
||||||
|
CONFIG_FS_PROCFS_EXCLUDE_MOUNTS=y
|
||||||
|
CONFIG_LIBUV=y
|
||||||
|
CONFIG_LIBUV_PIPE=y
|
||||||
|
CONFIG_LIBUV_STREAM=y
|
||||||
|
CONFIG_MAX_TASKS=16
|
||||||
|
CONFIG_NSH_ARCHINIT=y
|
||||||
|
CONFIG_NSH_BUILTIN_APPS=y
|
||||||
|
CONFIG_NSH_DISABLE_IFCONFIG=y
|
||||||
|
CONFIG_NSH_DISABLE_IFUPDOWN=y
|
||||||
|
CONFIG_NSH_FILEIOSIZE=1024
|
||||||
|
CONFIG_NSH_LINELEN=80
|
||||||
|
CONFIG_PIPES=y
|
||||||
|
CONFIG_PREALLOC_TIMERS=4
|
||||||
|
CONFIG_RAM_SIZE=20480
|
||||||
|
CONFIG_RAM_START=0x20000000
|
||||||
|
CONFIG_RAW_BINARY=y
|
||||||
|
CONFIG_RR_INTERVAL=200
|
||||||
|
CONFIG_SCHED_WAITPID=y
|
||||||
|
CONFIG_SDCLONE_DISABLE=y
|
||||||
|
CONFIG_SERIAL_TERMIOS=y
|
||||||
|
CONFIG_STACK_COLORATION=y
|
||||||
|
CONFIG_START_DAY=5
|
||||||
|
CONFIG_START_MONTH=7
|
||||||
|
CONFIG_START_YEAR=2011
|
||||||
|
CONFIG_STM32_DFU=y
|
||||||
|
CONFIG_STM32_DISABLE_IDLE_SLEEP_DURING_DEBUG=y
|
||||||
|
CONFIG_STM32_JTAG_FULL_ENABLE=y
|
||||||
|
CONFIG_STM32_USART1=y
|
||||||
|
CONFIG_STM32_USB=y
|
||||||
|
CONFIG_SYMTAB_ORDEREDBYNAME=y
|
||||||
|
CONFIG_SYSTEM_ADBD=y
|
||||||
|
CONFIG_SYSTEM_NSH=y
|
||||||
|
CONFIG_TASK_NAME_SIZE=8
|
||||||
|
CONFIG_USART1_SERIAL_CONSOLE=y
|
||||||
|
CONFIG_USBADB=y
|
||||||
|
CONFIG_USBDEV_BUSPOWERED=y
|
||||||
|
CONFIG_USERMAIN_STACKSIZE=1024
|
||||||
|
CONFIG_USER_ENTRYPOINT="adbd_main"
|
@ -133,6 +133,10 @@
|
|||||||
#include "board_qencoder.h"
|
#include "board_qencoder.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_USBADB
|
||||||
|
#include <nuttx/usb/adb.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@ -466,5 +470,9 @@ int stm32_bringup(void)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_USBADB
|
||||||
|
usbdev_adb_initialize();
|
||||||
|
#endif
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user