Skip to content

Commit df33271

Browse files
committed
CIRCUITPY_FULL_BUILD now controls a few more features
1 parent 68561fc commit df33271

File tree

14 files changed

+24
-36
lines changed

14 files changed

+24
-36
lines changed

ports/analog/mpconfigport.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99

1010
#include <stdint.h>
1111

12-
#define MICROPY_PY_FUNCTION_ATTRS (1)
13-
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
14-
1512
// 24KiB stack
1613
#define CIRCUITPY_DEFAULT_STACK_SIZE 0x6000
1714

ports/atmel-samd/mpconfigport.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@
6868
#define MICROPY_PY_SYS_PLATFORM "MicroChip SAME54"
6969
#endif
7070
#define SPI_FLASH_MAX_BAUDRATE 24000000
71-
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (1)
72-
#define MICROPY_PY_FUNCTION_ATTRS (1)
71+
7372
// MICROPY_PY_ERRNO_LIST - Use the default
7473

7574
#endif // SAM_D5X_E5X

ports/broadcom/mpconfigport.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313

1414
#define CIRCUITPY_MCU_FAMILY broadcom
1515
#define MICROPY_PY_SYS_PLATFORM "BROADCOM"
16-
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (1)
17-
#define MICROPY_PY_FUNCTION_ATTRS (1)
18-
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
16+
1917
#if BCM_VERSION == 2837 || BCM_VERSION == 2711
2018
#define MICROPY_OBJ_REPR (MICROPY_OBJ_REPR_A)
2119
#elif BCM_VERSION == 2835

ports/cxd56/boards/spresense/mpconfigboard.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,3 @@
1818

1919
#define DEFAULT_UART_BUS_RX (&pin_UART2_RXD)
2020
#define DEFAULT_UART_BUS_TX (&pin_UART2_TXD)
21-
22-
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

ports/cxd56/mpconfigport.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88

99
#define MICROPY_PY_SYS_PLATFORM "CXD56"
1010

11-
#define MICROPY_PY_FUNCTION_ATTRS (1)
12-
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
13-
1411
// 64kiB stack
1512
#define CIRCUITPY_DEFAULT_STACK_SIZE (0x10000)
1613

ports/espressif/mpconfigport.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717

1818
#define CIRCUITPY_DIGITALIO_HAVE_INPUT_ONLY (1)
1919

20-
#define MICROPY_PY_FUNCTION_ATTRS (1)
21-
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
22-
2320
#include "py/circuitpy_mpconfig.h"
2421

2522
#define MICROPY_NLR_SETJMP (1)

ports/litex/mpconfigport.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
#define CIRCUITPY_INTERNAL_NVM_SIZE (0)
1111
#define MICROPY_NLR_THUMB (0)
12-
#define MICROPY_PY_FUNCTION_ATTRS (1)
13-
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
1412

1513
#include "py/circuitpy_mpconfig.h"
1614

ports/mimxrt10xx/mpconfigport.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ extern uint8_t _ld_filesystem_end;
1717
extern uint8_t _ld_default_stack_size;
1818

1919
#define CIRCUITPY_DEFAULT_STACK_SIZE ((uint32_t)&_ld_default_stack_size)
20-
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (0)
21-
#define MICROPY_PY_FUNCTION_ATTRS (0)
22-
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
23-
2420

2521
#define CIRCUITPY_INTERNAL_FLASH_FILESYSTEM_START_ADDR ((uint32_t)&_ld_filesystem_start)
2622
#define CIRCUITPY_INTERNAL_FLASH_FILESYSTEM_SIZE ((uint32_t)(&_ld_filesystem_end - &_ld_filesystem_start))

ports/nordic/mpconfigport.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
#include "nrf_sdm.h" // for SD_FLASH_SIZE
1414
#include "peripherals/nrf/nvm.h" // for FLASH_PAGE_SIZE
1515

16-
#define MICROPY_PY_FUNCTION_ATTRS (1)
17-
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
1816
#define MICROPY_PY_SYS_STDIO_BUFFER (1)
1917

2018
// 24kiB stack

ports/raspberrypi/mpconfigport.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
#define MICROPY_PY_SYS_PLATFORM "RP2350"
1717
#endif
1818

19-
#define MICROPY_PY_FUNCTION_ATTRS (1)
20-
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
21-
2219
// Setting a non-default value also requires a non-default link.ld
2320
#ifndef CIRCUITPY_FIRMWARE_SIZE
2421
#define CIRCUITPY_FIRMWARE_SIZE (1020 * 1024)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy