Clicker2-STM32: Rename configuration to mrf24j40-radio. Update remove. Remove some bad settings in the defconfig file (like OTGFS host support).
This commit is contained in:
parent
ac9fa3d710
commit
dfb9fe9b67
@ -226,6 +226,48 @@ Configurations
|
||||
Configuration sub-directories
|
||||
-----------------------------
|
||||
|
||||
mrf24j40-radio
|
||||
|
||||
This is a version of nsh that was used for testing the MRF24J40 be as a
|
||||
character device. The most important configuration differences are
|
||||
summarized below:
|
||||
|
||||
1. Support for the BEE click and SPI are in enabled in the mikroBUS1 slot:
|
||||
|
||||
CONFIG_CLICKER2_STM32_MB1_BEE=y
|
||||
CONFIG_CLICKER2_STM32_MB1_SPI=y
|
||||
|
||||
2. SPI support and STM32 SPI3, in particular, are enabled:
|
||||
|
||||
CONFIG_SPI=y
|
||||
CONFIG_SPI_EXCHANGE=y
|
||||
|
||||
CONFIG_STM32_SPI=y
|
||||
CONFIG_STM32_SPI3=y
|
||||
|
||||
4. Support for the IEEE802.15.4 "upper half" character driver is enabled:
|
||||
|
||||
CONFIG_WIRELESS=y
|
||||
CONFIG_WIRELESS_IEEE802154=y
|
||||
CONFIG_IEEE802154_DEV=y
|
||||
|
||||
5. Support for the lower half MRF24J40 character driver is enabled
|
||||
|
||||
CONFIG_DRIVERS_WIRELESS=y
|
||||
CONFIG_DRIVERS_IEEE802154=y
|
||||
CONFIG_IEEE802154_MRF24J40=y
|
||||
|
||||
6. Support for the test program at apps/ieee802154 is enabled:
|
||||
|
||||
CONFIG_IEEE802154_COMMON=y
|
||||
CONFIG_IEEE802154_COORD=y
|
||||
CONFIG_IEEE802154_I8SAK=y
|
||||
|
||||
7. Initialization hooks are provided to enable the MRF24J40 and to
|
||||
register the radio character driver.
|
||||
|
||||
CONFIG_NSH_ARCHINIT=y
|
||||
|
||||
nsh:
|
||||
|
||||
Configures the NuttShell (nsh) located at examples/nsh. This
|
||||
|
@ -1,5 +1,5 @@
|
||||
############################################################################
|
||||
# configs/clicker2-stm32/mrf24j40_dev/Make.defs
|
||||
# configs/clicker2-stm32/mrf24j40-radio/Make.defs
|
||||
#
|
||||
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
@ -152,9 +152,6 @@ CONFIG_ARMV7M_HAVE_STACKCHECK=y
|
||||
# CONFIG_ARMV7M_STACKCHECK is not set
|
||||
# CONFIG_ARMV7M_ITMSYSLOG is not set
|
||||
# CONFIG_SERIAL_TERMIOS is not set
|
||||
# CONFIG_USBHOST_BULK_DISABLE is not set
|
||||
# CONFIG_USBHOST_INT_DISABLE is not set
|
||||
# CONFIG_USBHOST_ISOC_DISABLE is not set
|
||||
|
||||
#
|
||||
# STM32 Configuration Options
|
||||
@ -413,7 +410,7 @@ CONFIG_STM32_HAVE_SPI3=y
|
||||
# CONFIG_STM32_I2C1 is not set
|
||||
# CONFIG_STM32_I2C2 is not set
|
||||
# CONFIG_STM32_I2C3 is not set
|
||||
CONFIG_STM32_OTGFS=y
|
||||
# CONFIG_STM32_OTGFS is not set
|
||||
# CONFIG_STM32_OTGHS is not set
|
||||
CONFIG_STM32_PWR=y
|
||||
# CONFIG_STM32_RNG is not set
|
||||
@ -511,11 +508,6 @@ CONFIG_STM32_USART3_SERIALDRIVER=y
|
||||
#
|
||||
# USB FS Host Configuration
|
||||
#
|
||||
CONFIG_STM32_OTGFS_RXFIFO_SIZE=128
|
||||
CONFIG_STM32_OTGFS_NPTXFIFO_SIZE=96
|
||||
CONFIG_STM32_OTGFS_PTXFIFO_SIZE=128
|
||||
CONFIG_STM32_OTGFS_DESCSIZE=128
|
||||
# CONFIG_STM32_OTGFS_SOFINTR is not set
|
||||
|
||||
#
|
||||
# USB HS Host Configuration
|
||||
@ -863,18 +855,7 @@ CONFIG_USART3_2STOP=0
|
||||
# CONFIG_USART3_DMA is not set
|
||||
# CONFIG_PSEUDOTERM is not set
|
||||
# CONFIG_USBDEV is not set
|
||||
CONFIG_USBHOST=y
|
||||
CONFIG_USBHOST_NPREALLOC=4
|
||||
CONFIG_USBHOST_HAVE_ASYNCH=y
|
||||
# CONFIG_USBHOST_ASYNCH is not set
|
||||
# CONFIG_USBHOST_HUB is not set
|
||||
# CONFIG_USBHOST_COMPOSITE is not set
|
||||
CONFIG_USBHOST_MSC=y
|
||||
# CONFIG_USBHOST_CDCACM is not set
|
||||
# CONFIG_USBHOST_HIDKBD is not set
|
||||
# CONFIG_USBHOST_HIDMOUSE is not set
|
||||
# CONFIG_USBHOST_XBOXCONTROLLER is not set
|
||||
# CONFIG_USBHOST_TRACE is not set
|
||||
# CONFIG_USBHOST is not set
|
||||
# CONFIG_HAVE_USBTRACE is not set
|
||||
CONFIG_DRIVERS_WIRELESS=y
|
||||
# CONFIG_WL_CC1101 is not set
|
||||
@ -928,14 +909,7 @@ CONFIG_FS_WRITABLE=y
|
||||
# CONFIG_FS_NAMED_SEMAPHORES is not set
|
||||
CONFIG_FS_MQUEUE_MPATH="/var/mqueue"
|
||||
# CONFIG_FS_RAMMAP is not set
|
||||
CONFIG_FS_FAT=y
|
||||
CONFIG_FAT_LCNAMES=y
|
||||
CONFIG_FAT_LFN=y
|
||||
CONFIG_FAT_MAXFNAME=32
|
||||
# CONFIG_FS_FATTIME is not set
|
||||
# CONFIG_FAT_FORCE_INDIRECT is not set
|
||||
# CONFIG_FAT_DMAMEMORY is not set
|
||||
# CONFIG_FAT_DIRECT_RETRY is not set
|
||||
# CONFIG_FS_FAT is not set
|
||||
# CONFIG_FS_NXFFS is not set
|
||||
# CONFIG_FS_ROMFS is not set
|
||||
# CONFIG_FS_TMPFS is not set
|
||||
@ -1282,7 +1256,6 @@ CONFIG_NSH_DISABLE_LOSMART=y
|
||||
# CONFIG_NSH_DISABLE_LS is not set
|
||||
# CONFIG_NSH_DISABLE_MB is not set
|
||||
# CONFIG_NSH_DISABLE_MKDIR is not set
|
||||
# CONFIG_NSH_DISABLE_MKFATFS is not set
|
||||
# CONFIG_NSH_DISABLE_MKRD is not set
|
||||
# CONFIG_NSH_DISABLE_MH is not set
|
||||
# CONFIG_NSH_DISABLE_MOUNT is not set
|
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
# configs/clicker2-stm32/mrf24j40_dev/setenv.sh
|
||||
# configs/clicker2-stm32/mrf24j40-radio/setenv.sh
|
||||
#
|
||||
# Copyright (C) 2017 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
Loading…
Reference in New Issue
Block a user