Remove some stuff about reserved psram & supervisor allocations
this is obsoleted by the new split heap code 🎉
This commit is contained in:
parent
bb12d36e5a
commit
fb840159fb
@ -63,9 +63,6 @@
|
||||
//| """
|
||||
//| Configure and initialize a camera with the given properties
|
||||
//|
|
||||
//| 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.
|
||||
//|
|
||||
//|
|
||||
//| .. important::
|
||||
//|
|
||||
//| Not all supported sensors have all
|
||||
|
@ -40,5 +40,3 @@
|
||||
#define DEFAULT_SPI_BUS_MISO (&pin_GPIO37)
|
||||
|
||||
#define DOUBLE_TAP_PIN (&pin_GPIO42)
|
||||
|
||||
#define DEFAULT_RESERVED_PSRAM (1048576)
|
||||
|
@ -37,6 +37,3 @@
|
||||
#define DEFAULT_SPI_BUS_MOSI (&pin_GPIO7)
|
||||
|
||||
#define DOUBLE_TAP_PIN (&pin_GPIO4)
|
||||
|
||||
// a 1024x768 16BPP framebuffer + some breathing room
|
||||
#define DEFAULT_RESERVED_PSRAM (1024 * 1024 * 2)
|
||||
|
@ -37,5 +37,3 @@
|
||||
// UART pins attached to the USB-serial converter chip
|
||||
#define CIRCUITPY_CONSOLE_UART_TX (&pin_GPIO1)
|
||||
#define CIRCUITPY_CONSOLE_UART_RX (&pin_GPIO3)
|
||||
|
||||
#define DEFAULT_RESERVED_PSRAM (1048576)
|
||||
|
@ -40,6 +40,3 @@
|
||||
// UART pins attached to the USB-serial converter chip
|
||||
#define CIRCUITPY_CONSOLE_UART_TX (&pin_GPIO43)
|
||||
#define CIRCUITPY_CONSOLE_UART_RX (&pin_GPIO44)
|
||||
|
||||
// a 800x480 16BPP framebuffer + some breathing room
|
||||
#define DEFAULT_RESERVED_PSRAM (800 * 800 * 2)
|
||||
|
@ -43,5 +43,3 @@
|
||||
{.clock = &pin_GPIO21, .mosi = &pin_GPIO47, .miso = NULL}, \
|
||||
{.clock = &pin_GPIO39, .mosi = &pin_GPIO40, .miso = &pin_GPIO38}, \
|
||||
}
|
||||
|
||||
#define DEFAULT_RESERVED_PSRAM (1048576)
|
||||
|
@ -37,6 +37,3 @@
|
||||
// UART pins attached to the USB-serial converter chip
|
||||
#define CIRCUITPY_CONSOLE_UART_TX (&pin_GPIO43)
|
||||
#define CIRCUITPY_CONSOLE_UART_RX (&pin_GPIO44)
|
||||
|
||||
// a 1024x768 16BPP framebuffer + some breathing room
|
||||
#define DEFAULT_RESERVED_PSRAM (1024 * 1024 * 2)
|
||||
|
@ -43,6 +43,3 @@
|
||||
#define CIRCUITPY_CONSOLE_UART_RX (&pin_GPIO3)
|
||||
|
||||
#define CIRCUITPY_I2C_ALLOW_INTERNAL_PULL_UP (1)
|
||||
|
||||
// espcamera.FrameSize.QXGA, half a megabyte result image.jpeg
|
||||
#define DEFAULT_RESERVED_PSRAM (1572864)
|
||||
|
@ -39,6 +39,3 @@
|
||||
// UART pins attached to the USB-serial converter chip
|
||||
#define CIRCUITPY_CONSOLE_UART_TX (&pin_GPIO43)
|
||||
#define CIRCUITPY_CONSOLE_UART_RX (&pin_GPIO44)
|
||||
|
||||
// a 1024x768 16BPP framebuffer + some breathing room
|
||||
#define DEFAULT_RESERVED_PSRAM (1024 * 1024 * 2)
|
||||
|
@ -42,7 +42,6 @@
|
||||
#else
|
||||
#define esp_himem_reserved_area_size() (0)
|
||||
#endif
|
||||
size_t reserved_psram = DEFAULT_RESERVED_PSRAM;
|
||||
#endif
|
||||
|
||||
static size_t psram_size_usable(void) {
|
||||
|
@ -71,13 +71,4 @@
|
||||
#define CIRCUITPY_I2C_ALLOW_INTERNAL_PULL_UP (0)
|
||||
#endif
|
||||
|
||||
#ifndef DEFAULT_RESERVED_PSRAM
|
||||
#define DEFAULT_RESERVED_PSRAM (0)
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SPIRAM)
|
||||
#undef CIRCUITPY_PORT_NUM_SUPERVISOR_ALLOCATIONS
|
||||
#define CIRCUITPY_PORT_NUM_SUPERVISOR_ALLOCATIONS (1)
|
||||
#endif
|
||||
|
||||
#endif // MICROPY_INCLUDED_ESPRESSIF_MPCONFIGPORT_H
|
||||
|
@ -545,10 +545,6 @@ void background_callback_run_all(void);
|
||||
#error "CIRCUITPY_USB_HID_MAX_REPORT_IDS_PER_DESCRIPTOR must be at least 1"
|
||||
#endif
|
||||
|
||||
#ifndef CIRCUITPY_PORT_NUM_SUPERVISOR_ALLOCATIONS
|
||||
#define CIRCUITPY_PORT_NUM_SUPERVISOR_ALLOCATIONS (0)
|
||||
#endif
|
||||
|
||||
#ifndef USB_MIDI_EP_NUM_OUT
|
||||
#define USB_MIDI_EP_NUM_OUT (0)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user