Skip to content

Commit

Permalink
EOF
Browse files Browse the repository at this point in the history
  • Loading branch information
bsatrom committed Nov 7, 2024
1 parent dd30006 commit 7e0c9a2
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 13 deletions.
4 changes: 2 additions & 2 deletions ports/stm/boards/STM32L433_default.ld
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ MEMORY
{
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 256K /* entire flash */
FLASH_ISR (rx) : ORIGIN = 0x08000000, LENGTH = 4K /* ISR vector. Kind of wasteful. */
FLASH_FIRMWARE (rx) : ORIGIN = 0x08001000, LENGTH = 128K - 4K
FLASH_FS (rw) : ORIGIN = 0x08020000, LENGTH = 128K
FLASH_FIRMWARE (rx) : ORIGIN = 0x08001000, LENGTH = 192K - 4K
FLASH_FS (rw) : ORIGIN = 0x08030000, LENGTH = 64K
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 64K
}

Expand Down
77 changes: 66 additions & 11 deletions ports/stm/boards/cygnet/mpconfigboard.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ MCU_PACKAGE = LQFP48
LD_COMMON = boards/common_default.ld
LD_DEFAULT = boards/STM32L433_default.ld
# UF2 boot option
LD_BOOT = boards/STM32L433_boot.ld
#LD_BOOT = boards/STM32L433_boot.ld
UF2_OFFSET = 0x8010000
UF2_BOOTLOADER ?= 1
CIRCUITPY_BUILD_EXTENSIONS = bin,uf2
Expand All @@ -21,40 +21,95 @@ CIRCUITPY_FULL_BUILD = 0

USB_NUM_ENDPOINT_PAIRS = 8

CIRCUITPY_ROTARYIO_SOFTENCODER = 1
CIRCUITPY_KEYPAD_DEMUX = 0

CIRCUITPY_ALARM = 0
CIRCUITPY_ANALOGIO = 1
CIRCUITPY_AUDIOBUSIO = 0
CIRCUITPY_AUDIOBUSIO_I2SOUT = 0
CIRCUITPY_AUDIOBUSIO_PDMIN = 0
CIRCUITPY_AUDIOPWMIO = 0
CIRCUITPY_BITBANGIO = 1
CIRCUITPY_BITBANGIO = 0
CIRCUITPY_BLEIO = 0
CIRCUITPY_BLEIO_HCI = 0
CIRCUITPY_BUSDEVICE = 0
CIRCUITPY_BUSIO = 1
CIRCUITPY_CANIO = 0
CIRCUITPY_DIGITALIO = 1
CIRCUITPY_DISPLAYIO = 0
CIRCUITPY_ENABLE_MPY_NATIVE = 1
CIRCUITPY_ENABLE_MPY_NATIVE = 0
CIRCUITPY_I2CTARGET = 0
CIRCUITPY_KEYPAD = 0
CIRCUITPY_MICROCONTROLLER = 1
CIRCUITPY_NEOPIXEL_WRITE = 0
CIRCUITPY_NVM = 0
CIRCUITPY_OS = 1
CIRCUITPY_PIXELBUF = 0
CIRCUITPY_PULSEIO = 1
CIRCUITPY_PWMIO = 1
CIRCUITPY_RANDOM = 1
CIRCUITPY_PULSEIO = 0
CIRCUITPY_PWMIO = 0
CIRCUITPY_RANDOM = 0
CIRCUITPY_RAINBOWIO = 0
CIRCUITPY_REQUIRE_I2C_PULLUPS = 0
CIRCUITPY_RGBMATRIX = 0
CIRCUITPY_RTC = 1
CIRCUITPY_RTC = 0
CIRCUITPY_SDCARDIO = 0
CIRCUITPY_STORAGE = 1
CIRCUITPY_STORAGE = 0
CIRCUITPY_SUPERVISOR = 1
CIRCUITPY_TOUCHIO = 0
CIRCUITPY_ULAB = 1
CIRCUITPY_ULAB = 0
CIRCUITPY_UDB_CDC = 1
CIRCUITPY_USB_HID = 0
CIRCUITPY_USB_MIDI = 0
CIRCUITPY_USB_MSC = 1
CIRCUITPY_USB_VENDOR = 1
CIRCUITPY_USB_MSC = 0
CIRCUITPY_USB_VENDOR = 0

CIRCUITPY_AESIO = 0
CIRCUITPY_ATEXIT = 0
CIRCUITPY_AUDIOMIXER = 0
CIRCUITPY_AUDIOMP3 = 0
CIRCUITPY_BINASCII = 0
CIRCUITPY_BITMAPFILTER = 0
CIRCUITPY_BITMAPTOOLS = 0
CIRCUITPY_BUILTINS_POW3 = 0
CIRCUITPY_BUSDEVICE = 0
CIRCUITPY_COMPUTED_GOTO_SAVE_SPACE = 1
CIRCUITPY_COUNTIO = 0
# Not enough RAM for framebuffers
CIRCUITPY_FRAMEBUFFERIO = 0
CIRCUITPY_FREQUENCYIO = 0
CIRCUITPY_GETPASS = 0
CIRCUITPY_GIFIO = 0
CIRCUITPY_I2CTARGET = 0
CIRCUITPY_JSON = 0
CIRCUITPY_KEYPAD = 0
CIRCUITPY_MSGPACK = 0
CIRCUITPY_OS_GETENV = 0
CIRCUITPY_PIXELMAP = 0
CIRCUITPY_RE = 0
CIRCUITPY_SDCARDIO = 0
CIRCUITPY_SYNTHIO = 0
CIRCUITPY_TOUCHIO_USE_NATIVE = 1
CIRCUITPY_TRACEBACK = 0
CIRCUITPY_VECTORIO = 0
CIRCUITPY_ZLIB = 0

CIRCUITPY_ONEWIREIO = 0
CIRCUITPY_SAFEMODE_PY = 0
CIRCUITPY_USB_IDENTIFICATION = 0
CIRCUITPY_FUTURE= 0
CIRCUITPY_STATUS_BAR= 0
CIRCUITPY_WIFI_RADIO_SETTABLE_MAC_ADDRESS= 0
CIRCUITPY_USB_MIDI_ENABLED_DEFAULT= 0

MICROPY_PY_ASYNC_AWAIT = 0

CIRCUITPY_TERMINALIO = 0
RELEASE_NEEDS_CLEAN_BUILD = 0

SUPEROPT_GC = 0
SUPEROPT_VM = 0

CIRCUITPY_LTO_PARTITION = one

OPTIMIZATION_FLAGS = -Os

0 comments on commit 7e0c9a2

Please sign in to comment.