Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
4cfd85eb
Commit
4cfd85eb
authored
Aug 25, 2021
by
patrick
Committed by
Damien George
Sep 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
esp32/boards: Add board definition for ESP32-S2-WROVER module.
parent
13e6e0d7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
0 deletions
+38
-0
ports/esp32/boards/ESP32_S2_WROVER/mpconfigboard.cmake
ports/esp32/boards/ESP32_S2_WROVER/mpconfigboard.cmake
+12
-0
ports/esp32/boards/ESP32_S2_WROVER/mpconfigboard.h
ports/esp32/boards/ESP32_S2_WROVER/mpconfigboard.h
+15
-0
ports/esp32/boards/ESP32_S2_WROVER/sdkconfig.board
ports/esp32/boards/ESP32_S2_WROVER/sdkconfig.board
+11
-0
No files found.
ports/esp32/boards/ESP32_S2_WROVER/mpconfigboard.cmake
0 → 100644
View file @
4cfd85eb
set
(
IDF_TARGET esp32s2
)
set
(
SDKCONFIG_DEFAULTS
boards/sdkconfig.base
boards/sdkconfig.spiram_sx
boards/sdkconfig.usb
boards/ESP32_S2_WROVER/sdkconfig.board
)
if
(
NOT MICROPY_FROZEN_MANIFEST
)
set
(
MICROPY_FROZEN_MANIFEST
${
MICROPY_PORT_DIR
}
/boards/manifest.py
)
endif
()
ports/esp32/boards/ESP32_S2_WROVER/mpconfigboard.h
0 → 100644
View file @
4cfd85eb
#define MICROPY_HW_BOARD_NAME "ESP32-S2-WROVER"
#define MICROPY_HW_MCU_NAME "ESP32-S2"
#define MICROPY_PY_BLUETOOTH (0)
#define MICROPY_HW_ENABLE_SDCARD (0)
#define MICROPY_HW_I2C0_SCL (7)
#define MICROPY_HW_I2C0_SDA (6)
#define MICROPY_HW_SPI1_MOSI (35)
#define MICROPY_HW_SPI1_MISO (37)
#define MICROPY_HW_SPI1_SCK (36)
#define MICROPY_HW_SPI2_MOSI (11)
#define MICROPY_HW_SPI2_MISO (13)
#define MICROPY_HW_SPI2_SCK (12)
ports/esp32/boards/ESP32_S2_WROVER/sdkconfig.board
0 → 100644
View file @
4cfd85eb
CONFIG_FLASHMODE_QIO=y
CONFIG_ESPTOOLPY_FLASHFREQ_80M=y
CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=y
CONFIG_ESPTOOLPY_AFTER_NORESET=y
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
CONFIG_USB_AND_UART=y
# LWIP
CONFIG_LWIP_LOCAL_HOSTNAME="ESP32-S2-WROVER"
# end of LWIP
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment