diff --git a/configs/nrf52-pca10040/README.txt b/configs/nrf52-pca10040/README.txt index 97cc24b2ff..3d2b3bc6f1 100644 --- a/configs/nrf52-pca10040/README.txt +++ b/configs/nrf52-pca10040/README.txt @@ -110,3 +110,9 @@ Where is one of the following: b. Execute 'make menuconfig' in nuttx/ in order to start the reconfiguration process. + + wdog: + ---- + + This configuration is a simple NSH-based test of the nRF52 watchdog + timer driver using the test at apps/examples/watchdog. diff --git a/configs/nrf52-pca10040/wdog/defconfig b/configs/nrf52-pca10040/wdog/defconfig new file mode 100644 index 0000000000..aa442486f6 --- /dev/null +++ b/configs/nrf52-pca10040/wdog/defconfig @@ -0,0 +1,45 @@ +# CONFIG_ARCH_FPU is not set +# CONFIG_NSH_DISABLE_IFCONFIG is not set +# CONFIG_NSH_DISABLE_PS is not set +CONFIG_ARCH_BOARD_NRF52_PCA10040=y +CONFIG_ARCH_BOARD="nrf52-pca10040" +CONFIG_ARCH_CHIP_NRF52=y +CONFIG_ARCH_CHIP_NRF52832=y +CONFIG_ARCH_STACKDUMP=y +CONFIG_ARCH_STDARG_H=y +CONFIG_ARCH="arm" +CONFIG_BOARD_LOOPSPERMSEC=5500 +CONFIG_BUILTIN=y +CONFIG_EXAMPLES_NSH=y +CONFIG_EXAMPLES_WATCHDOG=y +CONFIG_FAT_LCNAMES=y +CONFIG_FAT_LFN=y +CONFIG_FS_FAT=y +CONFIG_MAX_TASKS=16 +CONFIG_MAX_WDOGPARMS=2 +CONFIG_MM_REGIONS=2 +CONFIG_NFILE_DESCRIPTORS=8 +CONFIG_NFILE_STREAMS=8 +CONFIG_NRF52_UART0=y +CONFIG_NRF52_WDT=y +CONFIG_NSH_ARCHINIT=y +CONFIG_NSH_BUILTIN_APPS=y +CONFIG_NSH_FILEIOSIZE=512 +CONFIG_NSH_LINELEN=64 +CONFIG_NSH_READLINE=y +CONFIG_PREALLOC_MQ_MSGS=4 +CONFIG_PREALLOC_TIMERS=4 +CONFIG_PREALLOC_WDOGS=4 +CONFIG_RAM_SIZE=65535 +CONFIG_RAM_START=0x20000000 +CONFIG_RAW_BINARY=y +CONFIG_RR_INTERVAL=200 +CONFIG_SCHED_WAITPID=y +CONFIG_SDCLONE_DISABLE=y +CONFIG_START_DAY=26 +CONFIG_START_MONTH=3 +CONFIG_SYMTAB_ORDEREDBYNAME=y +CONFIG_TASK_NAME_SIZE=0 +CONFIG_UART0_SERIAL_CONSOLE=y +CONFIG_USER_ENTRYPOINT="nsh_main" +CONFIG_WDOG_INTRESERVE=0