diff --git a/ports/esp32/Makefile b/ports/esp32/Makefile
index 3f0e47c1786f690d63c3766d64dcf75577bae938..2fa8c1c506754d067f2967ac660ecf4f0cd31774 100644
--- a/ports/esp32/Makefile
+++ b/ports/esp32/Makefile
@@ -721,7 +721,7 @@ $(BUILD)/bootloader.elf: $(BOOTLOADER_OBJ)
 # Declarations to build the partitions
 
 PYTHON2 ?= python2
-PART_SRC = $(ESPCOMP)/partition_table/partitions_singleapp.csv
+PART_SRC = partitions.csv
 
 $(BUILD)/partitions.bin: $(PART_SRC)
 	$(ECHO) "Create $@"
diff --git a/ports/esp32/partitions.csv b/ports/esp32/partitions.csv
new file mode 100644
index 0000000000000000000000000000000000000000..98adcd20a70379f84f7a01828a3b859a46da3cd6
--- /dev/null
+++ b/ports/esp32/partitions.csv
@@ -0,0 +1,5 @@
+# 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, 0x180000,