mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
Kconfig: improve uniformity
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
3b3cebdd3e
commit
51a2db6ffc
@@ -1807,34 +1807,34 @@ config DEBUG_MOTOR_INFO
|
|||||||
endif # DEBUG_MOTOR
|
endif # DEBUG_MOTOR
|
||||||
|
|
||||||
config DEBUG_VIDEO
|
config DEBUG_VIDEO
|
||||||
bool "Video Debug Features"
|
bool "Video Debug Features"
|
||||||
default n
|
default n
|
||||||
depends on DRIVERS_VIDEO
|
depends on DRIVERS_VIDEO
|
||||||
---help---
|
---help---
|
||||||
Enable video debug features.
|
Enable video debug features.
|
||||||
|
|
||||||
if DEBUG_VIDEO
|
if DEBUG_VIDEO
|
||||||
|
|
||||||
config DEBUG_VIDEO_ERROR
|
config DEBUG_VIDEO_ERROR
|
||||||
bool "Video Error Output"
|
bool "Video Error Output"
|
||||||
default n
|
default n
|
||||||
depends on DEBUG_ERROR
|
depends on DEBUG_ERROR
|
||||||
---help---
|
---help---
|
||||||
Enable video error output to SYSLOG.
|
Enable video error output to SYSLOG.
|
||||||
|
|
||||||
config DEBUG_VIDEO_WARN
|
config DEBUG_VIDEO_WARN
|
||||||
bool "Video Warnings Output"
|
bool "Video Warnings Output"
|
||||||
default n
|
default n
|
||||||
depends on DEBUG_WARN
|
depends on DEBUG_WARN
|
||||||
---help---
|
---help---
|
||||||
Enable video warning output to SYSLOG.
|
Enable video warning output to SYSLOG.
|
||||||
|
|
||||||
config DEBUG_VIDEO_INFO
|
config DEBUG_VIDEO_INFO
|
||||||
bool "Video Informational Output"
|
bool "Video Informational Output"
|
||||||
default n
|
default n
|
||||||
depends on DEBUG_INFO
|
depends on DEBUG_INFO
|
||||||
---help---
|
---help---
|
||||||
Enable video informational output to SYSLOG.
|
Enable video informational output to SYSLOG.
|
||||||
|
|
||||||
endif # DEBUG_VIDEO
|
endif # DEBUG_VIDEO
|
||||||
endif # DEBUG_FEATURES
|
endif # DEBUG_FEATURES
|
||||||
@@ -2024,7 +2024,7 @@ endmenu
|
|||||||
# does not contain a Kconfig file
|
# does not contain a Kconfig file
|
||||||
|
|
||||||
config EXTERNALDIR
|
config EXTERNALDIR
|
||||||
string
|
string
|
||||||
option env="EXTERNALDIR"
|
option env="EXTERNALDIR"
|
||||||
|
|
||||||
source "$EXTERNALDIR/Kconfig"
|
source "$EXTERNALDIR/Kconfig"
|
||||||
|
|||||||
@@ -383,9 +383,9 @@ config CXD56_SPI_DRIVER
|
|||||||
this driver is to support SPI testing.
|
this driver is to support SPI testing.
|
||||||
|
|
||||||
config CXD56_SPI_DMATHRESHOLD
|
config CXD56_SPI_DMATHRESHOLD
|
||||||
int "SPI DMA threshold"
|
int "SPI DMA threshold"
|
||||||
default 64
|
default 64
|
||||||
depends on CXD56_DMAC
|
depends on CXD56_DMAC
|
||||||
---help---
|
---help---
|
||||||
When SPI DMA is enabled, small DMA transfers will still be performed
|
When SPI DMA is enabled, small DMA transfers will still be performed
|
||||||
by polling logic. But we need a threshold value to determine what
|
by polling logic. But we need a threshold value to determine what
|
||||||
|
|||||||
+23
-23
@@ -188,8 +188,8 @@ config IMXRT_FLEXSPI
|
|||||||
default n
|
default n
|
||||||
|
|
||||||
config IMXRT_ADC
|
config IMXRT_ADC
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config IMXRT_ENC
|
config IMXRT_ENC
|
||||||
bool
|
bool
|
||||||
@@ -359,7 +359,7 @@ config IMXRT_FLEXIO3
|
|||||||
bool "FLEXIO3"
|
bool "FLEXIO3"
|
||||||
default n
|
default n
|
||||||
select IMXRT_FLEXIO
|
select IMXRT_FLEXIO
|
||||||
---help---
|
---help---
|
||||||
FLEXIO3 uses the FLEXIO2 clock settings.
|
FLEXIO3 uses the FLEXIO2 clock settings.
|
||||||
|
|
||||||
endif # ARCH_FAMILY_IMXRT106x
|
endif # ARCH_FAMILY_IMXRT106x
|
||||||
@@ -915,14 +915,14 @@ endmenu # FLEXSPI Peripherals
|
|||||||
menu "ADC Peripherals"
|
menu "ADC Peripherals"
|
||||||
|
|
||||||
menuconfig IMXRT_ADC1
|
menuconfig IMXRT_ADC1
|
||||||
bool "ADC1"
|
bool "ADC1"
|
||||||
default n
|
default n
|
||||||
select IMXRT_ADC
|
select IMXRT_ADC
|
||||||
|
|
||||||
menuconfig IMXRT_ADC2
|
menuconfig IMXRT_ADC2
|
||||||
bool "ADC2"
|
bool "ADC2"
|
||||||
default n
|
default n
|
||||||
select IMXRT_ADC
|
select IMXRT_ADC
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
@@ -1976,24 +1976,24 @@ if IMXRT_USBDEV
|
|||||||
menu "USB device controller driver (DCD) options"
|
menu "USB device controller driver (DCD) options"
|
||||||
|
|
||||||
config IMXRT_USBDEV_NOVBUS
|
config IMXRT_USBDEV_NOVBUS
|
||||||
bool "No USB VBUS sensing"
|
bool "No USB VBUS sensing"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config IMXRT_USBDEV_FRAME_INTERRUPT
|
config IMXRT_USBDEV_FRAME_INTERRUPT
|
||||||
bool "USB frame interrupt"
|
bool "USB frame interrupt"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Handle USB Start-Of-Frame events. Enable reading SOF from interrupt
|
Handle USB Start-Of-Frame events. Enable reading SOF from interrupt
|
||||||
handler vs. simply reading on demand. Probably a bad idea... Unless
|
handler vs. simply reading on demand. Probably a bad idea... Unless
|
||||||
there is some issue with sampling the SOF from hardware asynchronously.
|
there is some issue with sampling the SOF from hardware asynchronously.
|
||||||
|
|
||||||
config IMXRT_USBDEV_REGDEBUG
|
config IMXRT_USBDEV_REGDEBUG
|
||||||
bool "Register level debug"
|
bool "Register level debug"
|
||||||
depends on DEBUG_USB_INFO
|
depends on DEBUG_USB_INFO
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Output detailed register-level USB device debug information. Requires
|
Output detailed register-level USB device debug information. Requires
|
||||||
also CONFIG_DEBUG_USB_INFO.
|
also CONFIG_DEBUG_USB_INFO.
|
||||||
|
|
||||||
endmenu # USB device controller driver (DCD) options
|
endmenu # USB device controller driver (DCD) options
|
||||||
endif # IMXRT_USBDEV
|
endif # IMXRT_USBDEV
|
||||||
|
|||||||
@@ -516,11 +516,11 @@ config LPC43_SDMMC_DMA
|
|||||||
Support DMA data transfers.
|
Support DMA data transfers.
|
||||||
|
|
||||||
config LPC43_SDMMC_REGDEBUG
|
config LPC43_SDMMC_REGDEBUG
|
||||||
bool "Register level debug"
|
bool "Register level debug"
|
||||||
default n
|
default n
|
||||||
depends on DEBUG_MEMCARD_INFO
|
depends on DEBUG_MEMCARD_INFO
|
||||||
---help---
|
---help---
|
||||||
Output detailed register-level SD/MMC debug information.
|
Output detailed register-level SD/MMC debug information.
|
||||||
|
|
||||||
endmenu # SD/MMC Configuration
|
endmenu # SD/MMC Configuration
|
||||||
|
|
||||||
|
|||||||
@@ -946,11 +946,11 @@ config LPC54_ETH_NTXDESC1
|
|||||||
of the configured MTU.
|
of the configured MTU.
|
||||||
|
|
||||||
config LPC54_ETH_REGDEBUG
|
config LPC54_ETH_REGDEBUG
|
||||||
bool "Register level debug"
|
bool "Register level debug"
|
||||||
default n
|
default n
|
||||||
depends on DEBUG_NET_INFO
|
depends on DEBUG_NET_INFO
|
||||||
---help---
|
---help---
|
||||||
Output detailed register-level Ethernet debug information.
|
Output detailed register-level Ethernet debug information.
|
||||||
|
|
||||||
endmenu # Ethernet configuration
|
endmenu # Ethernet configuration
|
||||||
|
|
||||||
|
|||||||
+56
-56
@@ -244,8 +244,8 @@ config NRF52_PWM3
|
|||||||
default n
|
default n
|
||||||
|
|
||||||
config NRF52_PPI
|
config NRF52_PPI
|
||||||
bool "PPI"
|
bool "PPI"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config NRF52_RTC0
|
config NRF52_RTC0
|
||||||
bool "RTC0"
|
bool "RTC0"
|
||||||
@@ -281,19 +281,19 @@ endmenu # NRF52 Peripheral Selection
|
|||||||
menu "Clock Configuration"
|
menu "Clock Configuration"
|
||||||
|
|
||||||
config NRF52_HFCLK_XTAL
|
config NRF52_HFCLK_XTAL
|
||||||
bool "Enable HFCLK from external crystal"
|
bool "Enable HFCLK from external crystal"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
If the board includes an external high-frequency crystal, enable this
|
If the board includes an external high-frequency crystal, enable this
|
||||||
option to supply the HFCLK. If this option is disabled, the internal
|
option to supply the HFCLK. If this option is disabled, the internal
|
||||||
oscillator will be used.
|
oscillator will be used.
|
||||||
Note that the RADIO peripheral requires the HFCLK to be used.
|
Note that the RADIO peripheral requires the HFCLK to be used.
|
||||||
|
|
||||||
config NRF52_USE_LFCLK
|
config NRF52_USE_LFCLK
|
||||||
bool "Enable LFCLK"
|
bool "Enable LFCLK"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Enable low-frequency clock.
|
Enable low-frequency clock.
|
||||||
|
|
||||||
if NRF52_USE_LFCLK
|
if NRF52_USE_LFCLK
|
||||||
|
|
||||||
@@ -308,7 +308,7 @@ config NRF52_LFCLK_RC
|
|||||||
bool "Internal RC oscillator"
|
bool "Internal RC oscillator"
|
||||||
|
|
||||||
config NRF52_LFCLK_SYNTH
|
config NRF52_LFCLK_SYNTH
|
||||||
bool "Synthesized from HFCLK"
|
bool "Synthesized from HFCLK"
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
@@ -319,61 +319,61 @@ endmenu # Clock Configuration
|
|||||||
menu "System Timer"
|
menu "System Timer"
|
||||||
|
|
||||||
config NRF52_SYSTIMER
|
config NRF52_SYSTIMER
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "System Timer Source"
|
prompt "System Timer Source"
|
||||||
default NRF52_SYSTIMER_SYSTICK
|
default NRF52_SYSTIMER_SYSTICK
|
||||||
---help---
|
---help---
|
||||||
Choose which hardware resource will drive NuttX
|
Choose which hardware resource will drive NuttX
|
||||||
system time
|
system time
|
||||||
|
|
||||||
config NRF52_SYSTIMER_SYSTICK
|
config NRF52_SYSTIMER_SYSTICK
|
||||||
bool "SysTick"
|
bool "SysTick"
|
||||||
select TIMER_ARCH
|
select TIMER_ARCH
|
||||||
select TIMER
|
select TIMER
|
||||||
select ARMV7M_SYSTICK
|
select ARMV7M_SYSTICK
|
||||||
---help---
|
---help---
|
||||||
Use ARM SysTick. It can be used for tickless and
|
Use ARM SysTick. It can be used for tickless and
|
||||||
non-tickless mode.
|
non-tickless mode.
|
||||||
|
|
||||||
NOTE: nRF52 implementation of WFE/WFI involves is
|
NOTE: nRF52 implementation of WFE/WFI involves is
|
||||||
incompatible with SysTick. This means that if
|
incompatible with SysTick. This means that if
|
||||||
you choose this option, WFE/WFI will not be used
|
you choose this option, WFE/WFI will not be used
|
||||||
in idle loop.
|
in idle loop.
|
||||||
|
|
||||||
config NRF52_SYSTIMER_RTC
|
config NRF52_SYSTIMER_RTC
|
||||||
bool "RTC"
|
bool "RTC"
|
||||||
select NRF52_RTC
|
select NRF52_RTC
|
||||||
select SCHED_TICKLESS
|
select SCHED_TICKLESS
|
||||||
select SCHED_TICKLESS_ALARM
|
select SCHED_TICKLESS_ALARM
|
||||||
select NRF52_USE_LFCLK
|
select NRF52_USE_LFCLK
|
||||||
---help---
|
---help---
|
||||||
Use RTC timer in tickless mode.
|
Use RTC timer in tickless mode.
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
if NRF52_SYSTIMER_RTC
|
if NRF52_SYSTIMER_RTC
|
||||||
|
|
||||||
config NRF52_SYSTIMER_RTC_INSTANCE
|
config NRF52_SYSTIMER_RTC_INSTANCE
|
||||||
int "RTC timer instance"
|
int "RTC timer instance"
|
||||||
default 0 if !NRF52_SOFTDEVICE_CONTROLLER
|
default 0 if !NRF52_SOFTDEVICE_CONTROLLER
|
||||||
default 1 if NRF52_SOFTDEVICE_CONTROLLER
|
default 1 if NRF52_SOFTDEVICE_CONTROLLER
|
||||||
range 0 2
|
range 0 2
|
||||||
---help---
|
---help---
|
||||||
Which RTC instance to use to drive the system timer
|
Which RTC instance to use to drive the system timer
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endmenu # System Timer
|
endmenu # System Timer
|
||||||
|
|
||||||
config NRF52_DCDC
|
config NRF52_DCDC
|
||||||
bool "Enable DC/DC regulator"
|
bool "Enable DC/DC regulator"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
This option enables the DC/DC regulator, which reduces
|
This option enables the DC/DC regulator, which reduces
|
||||||
current consumption. This requires extra circuitry (inductors).
|
current consumption. This requires extra circuitry (inductors).
|
||||||
|
|
||||||
config NRF52_FLASH_PREFETCH
|
config NRF52_FLASH_PREFETCH
|
||||||
bool "Enable FLASH Pre-fetch"
|
bool "Enable FLASH Pre-fetch"
|
||||||
@@ -567,16 +567,16 @@ menu "SAADC Configuration"
|
|||||||
if NRF52_SAADC
|
if NRF52_SAADC
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "SAADC trigger selection"
|
prompt "SAADC trigger selection"
|
||||||
default NRF52_SAADC_TASK
|
default NRF52_SAADC_TASK
|
||||||
---help---
|
---help---
|
||||||
Choose mode for sample rate control
|
Choose mode for sample rate control
|
||||||
|
|
||||||
config NRF52_SAADC_TASK
|
config NRF52_SAADC_TASK
|
||||||
bool "SAADC Task trigger"
|
bool "SAADC Task trigger"
|
||||||
|
|
||||||
config NRF52_SAADC_TIMER
|
config NRF52_SAADC_TIMER
|
||||||
bool "SAADC Timer trigger"
|
bool "SAADC Timer trigger"
|
||||||
|
|
||||||
endchoice # SAADC trigger selection
|
endchoice # SAADC trigger selection
|
||||||
|
|
||||||
|
|||||||
@@ -385,10 +385,10 @@ config IEEE80211_REALTEK_AMEBAZ
|
|||||||
if IEEE80211_REALTEK_AMEBAZ
|
if IEEE80211_REALTEK_AMEBAZ
|
||||||
|
|
||||||
config IEEE80211_REALTEK_AMEBAZ_RECV_STACKSIZE
|
config IEEE80211_REALTEK_AMEBAZ_RECV_STACKSIZE
|
||||||
int "Realtek amebaZ recv stack size"
|
int "Realtek amebaZ recv stack size"
|
||||||
default 4096
|
default 4096
|
||||||
---help---
|
---help---
|
||||||
Default recv stack size
|
Default recv stack size
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@@ -329,21 +329,21 @@ config S32K1XX_RTC
|
|||||||
default n
|
default n
|
||||||
|
|
||||||
config S32K1XX_PROGMEM
|
config S32K1XX_PROGMEM
|
||||||
bool "PROGMEM"
|
bool "PROGMEM"
|
||||||
default n
|
default n
|
||||||
select ARCH_HAVE_PROGMEM
|
select ARCH_HAVE_PROGMEM
|
||||||
depends on (ARCH_CHIP_S32K11X || (ARCH_CHIP_S32K14X && !ARCH_CHIP_S32K148) )
|
depends on (ARCH_CHIP_S32K11X || (ARCH_CHIP_S32K14X && !ARCH_CHIP_S32K148) )
|
||||||
---help---
|
---help---
|
||||||
Use the FlexNVM 32/64 KB of d-flash memory as a
|
Use the FlexNVM 32/64 KB of d-flash memory as a
|
||||||
Memory-Technology-Device (MTD).
|
Memory-Technology-Device (MTD).
|
||||||
|
|
||||||
config S32K1XX_EEEPROM
|
config S32K1XX_EEEPROM
|
||||||
bool "Emulated EEPROM"
|
bool "Emulated EEPROM"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Enables Emulated EEPROM function which uses the FlexRAM and FlexNVM
|
Enables Emulated EEPROM function which uses the FlexRAM and FlexNVM
|
||||||
memory to emulate non-volatile memory. The EEEPROM will be registered
|
memory to emulate non-volatile memory. The EEEPROM will be registered
|
||||||
as a ramdisk block device
|
as a ramdisk block device
|
||||||
|
|
||||||
endmenu # S32K1XX Peripheral Selection
|
endmenu # S32K1XX Peripheral Selection
|
||||||
|
|
||||||
|
|||||||
+17
-17
@@ -5070,29 +5070,29 @@ endif #SAMA5_EBICS3_HEAP
|
|||||||
endmenu # Heap Configuration
|
endmenu # Heap Configuration
|
||||||
|
|
||||||
config SAMA5_SDMMC
|
config SAMA5_SDMMC
|
||||||
bool "enable SDMMC controller"
|
bool "enable SDMMC controller"
|
||||||
default y if SAMA5_HAVE_SDMMC
|
default y if SAMA5_HAVE_SDMMC
|
||||||
select SDIO_DMA
|
select SDIO_DMA
|
||||||
select SCHED_WORKQUEUE
|
select SCHED_WORKQUEUE
|
||||||
select SCHED_HPWORK
|
select SCHED_HPWORK
|
||||||
select MMCSD
|
select MMCSD
|
||||||
select MMCSD_SDIO
|
select MMCSD_SDIO
|
||||||
select SDIO_BLOCKSETUP
|
select SDIO_BLOCKSETUP
|
||||||
select ARCH_HAVE_SDIO
|
select ARCH_HAVE_SDIO
|
||||||
select SAMA5_SDMMC_DMA
|
select SAMA5_SDMMC_DMA
|
||||||
---help---
|
---help---
|
||||||
Enable SD Card interface SDMMC. Selects SAMA5_SDMMC SAMA5_SDMMC_DMA SDIO_DMA SCHED_WORKQUEUE SCHED_HPWORK SDIO_BLOCKSETUP
|
Enable SD Card interface SDMMC. Selects SAMA5_SDMMC SAMA5_SDMMC_DMA SDIO_DMA SCHED_WORKQUEUE SCHED_HPWORK SDIO_BLOCKSETUP
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "SDMMC maximum bus speed"
|
prompt "SDMMC maximum bus speed"
|
||||||
default SAMA5_SDMMC_50MHZ
|
default SAMA5_SDMMC_50MHZ
|
||||||
depends on SAMA5_SDMMC
|
depends on SAMA5_SDMMC
|
||||||
|
|
||||||
config SAMA5_SDMMC_25MHZ
|
config SAMA5_SDMMC_25MHZ
|
||||||
bool "SDMMC 25Mhz"
|
bool "SDMMC 25Mhz"
|
||||||
|
|
||||||
config SAMA5_SDMMC_50MHZ
|
config SAMA5_SDMMC_50MHZ
|
||||||
bool "SDMMC 50Mhz"
|
bool "SDMMC 50Mhz"
|
||||||
|
|
||||||
endchoice # SDMMC bus speed
|
endchoice # SDMMC bus speed
|
||||||
|
|
||||||
|
|||||||
@@ -550,22 +550,22 @@ config SAMD5E5_WDT
|
|||||||
default n
|
default n
|
||||||
|
|
||||||
menuconfig SAMD5E5_PROGMEM
|
menuconfig SAMD5E5_PROGMEM
|
||||||
bool "FLASH program memory"
|
bool "FLASH program memory"
|
||||||
default n
|
default n
|
||||||
select ARCH_HAVE_PROGMEM
|
select ARCH_HAVE_PROGMEM
|
||||||
---help---
|
---help---
|
||||||
Enable support FLASH interfaces as defined in include/nuttx/progmem.h
|
Enable support FLASH interfaces as defined in include/nuttx/progmem.h
|
||||||
|
|
||||||
if SAMD5E5_PROGMEM
|
if SAMD5E5_PROGMEM
|
||||||
|
|
||||||
config SAMD5E5_PROGMEM_NSECTORS
|
config SAMD5E5_PROGMEM_NSECTORS
|
||||||
int "Number of 32Kbytes sectors"
|
int "Number of 32Kbytes sectors"
|
||||||
default 2
|
default 2
|
||||||
range 1 32
|
range 1 32
|
||||||
---help---
|
---help---
|
||||||
This is the number of 32Kbytes FLASH sectors at the end of the program
|
This is the number of 32Kbytes FLASH sectors at the end of the program
|
||||||
flash memory that will be reserved for use with by the interfaces
|
flash memory that will be reserved for use with by the interfaces
|
||||||
prototyped in include/nuttx/progmem.h
|
prototyped in include/nuttx/progmem.h
|
||||||
|
|
||||||
endif # SAMD5E5_PROGMEM
|
endif # SAMD5E5_PROGMEM
|
||||||
|
|
||||||
|
|||||||
+115
-115
@@ -11359,38 +11359,38 @@ menuconfig STM32_FOC
|
|||||||
if STM32_FOC
|
if STM32_FOC
|
||||||
|
|
||||||
config STM32_FOC_FOC0
|
config STM32_FOC_FOC0
|
||||||
bool "FOC0 device (TIM1 for PWM modulation)"
|
bool "FOC0 device (TIM1 for PWM modulation)"
|
||||||
default n
|
default n
|
||||||
depends on STM32_HAVE_TIM1
|
depends on STM32_HAVE_TIM1
|
||||||
select STM32_FOC_USE_TIM1
|
select STM32_FOC_USE_TIM1
|
||||||
---help---
|
---help---
|
||||||
Enable support for FOC0 device that uses TIM1 for PWM modulation
|
Enable support for FOC0 device that uses TIM1 for PWM modulation
|
||||||
|
|
||||||
config STM32_FOC_FOC1
|
config STM32_FOC_FOC1
|
||||||
bool "FOC1 device (TIM8 for PWM modulation)"
|
bool "FOC1 device (TIM8 for PWM modulation)"
|
||||||
default n
|
default n
|
||||||
depends on STM32_HAVE_TIM8
|
depends on STM32_HAVE_TIM8
|
||||||
select STM32_FOC_USE_TIM8
|
select STM32_FOC_USE_TIM8
|
||||||
---help---
|
---help---
|
||||||
Enable support for FOC1 device that uses TIM8 for PWM modulation
|
Enable support for FOC1 device that uses TIM8 for PWM modulation
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "FOC ADC trigger selection"
|
prompt "FOC ADC trigger selection"
|
||||||
default STM32_FOC_ADC_TRGO
|
default STM32_FOC_ADC_TRGO
|
||||||
|
|
||||||
config STM32_FOC_ADC_CCR4
|
config STM32_FOC_ADC_CCR4
|
||||||
bool "FOC uses CCR4 as ADC trigger"
|
bool "FOC uses CCR4 as ADC trigger"
|
||||||
---help---
|
---help---
|
||||||
This option uses the software frequency prescaler and is
|
This option uses the software frequency prescaler and is
|
||||||
not possible for 4-phase output.
|
not possible for 4-phase output.
|
||||||
|
|
||||||
config STM32_FOC_ADC_TRGO
|
config STM32_FOC_ADC_TRGO
|
||||||
bool "FOC uses TRGO as ADC trigger"
|
bool "FOC uses TRGO as ADC trigger"
|
||||||
depends on STM32_HAVE_IP_ADC_V2 || (STM32_HAVE_IP_ADC_V1 && !STM32_FOC_FOC1)
|
depends on STM32_HAVE_IP_ADC_V2 || (STM32_HAVE_IP_ADC_V1 && !STM32_FOC_FOC1)
|
||||||
select STM32_PWM_TRGO
|
select STM32_PWM_TRGO
|
||||||
---help---
|
---help---
|
||||||
This option allows you to use higher PWM frequency and works for 4-phase output.
|
This option allows you to use higher PWM frequency and works for 4-phase output.
|
||||||
It is not possible for ADC IPv1 if FOC1 enabled (no T8TRGO in JEXTSEL).
|
It is not possible for ADC IPv1 if FOC1 enabled (no T8TRGO in JEXTSEL).
|
||||||
|
|
||||||
endchoice # "FOC ADC trigger selection"
|
endchoice # "FOC ADC trigger selection"
|
||||||
|
|
||||||
@@ -11401,24 +11401,24 @@ choice
|
|||||||
default STM32_FOC_FOC0_ADC1
|
default STM32_FOC_FOC0_ADC1
|
||||||
|
|
||||||
config STM32_FOC_FOC0_ADC1
|
config STM32_FOC_FOC0_ADC1
|
||||||
bool "FOC0 uses ADC1"
|
bool "FOC0 uses ADC1"
|
||||||
depends on STM32_HAVE_ADC1
|
depends on STM32_HAVE_ADC1
|
||||||
select STM32_FOC_USE_ADC1
|
select STM32_FOC_USE_ADC1
|
||||||
|
|
||||||
config STM32_FOC_FOC0_ADC2
|
config STM32_FOC_FOC0_ADC2
|
||||||
bool "FOC0 uses ADC2"
|
bool "FOC0 uses ADC2"
|
||||||
depends on STM32_HAVE_ADC2
|
depends on STM32_HAVE_ADC2
|
||||||
select STM32_FOC_USE_ADC2
|
select STM32_FOC_USE_ADC2
|
||||||
|
|
||||||
config STM32_FOC_FOC0_ADC3
|
config STM32_FOC_FOC0_ADC3
|
||||||
bool "FOC0 uses ADC3"
|
bool "FOC0 uses ADC3"
|
||||||
depends on STM32_HAVE_ADC3
|
depends on STM32_HAVE_ADC3
|
||||||
select STM32_FOC_USE_ADC3
|
select STM32_FOC_USE_ADC3
|
||||||
|
|
||||||
config STM32_FOC_FOC0_ADC4
|
config STM32_FOC_FOC0_ADC4
|
||||||
bool "FOC0 uses ADC4"
|
bool "FOC0 uses ADC4"
|
||||||
depends on STM32_HAVE_ADC4
|
depends on STM32_HAVE_ADC4
|
||||||
select STM32_FOC_USE_ADC4
|
select STM32_FOC_USE_ADC4
|
||||||
|
|
||||||
endchoice # "FOC0 device ADC selection"
|
endchoice # "FOC0 device ADC selection"
|
||||||
|
|
||||||
@@ -11431,115 +11431,115 @@ choice
|
|||||||
default STM32_FOC_FOC1_ADC2
|
default STM32_FOC_FOC1_ADC2
|
||||||
|
|
||||||
config STM32_FOC_FOC1_ADC1
|
config STM32_FOC_FOC1_ADC1
|
||||||
bool "FOC1 uses ADC1"
|
bool "FOC1 uses ADC1"
|
||||||
depends on STM32_HAVE_ADC1
|
depends on STM32_HAVE_ADC1
|
||||||
select STM32_FOC_USE_ADC1
|
select STM32_FOC_USE_ADC1
|
||||||
|
|
||||||
config STM32_FOC_FOC1_ADC2
|
config STM32_FOC_FOC1_ADC2
|
||||||
bool "FOC1 uses ADC2"
|
bool "FOC1 uses ADC2"
|
||||||
depends on STM32_HAVE_ADC2
|
depends on STM32_HAVE_ADC2
|
||||||
select STM32_FOC_USE_ADC2
|
select STM32_FOC_USE_ADC2
|
||||||
|
|
||||||
config STM32_FOC_FOC1_ADC3
|
config STM32_FOC_FOC1_ADC3
|
||||||
bool "FOC1 uses ADC3"
|
bool "FOC1 uses ADC3"
|
||||||
depends on STM32_HAVE_ADC3
|
depends on STM32_HAVE_ADC3
|
||||||
select STM32_FOC_USE_ADC3
|
select STM32_FOC_USE_ADC3
|
||||||
|
|
||||||
config STM32_FOC_FOC1_ADC4
|
config STM32_FOC_FOC1_ADC4
|
||||||
bool "FOC1 uses ADC4"
|
bool "FOC1 uses ADC4"
|
||||||
depends on STM32_HAVE_ADC4
|
depends on STM32_HAVE_ADC4
|
||||||
select STM32_FOC_USE_ADC4
|
select STM32_FOC_USE_ADC4
|
||||||
|
|
||||||
endchoice # "FOC0 device ADC selection"
|
endchoice # "FOC0 device ADC selection"
|
||||||
|
|
||||||
endif # STM32_FOC_FOC1
|
endif # STM32_FOC_FOC1
|
||||||
|
|
||||||
config STM32_FOC_HAS_PWM_COMPLEMENTARY
|
config STM32_FOC_HAS_PWM_COMPLEMENTARY
|
||||||
bool "FOC PWM has complementary outputs"
|
bool "FOC PWM has complementary outputs"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Enable complementary outputs for the FOC PWM (sometimes called 6-PWM mode)
|
Enable complementary outputs for the FOC PWM (sometimes called 6-PWM mode)
|
||||||
|
|
||||||
# hidden variables and automatic configuration
|
# hidden variables and automatic configuration
|
||||||
|
|
||||||
config STM32_FOC_USE_TIM1
|
config STM32_FOC_USE_TIM1
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
select STM32_TIM1
|
select STM32_TIM1
|
||||||
select STM32_TIM1_PWM
|
select STM32_TIM1_PWM
|
||||||
select STM32_TIM1_CHANNEL1
|
select STM32_TIM1_CHANNEL1
|
||||||
select STM32_TIM1_CHANNEL2
|
select STM32_TIM1_CHANNEL2
|
||||||
select STM32_TIM1_CHANNEL3
|
select STM32_TIM1_CHANNEL3
|
||||||
select STM32_TIM1_CHANNEL4 if STM32_FOC_ADC_CCR4
|
select STM32_TIM1_CHANNEL4 if STM32_FOC_ADC_CCR4
|
||||||
select STM32_TIM1_CH1OUT
|
select STM32_TIM1_CH1OUT
|
||||||
select STM32_TIM1_CH2OUT
|
select STM32_TIM1_CH2OUT
|
||||||
select STM32_TIM1_CH3OUT
|
select STM32_TIM1_CH3OUT
|
||||||
select STM32_TIM1_CH4OUT if STM32_FOC_ADC_CCR4
|
select STM32_TIM1_CH4OUT if STM32_FOC_ADC_CCR4
|
||||||
select STM32_TIM1_CH1NOUT if STM32_FOC_HAS_PWM_COMPLEMENTARY
|
select STM32_TIM1_CH1NOUT if STM32_FOC_HAS_PWM_COMPLEMENTARY
|
||||||
select STM32_TIM1_CH2NOUT if STM32_FOC_HAS_PWM_COMPLEMENTARY
|
select STM32_TIM1_CH2NOUT if STM32_FOC_HAS_PWM_COMPLEMENTARY
|
||||||
select STM32_TIM1_CH3NOUT if STM32_FOC_HAS_PWM_COMPLEMENTARY
|
select STM32_TIM1_CH3NOUT if STM32_FOC_HAS_PWM_COMPLEMENTARY
|
||||||
---help---
|
---help---
|
||||||
The TIM1 generates PWM for the FOC
|
The TIM1 generates PWM for the FOC
|
||||||
|
|
||||||
config STM32_FOC_USE_TIM8
|
config STM32_FOC_USE_TIM8
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
select STM32_TIM8
|
select STM32_TIM8
|
||||||
select STM32_TIM8_PWM
|
select STM32_TIM8_PWM
|
||||||
select STM32_TIM8_CHANNEL1
|
select STM32_TIM8_CHANNEL1
|
||||||
select STM32_TIM8_CHANNEL2
|
select STM32_TIM8_CHANNEL2
|
||||||
select STM32_TIM8_CHANNEL3
|
select STM32_TIM8_CHANNEL3
|
||||||
select STM32_TIM8_CHANNEL4 if STM32_FOC_ADC_CCR4
|
select STM32_TIM8_CHANNEL4 if STM32_FOC_ADC_CCR4
|
||||||
select STM32_TIM8_CH1OUT
|
select STM32_TIM8_CH1OUT
|
||||||
select STM32_TIM8_CH2OUT
|
select STM32_TIM8_CH2OUT
|
||||||
select STM32_TIM8_CH3OUT
|
select STM32_TIM8_CH3OUT
|
||||||
select STM32_TIM8_CH4OUT if STM32_FOC_ADC_CCR4
|
select STM32_TIM8_CH4OUT if STM32_FOC_ADC_CCR4
|
||||||
select STM32_TIM8_CH1NOUT if STM32_FOC_HAS_PWM_COMPLEMENTARY
|
select STM32_TIM8_CH1NOUT if STM32_FOC_HAS_PWM_COMPLEMENTARY
|
||||||
select STM32_TIM8_CH2NOUT if STM32_FOC_HAS_PWM_COMPLEMENTARY
|
select STM32_TIM8_CH2NOUT if STM32_FOC_HAS_PWM_COMPLEMENTARY
|
||||||
select STM32_TIM8_CH3NOUT if STM32_FOC_HAS_PWM_COMPLEMENTARY
|
select STM32_TIM8_CH3NOUT if STM32_FOC_HAS_PWM_COMPLEMENTARY
|
||||||
---help---
|
---help---
|
||||||
The TIM8 generates PWM for the FOC
|
The TIM8 generates PWM for the FOC
|
||||||
|
|
||||||
config STM32_FOC_USE_ADC1
|
config STM32_FOC_USE_ADC1
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
select STM32_ADC1
|
select STM32_ADC1
|
||||||
select STM32_ADC1_SCAN if STM32_HAVE_IP_ADC_V1
|
select STM32_ADC1_SCAN if STM32_HAVE_IP_ADC_V1
|
||||||
select STM32_ADC1_JEXTSEL
|
select STM32_ADC1_JEXTSEL
|
||||||
|
|
||||||
config STM32_FOC_USE_ADC2
|
config STM32_FOC_USE_ADC2
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
select STM32_ADC2
|
select STM32_ADC2
|
||||||
select STM32_ADC2_SCAN if STM32_HAVE_IP_ADC_V1
|
select STM32_ADC2_SCAN if STM32_HAVE_IP_ADC_V1
|
||||||
select STM32_ADC2_JEXTSEL
|
select STM32_ADC2_JEXTSEL
|
||||||
|
|
||||||
config STM32_FOC_USE_ADC3
|
config STM32_FOC_USE_ADC3
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
select STM32_ADC3
|
select STM32_ADC3
|
||||||
select STM32_ADC3_SCAN if STM32_HAVE_IP_ADC_V1
|
select STM32_ADC3_SCAN if STM32_HAVE_IP_ADC_V1
|
||||||
select STM32_ADC3_JEXTSEL
|
select STM32_ADC3_JEXTSEL
|
||||||
|
|
||||||
config STM32_FOC_USE_ADC4
|
config STM32_FOC_USE_ADC4
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
select STM32_ADC4
|
select STM32_ADC4
|
||||||
select STM32_ADC3_JEXTSEL
|
select STM32_ADC3_JEXTSEL
|
||||||
|
|
||||||
config STM32_FOC_G4_ADCCHAN0_WORKAROUND
|
config STM32_FOC_G4_ADCCHAN0_WORKAROUND
|
||||||
bool "FOC G4 ADC channel 0 unwanted conversion workaround"
|
bool "FOC G4 ADC channel 0 unwanted conversion workaround"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Some STM32G4 family chips have an issue that causes unwanted ADC channel 0
|
Some STM32G4 family chips have an issue that causes unwanted ADC channel 0
|
||||||
conversion when a regular conversion is interrupted by an injected conversion.
|
conversion when a regular conversion is interrupted by an injected conversion.
|
||||||
This FOC implementation uses injected conversion to sample phase currents
|
This FOC implementation uses injected conversion to sample phase currents
|
||||||
and allows user to use regular conversion as an auxiliary analog conversion.
|
and allows user to use regular conversion as an auxiliary analog conversion.
|
||||||
In this case, there is a certain probability that regular conversion will be
|
In this case, there is a certain probability that regular conversion will be
|
||||||
interrupted by an injected conversion that will lead to an incorrect reading
|
interrupted by an injected conversion that will lead to an incorrect reading
|
||||||
of phase currents.
|
of phase currents.
|
||||||
|
|
||||||
This workaround inserts a dummy conversion at the beginning of the injected
|
This workaround inserts a dummy conversion at the beginning of the injected
|
||||||
sequence. For more details look at the chip errata documents.
|
sequence. For more details look at the chip errata documents.
|
||||||
|
|
||||||
endif #STM32_FOC
|
endif #STM32_FOC
|
||||||
|
|||||||
+2
-2
@@ -58,8 +58,8 @@ config ARCH_MIPS_M5150
|
|||||||
select ARCH_HAVE_MICROMIPS
|
select ARCH_HAVE_MICROMIPS
|
||||||
|
|
||||||
config ARCH_HAVE_EIC
|
config ARCH_HAVE_EIC
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config ARCH_HAVE_MICROMIPS
|
config ARCH_HAVE_MICROMIPS
|
||||||
bool
|
bool
|
||||||
|
|||||||
@@ -58,10 +58,10 @@ config ARCH_SH1
|
|||||||
default n
|
default n
|
||||||
|
|
||||||
config ARCH_RENESAS_RX
|
config ARCH_RENESAS_RX
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
select ARCH_HAVE_SETJMP
|
select ARCH_HAVE_SETJMP
|
||||||
select CYGWIN_WINTOOL if WINDOWS_CYGWIN
|
select CYGWIN_WINTOOL if WINDOWS_CYGWIN
|
||||||
|
|
||||||
config ARCH_RX65N
|
config ARCH_RX65N
|
||||||
bool
|
bool
|
||||||
|
|||||||
+7
-7
@@ -71,13 +71,13 @@ config ARCH_CHIP_C906
|
|||||||
THEAD C906 processor (RISC-V 64bit core with GCVX extensions).
|
THEAD C906 processor (RISC-V 64bit core with GCVX extensions).
|
||||||
|
|
||||||
config ARCH_CHIP_MPFS
|
config ARCH_CHIP_MPFS
|
||||||
bool "MicroChip Polarfire (MPFS)"
|
bool "MicroChip Polarfire (MPFS)"
|
||||||
select ARCH_RV64GC
|
select ARCH_RV64GC
|
||||||
select ARCH_HAVE_MPU
|
select ARCH_HAVE_MPU
|
||||||
select ARCH_HAVE_RESET
|
select ARCH_HAVE_RESET
|
||||||
select ARCH_HAVE_SPI_CS_CONTROL
|
select ARCH_HAVE_SPI_CS_CONTROL
|
||||||
select ARCH_HAVE_PWM_MULTICHAN
|
select ARCH_HAVE_PWM_MULTICHAN
|
||||||
---help---
|
---help---
|
||||||
MicroChip Polarfire processor (RISC-V 64bit core with GCVX extensions).
|
MicroChip Polarfire processor (RISC-V 64bit core with GCVX extensions).
|
||||||
|
|
||||||
config ARCH_CHIP_RV32M1
|
config ARCH_CHIP_RV32M1
|
||||||
|
|||||||
@@ -65,13 +65,13 @@ menu "SPI Flash configuration"
|
|||||||
config BL602_MTD_OFFSET
|
config BL602_MTD_OFFSET
|
||||||
hex "MTD base address in SPI Flash"
|
hex "MTD base address in SPI Flash"
|
||||||
default 0x001c5000
|
default 0x001c5000
|
||||||
help
|
---help---
|
||||||
MTD base address in SPI Flash.
|
MTD base address in SPI Flash.
|
||||||
|
|
||||||
config BL602_MTD_SIZE
|
config BL602_MTD_SIZE
|
||||||
hex "MTD size in SPI Flash"
|
hex "MTD size in SPI Flash"
|
||||||
default 0x30000
|
default 0x30000
|
||||||
help
|
---help---
|
||||||
MTD size in SPI Flash.
|
MTD size in SPI Flash.
|
||||||
|
|
||||||
endmenu # BL602_SPIFLASH
|
endmenu # BL602_SPIFLASH
|
||||||
|
|||||||
@@ -830,7 +830,7 @@ choice ESP32C3_WIFI_LOG_LEVEL
|
|||||||
depends on DEBUG_INFO
|
depends on DEBUG_INFO
|
||||||
prompt "WiFi debug log level"
|
prompt "WiFi debug log level"
|
||||||
default WIFI_LOG_LEVEL_INFO
|
default WIFI_LOG_LEVEL_INFO
|
||||||
help
|
---help---
|
||||||
The WiFi log is divided into the following levels: ERROR,WARNING,INFO,DEBUG,VERBOSE.
|
The WiFi log is divided into the following levels: ERROR,WARNING,INFO,DEBUG,VERBOSE.
|
||||||
|
|
||||||
config WIFI_LOG_LEVEL_NONE
|
config WIFI_LOG_LEVEL_NONE
|
||||||
@@ -926,8 +926,8 @@ config ESP32C3_MTD
|
|||||||
select MTD_BYTE_WRITE
|
select MTD_BYTE_WRITE
|
||||||
select MTD_PARTITION
|
select MTD_PARTITION
|
||||||
---help---
|
---help---
|
||||||
Initialize an MTD driver for the ESP32-C3 SPI Flash, which will
|
Initialize an MTD driver for the ESP32-C3 SPI Flash, which will
|
||||||
add an entry at /dev for application access from userspace.
|
add an entry at /dev for application access from userspace.
|
||||||
|
|
||||||
config ESP32C3_STORAGE_MTD_BLKSIZE
|
config ESP32C3_STORAGE_MTD_BLKSIZE
|
||||||
int "Storage MTD block size"
|
int "Storage MTD block size"
|
||||||
|
|||||||
@@ -21,16 +21,16 @@ config MPFS_BOOTLOADER
|
|||||||
|
|
||||||
config MPFS_BOOT_HART
|
config MPFS_BOOT_HART
|
||||||
int "HART used for booting"
|
int "HART used for booting"
|
||||||
depends on MPFS_BOOTLOADER
|
depends on MPFS_BOOTLOADER
|
||||||
default 0
|
default 0
|
||||||
---help---
|
---help---
|
||||||
The HART number which does the HW initialiization and wakes up the other harts (Default 0, E51 core)
|
The HART number which does the HW initialiization and wakes up the other harts (Default 0, E51 core)
|
||||||
|
|
||||||
config MPFS_DDR_INIT
|
config MPFS_DDR_INIT
|
||||||
bool "Initialize DDR"
|
bool "Initialize DDR"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Initializes and performs DDR training on the associated DDR memory.
|
Initializes and performs DDR training on the associated DDR memory.
|
||||||
|
|
||||||
config MPFS_EMMCSD_MUX_GPIO
|
config MPFS_EMMCSD_MUX_GPIO
|
||||||
bool "GPIO driven EMMCSD mux"
|
bool "GPIO driven EMMCSD mux"
|
||||||
@@ -76,12 +76,12 @@ config MPFS_HAVE_UART4
|
|||||||
# These are the peripheral selections proper
|
# These are the peripheral selections proper
|
||||||
|
|
||||||
config MPFS_SPI0
|
config MPFS_SPI0
|
||||||
bool "SPI 0"
|
bool "SPI 0"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config MPFS_SPI1
|
config MPFS_SPI1
|
||||||
bool "SPI 1"
|
bool "SPI 1"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config MPFS_UART0
|
config MPFS_UART0
|
||||||
bool "UART 0"
|
bool "UART 0"
|
||||||
@@ -119,23 +119,23 @@ config MPFS_UART4
|
|||||||
select MPFS_HAVE_UART4
|
select MPFS_HAVE_UART4
|
||||||
|
|
||||||
config MPFS_I2C0
|
config MPFS_I2C0
|
||||||
bool "I2C 0"
|
bool "I2C 0"
|
||||||
select ARCH_HAVE_I2CRESET
|
select ARCH_HAVE_I2CRESET
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config MPFS_I2C1
|
config MPFS_I2C1
|
||||||
bool "I2C 1"
|
bool "I2C 1"
|
||||||
select ARCH_HAVE_I2CRESET
|
select ARCH_HAVE_I2CRESET
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config MPFS_EMMCSD
|
config MPFS_EMMCSD
|
||||||
bool "EMMCSD"
|
bool "EMMCSD"
|
||||||
select ARCH_HAVE_SDIO
|
select ARCH_HAVE_SDIO
|
||||||
select SDIO_BLOCKSETUP
|
select SDIO_BLOCKSETUP
|
||||||
select SDIO_DMA
|
select SDIO_DMA
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Selects the MPFS eMMCSD driver.
|
Selects the MPFS eMMCSD driver.
|
||||||
|
|
||||||
comment "CorePWM Options"
|
comment "CorePWM Options"
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ choice
|
|||||||
config ARCH_CHIP_RV32M1_RI5CY
|
config ARCH_CHIP_RV32M1_RI5CY
|
||||||
bool "RV32M1_RI5CY"
|
bool "RV32M1_RI5CY"
|
||||||
select RV32M1_HAVE_ITCM
|
select RV32M1_HAVE_ITCM
|
||||||
select RV32M1_HAVE_TSTMR
|
select RV32M1_HAVE_TSTMR
|
||||||
---help---
|
---help---
|
||||||
RV32M1 RI5CY, RV32IMC 256KB SRAM, 1MB FLASH.
|
RV32M1 RI5CY, RV32IMC 256KB SRAM, 1MB FLASH.
|
||||||
|
|
||||||
@@ -45,52 +45,52 @@ config RV32M1_HAVE_ITCM
|
|||||||
default n
|
default n
|
||||||
|
|
||||||
config RV32M1_HAVE_TSTMR
|
config RV32M1_HAVE_TSTMR
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config RV32M1_LPUART
|
config RV32M1_LPUART
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config RV32M1_SERIALDRIVER
|
config RV32M1_SERIALDRIVER
|
||||||
bool
|
bool
|
||||||
default n
|
default n
|
||||||
|
|
||||||
# These are the peripheral selections proper
|
# These are the peripheral selections proper
|
||||||
|
|
||||||
config RV32M1_LPUART0
|
config RV32M1_LPUART0
|
||||||
bool "LPUART0"
|
bool "LPUART0"
|
||||||
default n
|
default n
|
||||||
depends on RV32M1_HAVE_LPUART0
|
depends on RV32M1_HAVE_LPUART0
|
||||||
select RV32M1_LPUART
|
select RV32M1_LPUART
|
||||||
|
|
||||||
config RV32M1_LPUART1
|
config RV32M1_LPUART1
|
||||||
bool "LPUART1"
|
bool "LPUART1"
|
||||||
default n
|
default n
|
||||||
depends on RV32M1_HAVE_LPUART1
|
depends on RV32M1_HAVE_LPUART1
|
||||||
select RV32M1_LPUART
|
select RV32M1_LPUART
|
||||||
|
|
||||||
config RV32M1_LPUART2
|
config RV32M1_LPUART2
|
||||||
bool "LPUART2"
|
bool "LPUART2"
|
||||||
default n
|
default n
|
||||||
depends on RV32M1_HAVE_LPUART2
|
depends on RV32M1_HAVE_LPUART2
|
||||||
select RV32M2_LPUART
|
select RV32M2_LPUART
|
||||||
|
|
||||||
config RV32M1_LPUART3
|
config RV32M1_LPUART3
|
||||||
bool "LPUART3"
|
bool "LPUART3"
|
||||||
default n
|
default n
|
||||||
depends on RV32M1_HAVE_LPUART3
|
depends on RV32M1_HAVE_LPUART3
|
||||||
select RV32M2_LPUART
|
select RV32M2_LPUART
|
||||||
|
|
||||||
config RV32M1_ITCM
|
config RV32M1_ITCM
|
||||||
bool "ITCM"
|
bool "ITCM"
|
||||||
default n
|
default n
|
||||||
depends on RV32M1_HAVE_ITCM
|
depends on RV32M1_HAVE_ITCM
|
||||||
|
|
||||||
config RV32M1_TSTMR
|
config RV32M1_TSTMR
|
||||||
bool "TSTMR"
|
bool "TSTMR"
|
||||||
default n
|
default n
|
||||||
depends on RV32M1_HAVE_TSTMR
|
depends on RV32M1_HAVE_TSTMR
|
||||||
|
|
||||||
menu "LPUART Configuration"
|
menu "LPUART Configuration"
|
||||||
depends on RV32M1_LPUART
|
depends on RV32M1_LPUART
|
||||||
@@ -106,7 +106,7 @@ config RV32M1_LPUART0_SERIALDRIVER
|
|||||||
bool "Standard serial driver"
|
bool "Standard serial driver"
|
||||||
select ARCH_HAVE_SERIAL_TERMIOS
|
select ARCH_HAVE_SERIAL_TERMIOS
|
||||||
select RV32M1_SERIALDRIVER
|
select RV32M1_SERIALDRIVER
|
||||||
select LPUART0_SERIALDRIVER
|
select LPUART0_SERIALDRIVER
|
||||||
|
|
||||||
endchoice # LPUART0 Driver Configuration
|
endchoice # LPUART0 Driver Configuration
|
||||||
|
|
||||||
@@ -123,7 +123,7 @@ config RV32M1_LPUART1_SERIALDRIVER
|
|||||||
bool "Standard serial driver"
|
bool "Standard serial driver"
|
||||||
select ARCH_HAVE_SERIAL_TERMIOS
|
select ARCH_HAVE_SERIAL_TERMIOS
|
||||||
select RV32M1_SERIALDRIVER
|
select RV32M1_SERIALDRIVER
|
||||||
select LPUART1_SERIALDRIVER
|
select LPUART1_SERIALDRIVER
|
||||||
|
|
||||||
endchoice # LPUART1 Driver Configuration
|
endchoice # LPUART1 Driver Configuration
|
||||||
|
|
||||||
@@ -140,7 +140,7 @@ config RV32M1_LPUART2_SERIALDRIVER
|
|||||||
bool "Standard serial driver"
|
bool "Standard serial driver"
|
||||||
select ARCH_HAVE_SERIAL_TERMIOS
|
select ARCH_HAVE_SERIAL_TERMIOS
|
||||||
select RV32M1_SERIALDRIVER
|
select RV32M1_SERIALDRIVER
|
||||||
select LPUART2_SERIALDRIVER
|
select LPUART2_SERIALDRIVER
|
||||||
|
|
||||||
endchoice # LPUART2 Driver Configuration
|
endchoice # LPUART2 Driver Configuration
|
||||||
|
|
||||||
@@ -157,7 +157,7 @@ config RV32M1_LPUART3_SERIALDRIVER
|
|||||||
bool "Standard serial driver"
|
bool "Standard serial driver"
|
||||||
select ARCH_HAVE_SERIAL_TERMIOS
|
select ARCH_HAVE_SERIAL_TERMIOS
|
||||||
select RV32M1_SERIALDRIVER
|
select RV32M1_SERIALDRIVER
|
||||||
select LPUART3_SERIALDRIVER
|
select LPUART3_SERIALDRIVER
|
||||||
|
|
||||||
endchoice # LPUART3 Driver Configuration
|
endchoice # LPUART3 Driver Configuration
|
||||||
|
|
||||||
|
|||||||
+4
-4
@@ -18,8 +18,8 @@ config ARCH_INTEL64
|
|||||||
bool "Intel x86_64"
|
bool "Intel x86_64"
|
||||||
select ARCH_HAVE_MPU
|
select ARCH_HAVE_MPU
|
||||||
select ARCH_USE_MPU
|
select ARCH_USE_MPU
|
||||||
select ARCH_HAVE_TICKLESS
|
select ARCH_HAVE_TICKLESS
|
||||||
select ARCH_HAVE_STACKCHECK
|
select ARCH_HAVE_STACKCHECK
|
||||||
select ARCH_HAVE_RNG
|
select ARCH_HAVE_RNG
|
||||||
---help---
|
---help---
|
||||||
Intel x86_64 architecture
|
Intel x86_64 architecture
|
||||||
@@ -66,8 +66,8 @@ endif # ARCH_CHIP_QEMU
|
|||||||
config ARCH_EXCLUDE_MULTIBOOT
|
config ARCH_EXCLUDE_MULTIBOOT
|
||||||
bool "Don't append multiboot2 header"
|
bool "Don't append multiboot2 header"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Some platforms, e.g. jailhouse, do not like to have a multiboot header
|
Some platforms, e.g. jailhouse, do not like to have a multiboot header
|
||||||
|
|
||||||
|
|
||||||
endif # ARCH_X86_64
|
endif # ARCH_X86_64
|
||||||
|
|||||||
@@ -7,16 +7,16 @@ if ARCH_INTEL64
|
|||||||
comment "intel64 Configuration Options"
|
comment "intel64 Configuration Options"
|
||||||
|
|
||||||
config ARCH_INTEL64_HAVE_TSC_DEADLINE
|
config ARCH_INTEL64_HAVE_TSC_DEADLINE
|
||||||
bool "TSC DEADLINE timer support"
|
bool "TSC DEADLINE timer support"
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
Select to enable the use of TSC DEADLINE timer of x86_64
|
Select to enable the use of TSC DEADLINE timer of x86_64
|
||||||
|
|
||||||
if ARCH_INTEL64_HAVE_TSC_DEADLINE
|
if ARCH_INTEL64_HAVE_TSC_DEADLINE
|
||||||
|
|
||||||
config ARCH_INTEL64_CORE_FREQ_KHZ
|
config ARCH_INTEL64_CORE_FREQ_KHZ
|
||||||
int "CPU Core frequency in kHz"
|
int "CPU Core frequency in kHz"
|
||||||
default 2000000
|
default 2000000
|
||||||
---help---
|
---help---
|
||||||
The CPU Core frequency (without Turbo boost). This is used
|
The CPU Core frequency (without Turbo boost). This is used
|
||||||
to set the TSC deadline timer frequency.
|
to set the TSC deadline timer frequency.
|
||||||
@@ -26,8 +26,8 @@ endif
|
|||||||
if !ARCH_INTEL64_HAVE_TSC_DEADLINE
|
if !ARCH_INTEL64_HAVE_TSC_DEADLINE
|
||||||
|
|
||||||
config ARCH_INTEL64_APIC_FREQ_KHZ
|
config ARCH_INTEL64_APIC_FREQ_KHZ
|
||||||
int "APIC timer frequency in kHz"
|
int "APIC timer frequency in kHz"
|
||||||
default 2000000
|
default 2000000
|
||||||
---help---
|
---help---
|
||||||
The APIC timer frequency. This is used to set the APIC timer
|
The APIC timer frequency. This is used to set the APIC timer
|
||||||
frequency in case of no TSC DEADLINE timer is available.
|
frequency in case of no TSC DEADLINE timer is available.
|
||||||
@@ -35,27 +35,27 @@ config ARCH_INTEL64_APIC_FREQ_KHZ
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
config ARCH_INTEL64_HAVE_XSAVE
|
config ARCH_INTEL64_HAVE_XSAVE
|
||||||
bool "XSAVE support"
|
bool "XSAVE support"
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
Select to enable the use of XSAVE and FPU/SSE/AVX functions
|
Select to enable the use of XSAVE and FPU/SSE/AVX functions
|
||||||
of x86_64
|
of x86_64
|
||||||
|
|
||||||
config ARCH_INTEL64_HAVE_PCID
|
config ARCH_INTEL64_HAVE_PCID
|
||||||
bool "PCID support"
|
bool "PCID support"
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
Select to enable the use of PCID to reduce TLB flush
|
Select to enable the use of PCID to reduce TLB flush
|
||||||
|
|
||||||
config ARCH_INTEL64_HAVE_RDRAND
|
config ARCH_INTEL64_HAVE_RDRAND
|
||||||
bool "RDRAND support"
|
bool "RDRAND support"
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
Select to enable the use of RDRAND for /dev/random
|
Select to enable the use of RDRAND for /dev/random
|
||||||
|
|
||||||
config ARCH_INTEL64_DISABLE_INT_INIT
|
config ARCH_INTEL64_DISABLE_INT_INIT
|
||||||
bool "Disable Initialization of 8259/APIC/IO-APIC"
|
bool "Disable Initialization of 8259/APIC/IO-APIC"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Select to disable all initialization related to interrupt
|
Select to disable all initialization related to interrupt
|
||||||
controllers. This is necessary if those are already
|
controllers. This is necessary if those are already
|
||||||
|
|||||||
+2
-2
@@ -201,7 +201,7 @@ config XTENSA_INTBACKTRACE
|
|||||||
config XTENSA_IMEM_USE_SEPARATE_HEAP
|
config XTENSA_IMEM_USE_SEPARATE_HEAP
|
||||||
bool "Use a separate heap for internal memory"
|
bool "Use a separate heap for internal memory"
|
||||||
default n
|
default n
|
||||||
help
|
---help---
|
||||||
This is a separate internal heap that's used by drivers when certain operations
|
This is a separate internal heap that's used by drivers when certain operations
|
||||||
are not possible with the provided buffer(s).
|
are not possible with the provided buffer(s).
|
||||||
Mainly, when the provided buffer comes from external RAM and a DMA or flash
|
Mainly, when the provided buffer comes from external RAM and a DMA or flash
|
||||||
@@ -216,7 +216,7 @@ config XTENSA_IMEM_REGION_SIZE
|
|||||||
config XTENSA_EXTMEM_BSS
|
config XTENSA_EXTMEM_BSS
|
||||||
bool "Allow BSS section in external memory"
|
bool "Allow BSS section in external memory"
|
||||||
default n
|
default n
|
||||||
help
|
---help---
|
||||||
Adds a section and an attribute that allows to force variables into
|
Adds a section and an attribute that allows to force variables into
|
||||||
the external memory.
|
the external memory.
|
||||||
|
|
||||||
|
|||||||
@@ -51,8 +51,8 @@ config ARCH_CHIP_EZ80F93
|
|||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Toolchain Selection"
|
prompt "Toolchain Selection"
|
||||||
default EZ80_TOOLCHAIN_ZDSII
|
default EZ80_TOOLCHAIN_ZDSII
|
||||||
|
|
||||||
config EZ80_TOOLCHAIN_ZDSII
|
config EZ80_TOOLCHAIN_ZDSII
|
||||||
bool "ZDS-II for Windows"
|
bool "ZDS-II for Windows"
|
||||||
@@ -60,7 +60,7 @@ config EZ80_TOOLCHAIN_ZDSII
|
|||||||
|
|
||||||
config EZ80_TOOLCHAIN_CLANG
|
config EZ80_TOOLCHAIN_CLANG
|
||||||
bool "Clang for Linux, macOS, or Cygwin"
|
bool "Clang for Linux, macOS, or Cygwin"
|
||||||
depends on EXPERIMENTAL
|
depends on EXPERIMENTAL
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
|||||||
@@ -319,11 +319,11 @@ config Z180_TOOLCHAIN_SDCCW
|
|||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config Z180_MAX_TASKS
|
config Z180_MAX_TASKS
|
||||||
int "Max number of tasks for arch chip z180"
|
int "Max number of tasks for arch chip z180"
|
||||||
default 8
|
default 8
|
||||||
---help---
|
---help---
|
||||||
The maximum number of simultaneously active tasks. This value must be
|
The maximum number of simultaneously active tasks. This value must be
|
||||||
a power of two.
|
a power of two.
|
||||||
|
|
||||||
config LINKER_HOME_AREA
|
config LINKER_HOME_AREA
|
||||||
hex "Physical start of _HOME area"
|
hex "Physical start of _HOME area"
|
||||||
|
|||||||
+33
-33
@@ -319,15 +319,15 @@ config ARCH_BOARD_FIRE_STM32
|
|||||||
tested.
|
tested.
|
||||||
|
|
||||||
config ARCH_BOARD_CHIPKIT_WIFIRE
|
config ARCH_BOARD_CHIPKIT_WIFIRE
|
||||||
bool "chipKIT Wi-FIRE"
|
bool "chipKIT Wi-FIRE"
|
||||||
depends on ARCH_CHIP_PIC32MZ2048EFG
|
depends on ARCH_CHIP_PIC32MZ2048EFG
|
||||||
select ARCH_HAVE_LEDS
|
select ARCH_HAVE_LEDS
|
||||||
select ARCH_HAVE_BUTTONS
|
select ARCH_HAVE_BUTTONS
|
||||||
select ARCH_HAVE_IRQBUTTONS
|
select ARCH_HAVE_IRQBUTTONS
|
||||||
---help---
|
---help---
|
||||||
This options selects the chipKIT Wi-FIRE board. This
|
This options selects the chipKIT Wi-FIRE board. This
|
||||||
board is a chipKIT Arduino-compatible board. This board
|
board is a chipKIT Arduino-compatible board. This board
|
||||||
features the Microchip PIC32MZ2048EFG100 MCU running at 200 MHz.
|
features the Microchip PIC32MZ2048EFG100 MCU running at 200 MHz.
|
||||||
|
|
||||||
config ARCH_BOARD_FLIPNCLICK_PIC32MZ
|
config ARCH_BOARD_FLIPNCLICK_PIC32MZ
|
||||||
bool "Mikroe Flip&Click PIC32MZ"
|
bool "Mikroe Flip&Click PIC32MZ"
|
||||||
@@ -674,20 +674,20 @@ config ARCH_BOARD_SMARTL_C906
|
|||||||
THEAD smartl-c906 board. This board features the RISC-V C906.
|
THEAD smartl-c906 board. This board features the RISC-V C906.
|
||||||
|
|
||||||
config ARCH_BOARD_ICICLE_MPFS
|
config ARCH_BOARD_ICICLE_MPFS
|
||||||
bool "Polarfire Icicle evaluation board for MPFS"
|
bool "Polarfire Icicle evaluation board for MPFS"
|
||||||
depends on ARCH_CHIP_MPFS
|
depends on ARCH_CHIP_MPFS
|
||||||
select ARCH_HAVE_LEDS if !MPFS_WITH_QEMU
|
select ARCH_HAVE_LEDS if !MPFS_WITH_QEMU
|
||||||
---help---
|
---help---
|
||||||
This is the board configuration for the port of NuttX to the
|
This is the board configuration for the port of NuttX to the
|
||||||
MicroChip icicle-mpfs board. This board features the RISC-V MPFS.
|
MicroChip icicle-mpfs board. This board features the RISC-V MPFS.
|
||||||
|
|
||||||
config ARCH_BOARD_M100PFSEVP_MPFS
|
config ARCH_BOARD_M100PFSEVP_MPFS
|
||||||
bool "Aries M100PFSEVP evaluation platform for MPFS"
|
bool "Aries M100PFSEVP evaluation platform for MPFS"
|
||||||
depends on ARCH_CHIP_MPFS
|
depends on ARCH_CHIP_MPFS
|
||||||
select CONFIG_MPFS_EMMCSD_MUX_GPIO if !MPFS_WITH_QEMU
|
select CONFIG_MPFS_EMMCSD_MUX_GPIO if !MPFS_WITH_QEMU
|
||||||
---help---
|
---help---
|
||||||
This is the board configuration for the port of NuttX to the
|
This is the board configuration for the port of NuttX to the
|
||||||
MicroChip m100pfsevp-mpfs board. This board features the RISC-V MPFS.
|
MicroChip m100pfsevp-mpfs board. This board features the RISC-V MPFS.
|
||||||
|
|
||||||
config ARCH_BOARD_MAX32660_EVSYS
|
config ARCH_BOARD_MAX32660_EVSYS
|
||||||
bool "Maxim Integrated MAX32660-EVSYS"
|
bool "Maxim Integrated MAX32660-EVSYS"
|
||||||
@@ -1511,22 +1511,22 @@ config ARCH_BOARD_SABRE_6QUAD
|
|||||||
board featuring the iMX 6Quad CPU.
|
board featuring the iMX 6Quad CPU.
|
||||||
|
|
||||||
config ARCH_BOARD_SAMA5D2_XULT
|
config ARCH_BOARD_SAMA5D2_XULT
|
||||||
bool "Atmel SAMA5D2 Xplained Ultra development board"
|
bool "Atmel SAMA5D2 Xplained Ultra development board"
|
||||||
depends on ARCH_CHIP_ATSAMA5D27
|
depends on ARCH_CHIP_ATSAMA5D27
|
||||||
select ARCH_HAVE_LEDS
|
select ARCH_HAVE_LEDS
|
||||||
select ARCH_HAVE_BUTTONS
|
select ARCH_HAVE_BUTTONS
|
||||||
select ARCH_HAVE_IRQBUTTONS
|
select ARCH_HAVE_IRQBUTTONS
|
||||||
---help---
|
---help---
|
||||||
The port of NuttX to the Atmel SAMA5D2-XULT development board
|
The port of NuttX to the Atmel SAMA5D2-XULT development board
|
||||||
|
|
||||||
config ARCH_BOARD_GIANT_BOARD
|
config ARCH_BOARD_GIANT_BOARD
|
||||||
bool "Groboards Giant Board (SAMA5D27C-D1G)"
|
bool "Groboards Giant Board (SAMA5D27C-D1G)"
|
||||||
depends on ARCH_CHIP_ATSAMA5D27
|
depends on ARCH_CHIP_ATSAMA5D27
|
||||||
select SAMA5D27_GIANT_BOARD_492MHZ
|
select SAMA5D27_GIANT_BOARD_492MHZ
|
||||||
select ARCH_HAVE_LEDS
|
select ARCH_HAVE_LEDS
|
||||||
---help---
|
---help---
|
||||||
This options selects support for NuttX on the Groboards Giant Board,
|
This options selects support for NuttX on the Groboards Giant Board,
|
||||||
featuring the SAMA5D27C-D1G SIP with 128MB DDR2 RAM.
|
featuring the SAMA5D27C-D1G SIP with 128MB DDR2 RAM.
|
||||||
|
|
||||||
config ARCH_BOARD_SAMA5D3X_EK
|
config ARCH_BOARD_SAMA5D3X_EK
|
||||||
bool "Atmel SAMA5D3x-EK development board"
|
bool "Atmel SAMA5D3x-EK development board"
|
||||||
@@ -2084,7 +2084,7 @@ config ARCH_BOARD_TEENSY_LC
|
|||||||
select ARCH_HAVE_LEDS
|
select ARCH_HAVE_LEDS
|
||||||
---help---
|
---help---
|
||||||
This is the configuration for the Teensy LC board.
|
This is the configuration for the Teensy LC board.
|
||||||
See https://www.pjrc.com/teensy/teensyLC.html. The
|
See https://www.pjrc.com/teensy/teensyLC.html. The
|
||||||
Teensy LC is based on the Freescale KL25Z.
|
Teensy LC is based on the Freescale KL25Z.
|
||||||
|
|
||||||
config ARCH_BOARD_TM4C123G_LAUNCHPAD
|
config ARCH_BOARD_TM4C123G_LAUNCHPAD
|
||||||
@@ -2497,7 +2497,7 @@ config ARCH_BOARD
|
|||||||
default "s32k144evb" if ARCH_BOARD_S32K144EVB
|
default "s32k144evb" if ARCH_BOARD_S32K144EVB
|
||||||
default "ucans32k146" if ARCH_BOARD_UCANS32K146
|
default "ucans32k146" if ARCH_BOARD_UCANS32K146
|
||||||
default "rv32m1-vega" if ARCH_BOARD_RV32M1_VEGA
|
default "rv32m1-vega" if ARCH_BOARD_RV32M1_VEGA
|
||||||
default "rv32-virt" if ARCH_BOARD_QEMU_RV32_VIRT
|
default "rv32-virt" if ARCH_BOARD_QEMU_RV32_VIRT
|
||||||
default "s32k146evb" if ARCH_BOARD_S32K146EVB
|
default "s32k146evb" if ARCH_BOARD_S32K146EVB
|
||||||
default "s32k148evb" if ARCH_BOARD_S32K148EVB
|
default "s32k148evb" if ARCH_BOARD_S32K148EVB
|
||||||
default "sabre-6quad" if ARCH_BOARD_SABRE_6QUAD
|
default "sabre-6quad" if ARCH_BOARD_SABRE_6QUAD
|
||||||
|
|||||||
@@ -5,26 +5,26 @@
|
|||||||
|
|
||||||
if ARCH_BOARD_IMXRT1020_EVK
|
if ARCH_BOARD_IMXRT1020_EVK
|
||||||
choice
|
choice
|
||||||
prompt "Boot Flash"
|
prompt "Boot Flash"
|
||||||
default IMXRT1020_EVK_HYPER_FLASH
|
default IMXRT1020_EVK_HYPER_FLASH
|
||||||
|
|
||||||
config IMXRT1020_EVK_HYPER_FLASH
|
config IMXRT1020_EVK_HYPER_FLASH
|
||||||
bool "HYPER Flash"
|
bool "HYPER Flash"
|
||||||
|
|
||||||
config IMXRT1020_EVK_QSPI_FLASH
|
config IMXRT1020_EVK_QSPI_FLASH
|
||||||
bool "QSPI Flash"
|
bool "QSPI Flash"
|
||||||
|
|
||||||
endchoice # Boot Flash
|
endchoice # Boot Flash
|
||||||
|
|
||||||
config IMXRT1020_EVK_SDRAM
|
config IMXRT1020_EVK_SDRAM
|
||||||
bool "Enable SDRAM"
|
bool "Enable SDRAM"
|
||||||
default n
|
default n
|
||||||
select IMXRT_SEMC_INIT_DONE
|
select IMXRT_SEMC_INIT_DONE
|
||||||
---help---
|
---help---
|
||||||
Activate DCD configuration of SDRAM
|
Activate DCD configuration of SDRAM
|
||||||
|
|
||||||
config HAVE_LEDS
|
config HAVE_LEDS
|
||||||
bool "Have user leds"
|
bool "Have user leds"
|
||||||
default y
|
default y
|
||||||
select ARCH_HAVE_LEDS
|
select ARCH_HAVE_LEDS
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -40,8 +40,8 @@ config SAMA5_SDMMC
|
|||||||
select SDIO_DMA
|
select SDIO_DMA
|
||||||
select SCHED_WORKQUEUE
|
select SCHED_WORKQUEUE
|
||||||
select SCHED_HPWORK
|
select SCHED_HPWORK
|
||||||
select MMCSD
|
select MMCSD
|
||||||
select MMCSD_SDIO
|
select MMCSD_SDIO
|
||||||
select SDIO_BLOCKSETUP
|
select SDIO_BLOCKSETUP
|
||||||
select ARCH_HAVE_SDIO
|
select ARCH_HAVE_SDIO
|
||||||
select SAMA5_SDMMC_DMA
|
select SAMA5_SDMMC_DMA
|
||||||
@@ -49,87 +49,87 @@ config SAMA5_SDMMC
|
|||||||
Enable SD Card interface SDMMC0. Selects SAMA5_SDMMC SAMA5_SDMMC0 SAMA5_SDMMC_DMA SDIO_DMA SCHED_WORKQUEUE SCHED_HPWORK SDIO_BLOCKSETUP
|
Enable SD Card interface SDMMC0. Selects SAMA5_SDMMC SAMA5_SDMMC0 SAMA5_SDMMC_DMA SDIO_DMA SCHED_WORKQUEUE SCHED_HPWORK SDIO_BLOCKSETUP
|
||||||
|
|
||||||
config SAMA5_SDMMC0
|
config SAMA5_SDMMC0
|
||||||
bool "Enable SDMMC0 (built-in eMMC)"
|
bool "Enable SDMMC0 (built-in eMMC)"
|
||||||
default n if SAMA5_SDMMC
|
default n if SAMA5_SDMMC
|
||||||
depends on SAMA5_SDMMC
|
depends on SAMA5_SDMMC
|
||||||
|
|
||||||
config SAMA5_SDMMC0_SIZE
|
config SAMA5_SDMMC0_SIZE
|
||||||
int "SDMMC0 size in bytes"
|
int "SDMMC0 size in bytes"
|
||||||
default 4294967296
|
default 4294967296
|
||||||
depends on SAMA5_SDMMC0
|
depends on SAMA5_SDMMC0
|
||||||
---help---
|
---help---
|
||||||
Size of eMMC flash in bytes. Default: 4GB
|
Size of eMMC flash in bytes. Default: 4GB
|
||||||
|
|
||||||
config SAMA5D27_SDMMC0_MOUNT
|
config SAMA5D27_SDMMC0_MOUNT
|
||||||
bool "Mount SDMMC0 at startup"
|
bool "Mount SDMMC0 at startup"
|
||||||
default n
|
default n
|
||||||
depends on SAMA5_SDMMC0
|
depends on SAMA5_SDMMC0
|
||||||
|
|
||||||
config SAMA5D27_SDMMC0_MOUNT_BLKDEV
|
config SAMA5D27_SDMMC0_MOUNT_BLKDEV
|
||||||
string "SDMMC0 block device name"
|
string "SDMMC0 block device name"
|
||||||
default "mmc0"
|
default "mmc0"
|
||||||
depends on SAMA5_SDMMC0
|
depends on SAMA5_SDMMC0
|
||||||
|
|
||||||
config SAMA5D27_SDMMC0_MOUNT_MOUNTPOINT
|
config SAMA5D27_SDMMC0_MOUNT_MOUNTPOINT
|
||||||
string "SDMMC0 mountpoint"
|
string "SDMMC0 mountpoint"
|
||||||
default "/mnt/sdmmc0"
|
default "/mnt/sdmmc0"
|
||||||
depends on SAMA5_SDMMC0
|
depends on SAMA5_SDMMC0
|
||||||
|
|
||||||
config SAMA5D27_SDMMC0_MOUNT_FSTYPE
|
config SAMA5D27_SDMMC0_MOUNT_FSTYPE
|
||||||
string "SDMMC0 file system type"
|
string "SDMMC0 file system type"
|
||||||
default "vfat"
|
default "vfat"
|
||||||
depends on SAMA5_SDMMC0
|
depends on SAMA5_SDMMC0
|
||||||
|
|
||||||
config CONFIG_SAMA5_SDMMC1_WIDTH_D1_D8
|
config CONFIG_SAMA5_SDMMC1_WIDTH_D1_D8
|
||||||
bool "SDMMC0 data bus width 8 bits"
|
bool "SDMMC0 data bus width 8 bits"
|
||||||
default y
|
default y
|
||||||
depends on SAMA5_SDMMC0
|
depends on SAMA5_SDMMC0
|
||||||
|
|
||||||
config SAMA5_SDMMC1
|
config SAMA5_SDMMC1
|
||||||
bool "Enable SDMMC1"
|
bool "Enable SDMMC1"
|
||||||
default y if SAMA5_SDMMC
|
default y if SAMA5_SDMMC
|
||||||
select SAMA5_SDMMC1_WIDTH_D1_D4
|
select SAMA5_SDMMC1_WIDTH_D1_D4
|
||||||
depends on SAMA5_SDMMC
|
depends on SAMA5_SDMMC
|
||||||
|
|
||||||
config SAMA5_SDMMC1_SIZE
|
config SAMA5_SDMMC1_SIZE
|
||||||
int "SDMMC1 size in bytes"
|
int "SDMMC1 size in bytes"
|
||||||
default 1073741824
|
default 1073741824
|
||||||
depends on SAMA5_SDMMC1
|
depends on SAMA5_SDMMC1
|
||||||
---help---
|
---help---
|
||||||
Size of SD Card in bytes. Default: 16GB
|
Size of SD Card in bytes. Default: 16GB
|
||||||
|
|
||||||
config SAMA5D27_SDMMC1_MOUNT
|
config SAMA5D27_SDMMC1_MOUNT
|
||||||
bool "Mount SDMMC1 at startup"
|
bool "Mount SDMMC1 at startup"
|
||||||
default n
|
default n
|
||||||
depends on SAMA5_SDMMC1
|
depends on SAMA5_SDMMC1
|
||||||
|
|
||||||
config SAMA5D27_SDMMC1_MOUNT_BLKDEV
|
config SAMA5D27_SDMMC1_MOUNT_BLKDEV
|
||||||
string "SDMMC1 block device name"
|
string "SDMMC1 block device name"
|
||||||
default "mmc1"
|
default "mmc1"
|
||||||
depends on SAMA5_SDMMC1
|
depends on SAMA5_SDMMC1
|
||||||
|
|
||||||
config SAMA5D27_SDMMC1_MOUNT_MOUNTPOINT
|
config SAMA5D27_SDMMC1_MOUNT_MOUNTPOINT
|
||||||
string "SDMMC1 mountpoint"
|
string "SDMMC1 mountpoint"
|
||||||
default "/mnt/sdmmc1"
|
default "/mnt/sdmmc1"
|
||||||
depends on SAMA5_SDMMC1
|
depends on SAMA5_SDMMC1
|
||||||
|
|
||||||
config SAMA5D27_SDMMC1_MOUNT_FSTYPE
|
config SAMA5D27_SDMMC1_MOUNT_FSTYPE
|
||||||
string "SDMMC1 file system type"
|
string "SDMMC1 file system type"
|
||||||
default "vfat"
|
default "vfat"
|
||||||
depends on SAMA5_SDMMC1
|
depends on SAMA5_SDMMC1
|
||||||
|
|
||||||
config MMCSD_HAVE_CARDDETECT
|
config MMCSD_HAVE_CARDDETECT
|
||||||
bool "SDMMC1 card detect"
|
bool "SDMMC1 card detect"
|
||||||
default y
|
default y
|
||||||
depends on SAMA5_SDMMC1
|
depends on SAMA5_SDMMC1
|
||||||
|
|
||||||
config SAMA5_SDMMC1_WIDTH_D1_D4
|
config SAMA5_SDMMC1_WIDTH_D1_D4
|
||||||
bool "SDMMC1 data bus width 4 bits"
|
bool "SDMMC1 data bus width 4 bits"
|
||||||
default y
|
default y
|
||||||
depends on SAMA5_SDMMC1
|
depends on SAMA5_SDMMC1
|
||||||
|
|
||||||
config SAMA5_SYSTEMRESET
|
config SAMA5_SYSTEMRESET
|
||||||
bool "Enable system reset - this will enable the nsh reboot command"
|
bool "Enable system reset - this will enable the nsh reboot command"
|
||||||
select BOARDCTL_RESET
|
select BOARDCTL_RESET
|
||||||
|
|
||||||
endif # ARCH_BOARD_SAMA5D2_XULT
|
endif # ARCH_BOARD_SAMA5D2_XULT
|
||||||
|
|||||||
@@ -8,12 +8,12 @@ if ARCH_BOARD_B_G431B_ESC1
|
|||||||
if STM32_FOC
|
if STM32_FOC
|
||||||
|
|
||||||
config BOARD_STM32_BG431BESC1_FOC_VBUS
|
config BOARD_STM32_BG431BESC1_FOC_VBUS
|
||||||
bool "B-G431B-ESC1 board VBUS sense"
|
bool "B-G431B-ESC1 board VBUS sense"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BOARD_STM32_BG431BESC1_FOC_POT
|
config BOARD_STM32_BG431BESC1_FOC_POT
|
||||||
bool "B-G431B-ESC1 board POT support"
|
bool "B-G431B-ESC1 board POT support"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
endif # STM32_FOC
|
endif # STM32_FOC
|
||||||
|
|
||||||
|
|||||||
@@ -4,67 +4,67 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
config BOARD_STM32_COMMON
|
config BOARD_STM32_COMMON
|
||||||
bool "Board common logic"
|
bool "Board common logic"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Board common logic located in each board/common folder.
|
Board common logic located in each board/common folder.
|
||||||
|
|
||||||
if BOARD_STM32_COMMON
|
if BOARD_STM32_COMMON
|
||||||
|
|
||||||
if STM32_FOC
|
if STM32_FOC
|
||||||
|
|
||||||
menuconfig BOARD_STM32_IHM07M1
|
menuconfig BOARD_STM32_IHM07M1
|
||||||
bool "X-NUCLEO-IHM07M1 board support"
|
bool "X-NUCLEO-IHM07M1 board support"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Board based on the L6230 DMOS driver.
|
Board based on the L6230 DMOS driver.
|
||||||
|
|
||||||
if BOARD_STM32_IHM07M1
|
if BOARD_STM32_IHM07M1
|
||||||
|
|
||||||
config BOARD_STM32_IHM07M1_VBUS
|
config BOARD_STM32_IHM07M1_VBUS
|
||||||
bool "X-NUCLEO-IHM07M1 board VBUS sense"
|
bool "X-NUCLEO-IHM07M1 board VBUS sense"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BOARD_STM32_IHM07M1_POT
|
config BOARD_STM32_IHM07M1_POT
|
||||||
bool "X-NUCLEO-IHM07M1 board POT support"
|
bool "X-NUCLEO-IHM07M1 board POT support"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
endif # BOARD_STM32_IHM07M1
|
endif # BOARD_STM32_IHM07M1
|
||||||
|
|
||||||
menuconfig BOARD_STM32_IHM08M1
|
menuconfig BOARD_STM32_IHM08M1
|
||||||
bool "X-NUCLEO-IHM08M1 board support"
|
bool "X-NUCLEO-IHM08M1 board support"
|
||||||
default n
|
default n
|
||||||
select STM32_FOC_HAS_PWM_COMPLEMENTARY
|
select STM32_FOC_HAS_PWM_COMPLEMENTARY
|
||||||
---help---
|
---help---
|
||||||
Board based on the discrete L6398 gate drivers and STL220N6F7 POWER MOSFETs.
|
Board based on the discrete L6398 gate drivers and STL220N6F7 POWER MOSFETs.
|
||||||
|
|
||||||
if BOARD_STM32_IHM08M1
|
if BOARD_STM32_IHM08M1
|
||||||
|
|
||||||
config BOARD_STM32_IHM08M1_VBUS
|
config BOARD_STM32_IHM08M1_VBUS
|
||||||
bool "X-NUCLEO-IHM08M1 board VBUS sense"
|
bool "X-NUCLEO-IHM08M1 board VBUS sense"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BOARD_STM32_IHM08M1_POT
|
config BOARD_STM32_IHM08M1_POT
|
||||||
bool "X-NUCLEO-IHM08M1 board POT support"
|
bool "X-NUCLEO-IHM08M1 board POT support"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
endif # BOARD_STM32_IHM08M1
|
endif # BOARD_STM32_IHM08M1
|
||||||
|
|
||||||
menuconfig BOARD_STM32_IHM16M1
|
menuconfig BOARD_STM32_IHM16M1
|
||||||
bool "X-NUCLEO-IHM16M1 board support"
|
bool "X-NUCLEO-IHM16M1 board support"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Board based on the STSPIN830 three-phase brushless motor driver.
|
Board based on the STSPIN830 three-phase brushless motor driver.
|
||||||
|
|
||||||
if BOARD_STM32_IHM16M1
|
if BOARD_STM32_IHM16M1
|
||||||
|
|
||||||
config BOARD_STM32_IHM16M1_VBUS
|
config BOARD_STM32_IHM16M1_VBUS
|
||||||
bool "X-NUCLEO-IHM16M1 board VBUS sense"
|
bool "X-NUCLEO-IHM16M1 board VBUS sense"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BOARD_STM32_IHM16M1_POT
|
config BOARD_STM32_IHM16M1_POT
|
||||||
bool "X-NUCLEO-IHM16M1 board POT support"
|
bool "X-NUCLEO-IHM16M1 board POT support"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
endif # BOARD_STM32_IHM16M1
|
endif # BOARD_STM32_IHM16M1
|
||||||
|
|
||||||
@@ -73,8 +73,8 @@ endif # STM32_FOC
|
|||||||
if SENSORS_HALL3PHASE
|
if SENSORS_HALL3PHASE
|
||||||
|
|
||||||
config BOARD_STM32_HALL3PHASE_SAMPLES
|
config BOARD_STM32_HALL3PHASE_SAMPLES
|
||||||
int "3-phase Hall effect sensor number of samples"
|
int "3-phase Hall effect sensor number of samples"
|
||||||
default 10
|
default 10
|
||||||
|
|
||||||
endif # SENSORS_HALL3PHASE
|
endif # SENSORS_HALL3PHASE
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ config STM32_OLIMEXP407_PRIO
|
|||||||
depends on USBHOST
|
depends on USBHOST
|
||||||
|
|
||||||
config STM32_OLIMEXP407_UEXT_USART3
|
config STM32_OLIMEXP407_UEXT_USART3
|
||||||
bool "Enable UEXT USART3"
|
bool "Enable UEXT USART3"
|
||||||
default n
|
default n
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -6,25 +6,25 @@
|
|||||||
if ARCH_BOARD_NUCLEO_H743ZI
|
if ARCH_BOARD_NUCLEO_H743ZI
|
||||||
|
|
||||||
config STM32_ROMFS
|
config STM32_ROMFS
|
||||||
bool "Automount baked-in ROMFS image"
|
bool "Automount baked-in ROMFS image"
|
||||||
default n
|
default n
|
||||||
depends on FS_ROMFS
|
depends on FS_ROMFS
|
||||||
---help---
|
---help---
|
||||||
Select STM32_ROMFS_IMAGEFILE, STM32_ROMFS_DEV_MINOR, STM32_ROMFS_MOUNTPOINT
|
Select STM32_ROMFS_IMAGEFILE, STM32_ROMFS_DEV_MINOR, STM32_ROMFS_MOUNTPOINT
|
||||||
|
|
||||||
config STM32_ROMFS_DEV_MINOR
|
config STM32_ROMFS_DEV_MINOR
|
||||||
int "Minor for the block device backing the data"
|
int "Minor for the block device backing the data"
|
||||||
depends on STM32_ROMFS
|
depends on STM32_ROMFS
|
||||||
default 64
|
default 64
|
||||||
|
|
||||||
config STM32_ROMFS_MOUNTPOINT
|
config STM32_ROMFS_MOUNTPOINT
|
||||||
string "Mountpoint of the custom romfs image"
|
string "Mountpoint of the custom romfs image"
|
||||||
depends on STM32_ROMFS
|
depends on STM32_ROMFS
|
||||||
default "/rom"
|
default "/rom"
|
||||||
|
|
||||||
config STM32_ROMFS_IMAGEFILE
|
config STM32_ROMFS_IMAGEFILE
|
||||||
string "ROMFS image file to include into build"
|
string "ROMFS image file to include into build"
|
||||||
depends on STM32_ROMFS
|
depends on STM32_ROMFS
|
||||||
default "../../../rom.img"
|
default "../../../rom.img"
|
||||||
|
|
||||||
endif # ARCH_BOARD_NUCLEO_H743ZI
|
endif # ARCH_BOARD_NUCLEO_H743ZI
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ if ARCH_BOARD_RV32M1_VEGA
|
|||||||
config RV32M1_OPENISA_TOOLCHAIN
|
config RV32M1_OPENISA_TOOLCHAIN
|
||||||
bool "Utilize OPEN ISA Toolchain"
|
bool "Utilize OPEN ISA Toolchain"
|
||||||
default n
|
default n
|
||||||
select ARCH_RISCV_INTXCPT_EXTENSIONS
|
select ARCH_RISCV_INTXCPT_EXTENSIONS
|
||||||
---help---
|
---help---
|
||||||
With OPEN ISA Toolchain, RV32M1 RISC-V Core Capability can be exploited.
|
With OPEN ISA Toolchain, RV32M1 RISC-V Core Capability can be exploited.
|
||||||
|
|
||||||
|
|||||||
@@ -44,19 +44,19 @@ config D0WD_PSRAM_CLK_IO
|
|||||||
int "PSRAM CLK IO number"
|
int "PSRAM CLK IO number"
|
||||||
range 0 33
|
range 0 33
|
||||||
default 17
|
default 17
|
||||||
help
|
---help---
|
||||||
The PSRAM CLOCK IO can be any unused GPIO, user can config it
|
The PSRAM CLOCK IO can be any unused GPIO, user can config it
|
||||||
based on hardware design. If user use 1.8V flash and 1.8V psram,
|
based on hardware design. If user use 1.8V flash and 1.8V psram,
|
||||||
this value can only be one of 6, 7, 8, 9, 10, 11, 16, 17.
|
this value can only be one of 6, 7, 8, 9, 10, 11, 16, 17.
|
||||||
|
|
||||||
config D0WD_PSRAM_CS_IO
|
config D0WD_PSRAM_CS_IO
|
||||||
int "PSRAM CS IO number"
|
int "PSRAM CS IO number"
|
||||||
range 0 33
|
range 0 33
|
||||||
default 16
|
default 16
|
||||||
help
|
---help---
|
||||||
The PSRAM CS IO can be any unused GPIO, user can config it based
|
The PSRAM CS IO can be any unused GPIO, user can config it based
|
||||||
on hardware design. If user use 1.8V flash and 1.8V psram, this
|
on hardware design. If user use 1.8V flash and 1.8V psram, this
|
||||||
value can only be one of 6, 7, 8, 9, 10, 11, 16, 17.
|
value can only be one of 6, 7, 8, 9, 10, 11, 16, 17.
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "PSRAM clock and cs IO for ESP32-D2WD"
|
menu "PSRAM clock and cs IO for ESP32-D2WD"
|
||||||
@@ -64,19 +64,19 @@ config D2WD_PSRAM_CLK_IO
|
|||||||
int "PSRAM CLK IO number"
|
int "PSRAM CLK IO number"
|
||||||
range 0 33
|
range 0 33
|
||||||
default 9
|
default 9
|
||||||
help
|
---help---
|
||||||
User can config it based on hardware design. For ESP32-D2WD chip,
|
User can config it based on hardware design. For ESP32-D2WD chip,
|
||||||
the psram can only be 1.8V psram, so this value can only be one
|
the psram can only be 1.8V psram, so this value can only be one
|
||||||
of 6, 7, 8, 9, 10, 11, 16, 17.
|
of 6, 7, 8, 9, 10, 11, 16, 17.
|
||||||
|
|
||||||
config D2WD_PSRAM_CS_IO
|
config D2WD_PSRAM_CS_IO
|
||||||
int "PSRAM CS IO number"
|
int "PSRAM CS IO number"
|
||||||
range 0 33
|
range 0 33
|
||||||
default 10
|
default 10
|
||||||
help
|
---help---
|
||||||
User can config it based on hardware design. For ESP32-D2WD chip,
|
User can config it based on hardware design. For ESP32-D2WD chip,
|
||||||
the psram can only be 1.8V psram, so this value can only be one
|
the psram can only be 1.8V psram, so this value can only be one
|
||||||
of 6, 7, 8, 9, 10, 11, 16, 17.
|
of 6, 7, 8, 9, 10, 11, 16, 17.
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
menu "PSRAM clock and cs IO for ESP32-PICO"
|
menu "PSRAM clock and cs IO for ESP32-PICO"
|
||||||
@@ -84,34 +84,34 @@ config PICO_PSRAM_CS_IO
|
|||||||
int "PSRAM CS IO number"
|
int "PSRAM CS IO number"
|
||||||
range 0 33
|
range 0 33
|
||||||
default 10
|
default 10
|
||||||
help
|
---help---
|
||||||
The PSRAM CS IO can be any unused GPIO, user can config it based on
|
The PSRAM CS IO can be any unused GPIO, user can config it based on
|
||||||
hardware design.
|
hardware design.
|
||||||
For ESP32-PICO chip, the psram share clock with flash, so user do
|
For ESP32-PICO chip, the psram share clock with flash, so user do
|
||||||
not need to configure the clock IO.
|
not need to configure the clock IO.
|
||||||
For the reference hardware design, please refer to
|
For the reference hardware design, please refer to
|
||||||
https://www.espressif.com/sites/default/files/documentation/esp32-pico-d4_datasheet_en.pdf
|
https://www.espressif.com/sites/default/files/documentation/esp32-pico-d4_datasheet_en.pdf
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
config ESP32_SPIRAM_SPIWP_SD3_PIN
|
config ESP32_SPIRAM_SPIWP_SD3_PIN
|
||||||
int "SPI PSRAM WP(SD3) Pin when customising pins via eFuse (read help)"
|
int "SPI PSRAM WP(SD3) Pin when customising pins via eFuse (read help)"
|
||||||
range 0 33
|
range 0 33
|
||||||
default 7
|
default 7
|
||||||
help
|
---help---
|
||||||
This value is ignored unless flash mode is set to DIO or DOUT and
|
This value is ignored unless flash mode is set to DIO or DOUT and
|
||||||
the SPI flash pins have been overridden by setting the eFuses
|
the SPI flash pins have been overridden by setting the eFuses
|
||||||
SPI_PAD_CONFIG_xxx.
|
SPI_PAD_CONFIG_xxx.
|
||||||
|
|
||||||
When this is the case, the eFuse config only defines 3 of the 4
|
When this is the case, the eFuse config only defines 3 of the 4
|
||||||
Quad I/O data pins. The WP pin (aka ESP32 pin "SD_DATA_3" or SPI
|
Quad I/O data pins. The WP pin (aka ESP32 pin "SD_DATA_3" or SPI
|
||||||
flash pin "IO2") is not specified in eFuse. And the psram only
|
flash pin "IO2") is not specified in eFuse. And the psram only
|
||||||
has QPI mode, the WP pin is necessary, so we need to configure
|
has QPI mode, the WP pin is necessary, so we need to configure
|
||||||
this value here.
|
this value here.
|
||||||
|
|
||||||
When flash mode is set to QIO or QOUT, the PSRAM WP pin will be
|
When flash mode is set to QIO or QOUT, the PSRAM WP pin will be
|
||||||
set as the value configured in bootloader.
|
set as the value configured in bootloader.
|
||||||
|
|
||||||
For ESP32-PICO chip, the default value of this config should be 7.
|
For ESP32-PICO chip, the default value of this config should be 7.
|
||||||
|
|
||||||
endif # ESP32_PSRAM
|
endif # ESP32_PSRAM
|
||||||
|
|
||||||
|
|||||||
+10
-10
@@ -46,15 +46,15 @@ config I2C_BITBANG
|
|||||||
|
|
||||||
if I2C_BITBANG
|
if I2C_BITBANG
|
||||||
|
|
||||||
config I2C_BITBANG_NO_DELAY
|
config I2C_BITBANG_NO_DELAY
|
||||||
bool "Do not add delay"
|
bool "Do not add delay"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
If you want to go full speed (depending on how fast pins can be toggled)
|
If you want to go full speed (depending on how fast pins can be toggled)
|
||||||
you can enable this option. This will not respect the desired frequency
|
you can enable this option. This will not respect the desired frequency
|
||||||
set during the I2C transfer operation.
|
set during the I2C transfer operation.
|
||||||
|
|
||||||
config I2C_BITBANG_GPIO_OVERHEAD
|
config I2C_BITBANG_GPIO_OVERHEAD
|
||||||
int "GPIO overhead"
|
int "GPIO overhead"
|
||||||
depends on !I2C_BITBANG_NO_DELAY
|
depends on !I2C_BITBANG_NO_DELAY
|
||||||
default 0
|
default 0
|
||||||
@@ -63,13 +63,13 @@ if I2C_BITBANG
|
|||||||
delays. This overhead will be subtracted from sleep times to achieve
|
delays. This overhead will be subtracted from sleep times to achieve
|
||||||
desired frquency.
|
desired frquency.
|
||||||
|
|
||||||
config I2C_BITBANG_TIMEOUT
|
config I2C_BITBANG_TIMEOUT
|
||||||
int "I2C timeout"
|
int "I2C timeout"
|
||||||
default 1000
|
default 1000
|
||||||
---help---
|
---help---
|
||||||
Timeout (microseconds) to abort wait on slave
|
Timeout (microseconds) to abort wait on slave
|
||||||
|
|
||||||
config I2C_BITBANG_CLOCK_STRETCHING
|
config I2C_BITBANG_CLOCK_STRETCHING
|
||||||
bool "Support clock stretching"
|
bool "Support clock stretching"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
|
|||||||
@@ -551,7 +551,7 @@ config INPUT_SPQ10KBD
|
|||||||
if INPUT_SPQ10KBD
|
if INPUT_SPQ10KBD
|
||||||
|
|
||||||
config SPQ10KBD_DJOY
|
config SPQ10KBD_DJOY
|
||||||
bool "Joystick Interface for Buttons"
|
bool "Joystick Interface for Buttons"
|
||||||
select INPUT_DJOYSTICK
|
select INPUT_DJOYSTICK
|
||||||
default n
|
default n
|
||||||
|
|
||||||
|
|||||||
+18
-18
@@ -1,31 +1,31 @@
|
|||||||
menuconfig MOTOR_FOC
|
menuconfig MOTOR_FOC
|
||||||
bool "FOC (Field Oriented Controller) driver support"
|
bool "FOC (Field Oriented Controller) driver support"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Enables building of the "upper-half" FOC driver.
|
Enables building of the "upper-half" FOC driver.
|
||||||
|
|
||||||
if MOTOR_FOC
|
if MOTOR_FOC
|
||||||
|
|
||||||
config MOTOR_FOC_INST
|
config MOTOR_FOC_INST
|
||||||
int "FOC instances"
|
int "FOC instances"
|
||||||
default 1
|
default 1
|
||||||
|
|
||||||
config MOTOR_FOC_PHASES
|
config MOTOR_FOC_PHASES
|
||||||
int "FOC phases number"
|
int "FOC phases number"
|
||||||
default 3
|
default 3
|
||||||
|
|
||||||
config MOTOR_FOC_SHUNTS
|
config MOTOR_FOC_SHUNTS
|
||||||
int "FOC number of shunts"
|
int "FOC number of shunts"
|
||||||
range 1 3
|
range 1 3
|
||||||
default 3
|
default 3
|
||||||
---help---
|
---help---
|
||||||
Number of shunts supported (or other types of current sensors).
|
Number of shunts supported (or other types of current sensors).
|
||||||
Any current reconstruction must be done on the lower-half side.
|
Any current reconstruction must be done on the lower-half side.
|
||||||
|
|
||||||
config MOTOR_FOC_TRACE
|
config MOTOR_FOC_TRACE
|
||||||
bool "FOC trace support"
|
bool "FOC trace support"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Enables FOC driver trace interface.
|
Enables FOC driver trace interface.
|
||||||
|
|
||||||
endif #MOTOR_FOC
|
endif #MOTOR_FOC
|
||||||
|
|||||||
+1
-1
@@ -476,7 +476,7 @@ if (ARCH_PHY_100BASE_T1)
|
|||||||
choice
|
choice
|
||||||
prompt "Automotive Ethernet 100BASE-T1 master/slave mode"
|
prompt "Automotive Ethernet 100BASE-T1 master/slave mode"
|
||||||
default PHY_100BASE_T1_SLAVE
|
default PHY_100BASE_T1_SLAVE
|
||||||
---help---
|
---help---
|
||||||
Automotive Ethernet 100BASE-T1 requires the PHY to be configured
|
Automotive Ethernet 100BASE-T1 requires the PHY to be configured
|
||||||
in either master or slave mode.
|
in either master or slave mode.
|
||||||
|
|
||||||
|
|||||||
+12
-12
@@ -189,7 +189,7 @@ config SENSORS_DS18B20_POLL_INTERVAL
|
|||||||
int "Polling interval in microseconds, default 1 sec"
|
int "Polling interval in microseconds, default 1 sec"
|
||||||
depends on SENSORS_DS18B20 && SENSORS_DS18B20_POLL
|
depends on SENSORS_DS18B20 && SENSORS_DS18B20_POLL
|
||||||
default 1000000
|
default 1000000
|
||||||
range 0 4294967295
|
range 0 4294967295
|
||||||
---help---
|
---help---
|
||||||
The interval until a new sensor measurement will be triggered.
|
The interval until a new sensor measurement will be triggered.
|
||||||
|
|
||||||
@@ -826,11 +826,11 @@ config SGP30_DEBUG
|
|||||||
endif # SENSORS_SGP30
|
endif # SENSORS_SGP30
|
||||||
|
|
||||||
config SENSORS_AHT10
|
config SENSORS_AHT10
|
||||||
bool "ASAIR AHT10 temperature and humidity sensor"
|
bool "ASAIR AHT10 temperature and humidity sensor"
|
||||||
default n
|
default n
|
||||||
select I2C
|
select I2C
|
||||||
---help---
|
---help---
|
||||||
Enable driver support for the ASAIR AHT10 temperature and humidity sensors.
|
Enable driver support for the ASAIR AHT10 temperature and humidity sensors.
|
||||||
|
|
||||||
if SENSORS_AHT10
|
if SENSORS_AHT10
|
||||||
config AHT10_I2C_FREQUENCY
|
config AHT10_I2C_FREQUENCY
|
||||||
@@ -992,12 +992,12 @@ config SENSORS_HDC1008
|
|||||||
if SENSORS_HDC1008
|
if SENSORS_HDC1008
|
||||||
|
|
||||||
config HDC1008_I2C_ADDRESS
|
config HDC1008_I2C_ADDRESS
|
||||||
hex "HDC1008 I2C address"
|
hex "HDC1008 I2C address"
|
||||||
default 0x40
|
default 0x40
|
||||||
range 0x40 0x43
|
range 0x40 0x43
|
||||||
---help---
|
---help---
|
||||||
The I2C address of the HDC1008 sensor. It can be configured via straps to
|
The I2C address of the HDC1008 sensor. It can be configured via straps to
|
||||||
a value between 0x40 and 0x43.
|
a value between 0x40 and 0x43.
|
||||||
|
|
||||||
config HDC1008_I2C_FREQUENCY
|
config HDC1008_I2C_FREQUENCY
|
||||||
int "HDC1008 I2C frequency"
|
int "HDC1008 I2C frequency"
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ config SYSLOG_PRIORITY
|
|||||||
Prepend log priority (severity) to syslog message.
|
Prepend log priority (severity) to syslog message.
|
||||||
|
|
||||||
config SYSLOG_PROCESS_NAME
|
config SYSLOG_PROCESS_NAME
|
||||||
bool "Prepend process name to syslog message"
|
bool "Prepend process name to syslog message"
|
||||||
default n
|
default n
|
||||||
---help---
|
---help---
|
||||||
Prepend Process name to syslog message.
|
Prepend Process name to syslog message.
|
||||||
|
|||||||
+55
-55
@@ -59,82 +59,82 @@ config VIDEO_STREAM
|
|||||||
if VIDEO_STREAM
|
if VIDEO_STREAM
|
||||||
|
|
||||||
config VIDEO_SCENE_BACKLIGHT
|
config VIDEO_SCENE_BACKLIGHT
|
||||||
bool "Enable backlight scene"
|
bool "Enable backlight scene"
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
Enable backlight scene
|
Enable backlight scene
|
||||||
|
|
||||||
config VIDEO_SCENE_BEACHSNOW
|
config VIDEO_SCENE_BEACHSNOW
|
||||||
bool "Enable beach snow scene"
|
bool "Enable beach snow scene"
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
Enable beach snow scene
|
Enable beach snow scene
|
||||||
|
|
||||||
config VIDEO_SCENE_CANDLELIGHT
|
config VIDEO_SCENE_CANDLELIGHT
|
||||||
bool "Enable candle light scene"
|
bool "Enable candle light scene"
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
Enable candle light scene
|
Enable candle light scene
|
||||||
|
|
||||||
config VIDEO_SCENE_DAWNDUSK
|
config VIDEO_SCENE_DAWNDUSK
|
||||||
bool "Enable dawn dusk scene"
|
bool "Enable dawn dusk scene"
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
Enable dawn dusk scene
|
Enable dawn dusk scene
|
||||||
|
|
||||||
config VIDEO_SCENE_FALLCOLORS
|
config VIDEO_SCENE_FALLCOLORS
|
||||||
bool "Enable fall colors scene"
|
bool "Enable fall colors scene"
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
Enable fall colors scene
|
Enable fall colors scene
|
||||||
|
|
||||||
config VIDEO_SCENE_FIREWORKS
|
config VIDEO_SCENE_FIREWORKS
|
||||||
bool "Enable fireworks scene"
|
bool "Enable fireworks scene"
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
Enable fireworks scene
|
Enable fireworks scene
|
||||||
|
|
||||||
config VIDEO_SCENE_LANDSCAPE
|
config VIDEO_SCENE_LANDSCAPE
|
||||||
bool "Enable landscape scene"
|
bool "Enable landscape scene"
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
Enable landscape scene
|
Enable landscape scene
|
||||||
|
|
||||||
config VIDEO_SCENE_NIGHT
|
config VIDEO_SCENE_NIGHT
|
||||||
bool "Enable night scene"
|
bool "Enable night scene"
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
Enable night scene
|
Enable night scene
|
||||||
|
|
||||||
config VIDEO_SCENE_PARTYINDOOR
|
config VIDEO_SCENE_PARTYINDOOR
|
||||||
bool "Enable party and indoor scene"
|
bool "Enable party and indoor scene"
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
Enable party and indoor scene
|
Enable party and indoor scene
|
||||||
|
|
||||||
config VIDEO_SCENE_PORTRAIT
|
config VIDEO_SCENE_PORTRAIT
|
||||||
bool "Enable portrait scene"
|
bool "Enable portrait scene"
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
Enable portrait scene
|
Enable portrait scene
|
||||||
|
|
||||||
config VIDEO_SCENE_SPORTS
|
config VIDEO_SCENE_SPORTS
|
||||||
bool "Enable sports scene"
|
bool "Enable sports scene"
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
Enable sports scene
|
Enable sports scene
|
||||||
|
|
||||||
config VIDEO_SCENE_SUNSET
|
config VIDEO_SCENE_SUNSET
|
||||||
bool "Enable sunset scene"
|
bool "Enable sunset scene"
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
Enable sunset scene
|
Enable sunset scene
|
||||||
|
|
||||||
config VIDEO_SCENE_TEXT
|
config VIDEO_SCENE_TEXT
|
||||||
bool "Enable text scene"
|
bool "Enable text scene"
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
Enable text scene
|
Enable text scene
|
||||||
endif
|
endif
|
||||||
|
|
||||||
config VIDEO_MAX7456
|
config VIDEO_MAX7456
|
||||||
@@ -146,9 +146,9 @@ config VIDEO_MAX7456
|
|||||||
multiplexer.
|
multiplexer.
|
||||||
|
|
||||||
config VIDEO_ISX012
|
config VIDEO_ISX012
|
||||||
bool "ISX012 Image sensor"
|
bool "ISX012 Image sensor"
|
||||||
default n
|
default n
|
||||||
select I2C
|
select I2C
|
||||||
|
|
||||||
config VIDEO_OV2640
|
config VIDEO_OV2640
|
||||||
bool "OV2640 camera chip"
|
bool "OV2640 camera chip"
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ config SINC_BEST_CONVERTER
|
|||||||
bool "Slowest conversion speed with best quality"
|
bool "Slowest conversion speed with best quality"
|
||||||
---help---
|
---help---
|
||||||
Slowest conversion speed with best quality.
|
Slowest conversion speed with best quality.
|
||||||
Not suitable for most boards due to resource constrains.
|
Not suitable for most boards due to resource constrains.
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
config RISCV_MEMCPY
|
config RISCV_MEMCPY
|
||||||
bool "Enable optimized memcpy() for RISC-V"
|
bool "Enable optimized memcpy() for RISC-V"
|
||||||
select LIBC_ARCH_MEMCPY
|
select LIBC_ARCH_MEMCPY
|
||||||
---help---
|
---help---
|
||||||
Enable optimized RISC-V specific memcpy() library function
|
Enable optimized RISC-V specific memcpy() library function
|
||||||
|
|||||||
@@ -4,44 +4,44 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
config XTENSA_MEMCPY
|
config XTENSA_MEMCPY
|
||||||
bool "Enable optimized memcpy() for XTENSA"
|
bool "Enable optimized memcpy() for XTENSA"
|
||||||
select LIBC_ARCH_MEMCPY
|
select LIBC_ARCH_MEMCPY
|
||||||
---help---
|
---help---
|
||||||
Enable optimized XTENSA specific memcpy() library function
|
Enable optimized XTENSA specific memcpy() library function
|
||||||
|
|
||||||
config XTENSA_MEMMOVE
|
config XTENSA_MEMMOVE
|
||||||
bool "Enable optimized memmove() for XTENSA"
|
bool "Enable optimized memmove() for XTENSA"
|
||||||
select LIBC_ARCH_MEMMOVE
|
select LIBC_ARCH_MEMMOVE
|
||||||
---help---
|
---help---
|
||||||
Enable optimized XTENSA specific memmove() library function
|
Enable optimized XTENSA specific memmove() library function
|
||||||
|
|
||||||
config XTENSA_MEMSET
|
config XTENSA_MEMSET
|
||||||
bool "Enable optimized memset() for XTENSA"
|
bool "Enable optimized memset() for XTENSA"
|
||||||
select LIBC_ARCH_MEMSET
|
select LIBC_ARCH_MEMSET
|
||||||
---help---
|
---help---
|
||||||
Enable optimized XTENSA specific memset() library function
|
Enable optimized XTENSA specific memset() library function
|
||||||
|
|
||||||
config XTENSA_STRCMP
|
config XTENSA_STRCMP
|
||||||
bool "Enable optimized strcmp() for XTENSA"
|
bool "Enable optimized strcmp() for XTENSA"
|
||||||
select LIBC_ARCH_STRCMP
|
select LIBC_ARCH_STRCMP
|
||||||
---help---
|
---help---
|
||||||
Enable optimized XTENSA specific strcmp() library function
|
Enable optimized XTENSA specific strcmp() library function
|
||||||
|
|
||||||
config XTENSA_STRCPY
|
config XTENSA_STRCPY
|
||||||
bool "Enable optimized strcpy() for XTENSA"
|
bool "Enable optimized strcpy() for XTENSA"
|
||||||
select LIBC_ARCH_STRCPY
|
select LIBC_ARCH_STRCPY
|
||||||
---help---
|
---help---
|
||||||
Enable optimized XTENSA specific strcpy() library function
|
Enable optimized XTENSA specific strcpy() library function
|
||||||
|
|
||||||
config XTENSA_STRLEN
|
config XTENSA_STRLEN
|
||||||
bool "Enable optimized strlen() for XTENSA"
|
bool "Enable optimized strlen() for XTENSA"
|
||||||
select LIBC_ARCH_STRLEN
|
select LIBC_ARCH_STRLEN
|
||||||
---help---
|
---help---
|
||||||
Enable optimized XTENSA specific strlen() library function
|
Enable optimized XTENSA specific strlen() library function
|
||||||
|
|
||||||
config XTENSA_STRNCPY
|
config XTENSA_STRNCPY
|
||||||
bool "Enable optimized strncpy() for XTENSA"
|
bool "Enable optimized strncpy() for XTENSA"
|
||||||
select LIBC_ARCH_STRNCPY
|
select LIBC_ARCH_STRNCPY
|
||||||
---help---
|
---help---
|
||||||
Enable optimized XTENSA specific strncpy() library function
|
Enable optimized XTENSA specific strncpy() library function
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
config ALLSYMS
|
config ALLSYMS
|
||||||
bool "Load all symbols for debugging"
|
bool "Load all symbols for debugging"
|
||||||
default n
|
default n
|
||||||
help
|
---help---
|
||||||
Say Y here to let the nuttx print out symbolic crash information and
|
Say Y here to let the nuttx print out symbolic crash information and
|
||||||
symbolic stack backtraces. This increases the size of the nuttx
|
symbolic stack backtraces. This increases the size of the nuttx
|
||||||
somewhat, as all symbols have to be loaded into the nuttx image.
|
somewhat, as all symbols have to be loaded into the nuttx image.
|
||||||
|
|||||||
+2
-2
@@ -52,8 +52,8 @@ config NET_CAN_RAW_TX_DEADLINE
|
|||||||
default n
|
default n
|
||||||
depends on NET_CAN_SOCK_OPTS && NET_CAN_HAVE_TX_DEADLINE
|
depends on NET_CAN_SOCK_OPTS && NET_CAN_HAVE_TX_DEADLINE
|
||||||
---help---
|
---help---
|
||||||
Note: Non-standard SocketCAN sockopt, but this options helps us in
|
Note: Non-standard SocketCAN sockopt, but this options helps us in
|
||||||
real-time use cases.
|
real-time use cases.
|
||||||
|
|
||||||
When the CAN_RAW_TX_DEADLINE sockopt is enabled. The user can send
|
When the CAN_RAW_TX_DEADLINE sockopt is enabled. The user can send
|
||||||
CAN frames using sendmsg() function and add a deadline timespec
|
CAN frames using sendmsg() function and add a deadline timespec
|
||||||
|
|||||||
@@ -52,12 +52,12 @@ menuconfig WIRELESS_BLUETOOTH
|
|||||||
if WIRELESS_BLUETOOTH
|
if WIRELESS_BLUETOOTH
|
||||||
|
|
||||||
menuconfig WIRELESS_BLUETOOTH_HOST
|
menuconfig WIRELESS_BLUETOOTH_HOST
|
||||||
bool "BLE Host Layer"
|
bool "BLE Host Layer"
|
||||||
default y
|
default y
|
||||||
---help---
|
---help---
|
||||||
This enables support for BLE host layer implementation. This can be
|
This enables support for BLE host layer implementation. This can be
|
||||||
used to interface to a BLE controller via HCI protocol (either to a local
|
used to interface to a BLE controller via HCI protocol (either to a local
|
||||||
BLE link-layer or to an external device over HCI UART).
|
BLE link-layer or to an external device over HCI UART).
|
||||||
|
|
||||||
if WIRELESS_BLUETOOTH_HOST
|
if WIRELESS_BLUETOOTH_HOST
|
||||||
endif # WIRELESS_BLUETOOTH_HOST
|
endif # WIRELESS_BLUETOOTH_HOST
|
||||||
|
|||||||
Reference in New Issue
Block a user