Skip to content

Commit

Permalink
Adding support for ESP32-D2WD (2MiB) for issue micropython#4986
Browse files Browse the repository at this point in the history
Updating custom partitions CSV comments

Removing 404 link in comments

Adjusting partitions CSV for 2MiB ESP32 devices. Storage partition is now 0xA0000 (640KiB)

Adding support for ESP32-D2WD (2MiB) for issue micropython#4986

Removing 404 link in comments

Adjusting partitions CSV for 2MiB ESP32 devices. Storage partition is now 0xA0000 (640KiB)

Implementing boards mpconfigboard files for generic ESP32-D2WD board type

Rebase off upstream master branch. Adding support for ESP32-D2WD (2MiB) for issue micropython#4986

Git rebase off upstream master. Removing 404 link in comments

What is this, recursion? Attempting to rebase off upstream master. Again. Adding support for ESP32-D2WD (2MiB) for issue micropython#4986

Removing 404 link in comments

Removing merge conflict junk leftovers

We no longer need some of the changes once we rebase off PR micropython#5027. FLASH_USER_START and FLASH_SIZE removed.

No need for gitignore modifications

Removing left over edit to README

Rolling back changes to modesp, updating partitions-2MiB.csv to name storage partition as vfs

Undoing changes to gitignore

Renaming board config for generic ESP32-D2WD
  • Loading branch information
zrecore committed Aug 24, 2019
1 parent 35657f5 commit 2997519
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ports/esp32/boards/GENERIC_D2WD/mpconfigboard.h
@@ -0,0 +1,2 @@
#define MICROPY_HW_BOARD_NAME "Generic ESP32-D2WD module"
#define MICROPY_HW_MCU_NAME "ESP32-D2WD"
7 changes: 7 additions & 0 deletions ports/esp32/boards/GENERIC_D2WD/mpconfigboard.mk
@@ -0,0 +1,7 @@
SDKCONFIG += boards/sdkconfig.base
PART_SRC = partitions-2MiB.csv
FLASH_SIZE = 2MB
FLASH_MODE = dio
FLASH_FREQ = 40m

$(info "Using $(PART_SRC)")
6 changes: 6 additions & 0 deletions ports/esp32/partitions-2MiB.csv
@@ -0,0 +1,6 @@
# Name, Type, SubType, Offset, Size, Flags
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
nvs, data, nvs, 0x9000, 0x6000,
phy_init, data, phy, 0xf000, 0x1000,
factory, app, factory, 0x10000, 0x110000,
vfs, data, fat, 0x120000, 0xA0000,

0 comments on commit 2997519

Please sign in to comment.