Skip to content

Commit fb84015

Browse files
committed
Remove some stuff about reserved psram & supervisor allocations
this is obsoleted by the new split heap code 🎉
1 parent bb12d36 commit fb84015

File tree

12 files changed

+0
-38
lines changed

12 files changed

+0
-38
lines changed

ports/espressif/bindings/espcamera/Camera.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@
6363
//| """
6464
//| Configure and initialize a camera with the given properties
6565
//|
66-
//| This driver requires that the ``CIRCUITPY_RESERVED_PSRAM`` in ``settings.toml`` be large enough to hold the camera framebuffer(s). Generally, boards with built-in cameras will have a default setting that is large enough. If the constructor raises a MemoryError or an IDFError, this probably indicates the setting is too small and should be increased.
67-
//|
68-
//|
6966
//| .. important::
7067
//|
7168
//| Not all supported sensors have all

ports/espressif/boards/adafruit_esp32s3_camera/mpconfigboard.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,3 @@
4040
#define DEFAULT_SPI_BUS_MISO (&pin_GPIO37)
4141

4242
#define DOUBLE_TAP_PIN (&pin_GPIO42)
43-
44-
#define DEFAULT_RESERVED_PSRAM (1048576)

ports/espressif/boards/adafruit_qualia_s3_rgb666/mpconfigboard.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,3 @@
3737
#define DEFAULT_SPI_BUS_MOSI (&pin_GPIO7)
3838

3939
#define DOUBLE_TAP_PIN (&pin_GPIO4)
40-
41-
// a 1024x768 16BPP framebuffer + some breathing room
42-
#define DEFAULT_RESERVED_PSRAM (1024 * 1024 * 2)

ports/espressif/boards/espressif_esp32_eye/mpconfigboard.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,3 @@
3737
// UART pins attached to the USB-serial converter chip
3838
#define CIRCUITPY_CONSOLE_UART_TX (&pin_GPIO1)
3939
#define CIRCUITPY_CONSOLE_UART_RX (&pin_GPIO3)
40-
41-
#define DEFAULT_RESERVED_PSRAM (1048576)

ports/espressif/boards/espressif_esp32s3_devkitc_1_n8r8_hacktablet/mpconfigboard.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,3 @@
4040
// UART pins attached to the USB-serial converter chip
4141
#define CIRCUITPY_CONSOLE_UART_TX (&pin_GPIO43)
4242
#define CIRCUITPY_CONSOLE_UART_RX (&pin_GPIO44)
43-
44-
// a 800x480 16BPP framebuffer + some breathing room
45-
#define DEFAULT_RESERVED_PSRAM (800 * 800 * 2)

ports/espressif/boards/espressif_esp32s3_eye/mpconfigboard.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,3 @@
4343
{.clock = &pin_GPIO21, .mosi = &pin_GPIO47, .miso = NULL}, \
4444
{.clock = &pin_GPIO39, .mosi = &pin_GPIO40, .miso = &pin_GPIO38}, \
4545
}
46-
47-
#define DEFAULT_RESERVED_PSRAM (1048576)

ports/espressif/boards/espressif_esp32s3_lcd_ev/mpconfigboard.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,3 @@
3737
// UART pins attached to the USB-serial converter chip
3838
#define CIRCUITPY_CONSOLE_UART_TX (&pin_GPIO43)
3939
#define CIRCUITPY_CONSOLE_UART_RX (&pin_GPIO44)
40-
41-
// a 1024x768 16BPP framebuffer + some breathing room
42-
#define DEFAULT_RESERVED_PSRAM (1024 * 1024 * 2)

ports/espressif/boards/m5stack_timer_camera_x/mpconfigboard.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,3 @@
4343
#define CIRCUITPY_CONSOLE_UART_RX (&pin_GPIO3)
4444

4545
#define CIRCUITPY_I2C_ALLOW_INTERNAL_PULL_UP (1)
46-
47-
// espcamera.FrameSize.QXGA, half a megabyte result image.jpeg
48-
#define DEFAULT_RESERVED_PSRAM (1572864)

ports/espressif/boards/makerfabs_tft7/mpconfigboard.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,3 @@
3939
// UART pins attached to the USB-serial converter chip
4040
#define CIRCUITPY_CONSOLE_UART_TX (&pin_GPIO43)
4141
#define CIRCUITPY_CONSOLE_UART_RX (&pin_GPIO44)
42-
43-
// a 1024x768 16BPP framebuffer + some breathing room
44-
#define DEFAULT_RESERVED_PSRAM (1024 * 1024 * 2)

ports/espressif/common-hal/espidf/__init__.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
#else
4343
#define esp_himem_reserved_area_size() (0)
4444
#endif
45-
size_t reserved_psram = DEFAULT_RESERVED_PSRAM;
4645
#endif
4746

4847
static size_t psram_size_usable(void) {

0 commit comments

Comments
 (0)