mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
ESP32: Add some peripheral configuration
This commit is contained in:
@@ -5,6 +5,194 @@
|
|||||||
|
|
||||||
if ARCH_CHIP_ESP32
|
if ARCH_CHIP_ESP32
|
||||||
|
|
||||||
|
menu "ESP32 Peripheral Selection"
|
||||||
|
|
||||||
|
config ESP32_BT
|
||||||
|
bool "Bluetooth"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_EMAC
|
||||||
|
bool "Ethernet MAC"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_I2C
|
||||||
|
bool "I2C"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_I2S0
|
||||||
|
bool "I2S 0"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_I2S1
|
||||||
|
bool "I2S 2"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_LEDC
|
||||||
|
bool "LED PWM (LEDC)"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_PCNT
|
||||||
|
bool "Pulse Count Module (PCNT)"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_RMT
|
||||||
|
bool "Remote Control Module (RMT)"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_SDIO_SAVE
|
||||||
|
bool "SDIO Slave"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_SDMMC
|
||||||
|
bool "SD/MMC card support"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_SPI0
|
||||||
|
bool "SPI 0"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_SPI1
|
||||||
|
bool "SPI 1"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_SPI2
|
||||||
|
bool "SPI 2"
|
||||||
|
default n
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config XTENSA_TIMER1
|
||||||
|
bool "Xtensa Timer 1"
|
||||||
|
default n
|
||||||
|
|
||||||
|
config XTENSA_TIMER2
|
||||||
|
bool "Xtensa Timer 2"
|
||||||
|
default n
|
||||||
|
|
||||||
|
config ESP32_TIMER0
|
||||||
|
bool "64-bit Timer 0"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_TIMER1
|
||||||
|
bool "64-bit Timer 1"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_TIMER2
|
||||||
|
bool "64-bit Timer 2"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_TIMER3
|
||||||
|
bool "64-bit Timer 3"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_MWDT0
|
||||||
|
bool "Timer 0 Watchdog"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
select ESP32_TIMER0
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_MWDT1
|
||||||
|
bool "Timer 1 Watchdog"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
select ESP32_TIMER1
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_MWDT2
|
||||||
|
bool "Timer 2 Watchdog"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
select ESP32_TIMER2
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_MWDT3
|
||||||
|
bool "Timer 3 Watchdog"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
select ESP32_TIMER3
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_RWDT
|
||||||
|
bool "RTC Watchdog"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
config ESP32_UART0
|
||||||
|
bool "UART 0"
|
||||||
|
default n
|
||||||
|
|
||||||
|
config ESP32_UART1
|
||||||
|
bool "UART 1"
|
||||||
|
default n
|
||||||
|
|
||||||
|
config ESP32_UART2
|
||||||
|
bool "UART 2"
|
||||||
|
default n
|
||||||
|
|
||||||
|
config ESP32_WIRELESS
|
||||||
|
bool "Wireless"
|
||||||
|
default n
|
||||||
|
depends on EXPERIMENTAL
|
||||||
|
---help---
|
||||||
|
No yet implemented
|
||||||
|
|
||||||
|
endmenu # ESP32 Peripheral Selection
|
||||||
|
|
||||||
config ESP32_BT_RESERVE_DRAM
|
config ESP32_BT_RESERVE_DRAM
|
||||||
int "Reserved BT DRAM"
|
int "Reserved BT DRAM"
|
||||||
default 0
|
default 0
|
||||||
|
|||||||
@@ -7,7 +7,8 @@
|
|||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Derives from logic originally provided by Espressif Systems:
|
* Derives from logic originally provided by Espressif Systems:
|
||||||
* Copyright 2010-2016 Espressif Systems (Shanghai) PTE LTD
|
*
|
||||||
|
* Copyright 2010-2016 Espressif Systems (Shanghai) PTE LTD
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|||||||
@@ -79,7 +79,8 @@ ESP32 Toolchain
|
|||||||
Serial Console
|
Serial Console
|
||||||
==============
|
==============
|
||||||
|
|
||||||
To be provided
|
USART0 is, by default, the serial console. It connects to the on-board
|
||||||
|
CP2102 converter and is available on the USB connector USB CON8 (J1).
|
||||||
|
|
||||||
Buttons and LEDs
|
Buttons and LEDs
|
||||||
================
|
================
|
||||||
|
|||||||
Reference in New Issue
Block a user