diff --git a/partitions.csv b/partitions.csv
new file mode 100644
index 0000000000000000000000000000000000000000..67b6e2e58be228d4803643542f26113a16c640b2
--- /dev/null
+++ b/partitions.csv
@@ -0,0 +1,7 @@
+# Notes: the offset of the partition table itself is set in
+# $IDF_PATH/components/partition_table/Kconfig.projbuild.
+# Name,   Type, SubType, Offset,  Size, Flags
+nvs,      data, nvs,     0x9000,  0x6000,
+phy_init, data, phy,     0xf000,  0x1000,
+factory,  app,  factory, 0x10000, 0x5F0000,
+vfs,      data, fat,     0x600000, 0xA00000,
diff --git a/sdkconfig.defaults b/sdkconfig.defaults
index 395b69df455272e89955fc3fee79fb7c1157c21b..8c7cb72d1b25eb90ce7a98b5fe38af70d5961e54 100644
--- a/sdkconfig.defaults
+++ b/sdkconfig.defaults
@@ -3,10 +3,10 @@ CONFIG_APP_EXCLUDE_PROJECT_NAME_VAR=y
 CONFIG_BOOTLOADER_LOG_LEVEL_WARN=y
 CONFIG_ESPTOOLPY_NO_STUB=y
 CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
-CONFIG_ESPTOOLPY_FLASHSIZE_8MB=y
+CONFIG_ESPTOOLPY_FLASHSIZE_16MB=y
 CONFIG_ESPTOOLPY_AFTER_NORESET=y
 CONFIG_PARTITION_TABLE_CUSTOM=y
-CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="components/micropython/vendor/ports/esp32/partitions-8MiB.csv"
+CONFIG_PARTITION_TABLE_CUSTOM_FILENAME="partitions.csv"
 CONFIG_COMPILER_OPTIMIZATION_PERF=y
 CONFIG_COMPILER_OPTIMIZATION_ASSERTIONS_DISABLE=y
 CONFIG_BT_ENABLED=y