Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ports/broadcom/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#define MICROPY_PY_SYS_PLATFORM "BROADCOM"
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (1)
#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
#if BCM_VERSION == 2837 || BCM_VERSION == 2711
#define MICROPY_OBJ_REPR (MICROPY_OBJ_REPR_A)
#elif BCM_VERSION == 2835
Expand Down
3 changes: 3 additions & 0 deletions ports/cxd56/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

#define MICROPY_PY_SYS_PLATFORM "CXD56"

#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

// 64kiB stack
#define CIRCUITPY_DEFAULT_STACK_SIZE (0x10000)

Expand Down
3 changes: 3 additions & 0 deletions ports/espressif/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@

#define CIRCUITPY_DIGITALIO_HAVE_INPUT_ONLY (1)

#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

#include "py/circuitpy_mpconfig.h"

#define MICROPY_NLR_SETJMP (1)
Expand Down
1 change: 1 addition & 0 deletions ports/litex/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#define CIRCUITPY_INTERNAL_NVM_SIZE (0)
#define MICROPY_NLR_THUMB (0)
#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

#include "py/circuitpy_mpconfig.h"
Expand Down
3 changes: 3 additions & 0 deletions ports/raspberrypi/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
#define MICROPY_PY_SYS_PLATFORM "RP2350"
#endif

#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

// Setting a non-default value also requires a non-default link.ld
#ifndef CIRCUITPY_FIRMWARE_SIZE
#define CIRCUITPY_FIRMWARE_SIZE (1020 * 1024)
Expand Down
3 changes: 3 additions & 0 deletions ports/renode/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

#define MICROPY_PY_SYS_PLATFORM "Renode"

#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

#define MICROPY_USE_INTERNAL_PRINTF (1)

// This also includes mpconfigboard.h.
Expand Down