Skip to content

Commit 5f44c58

Browse files
committed
bricks/stm32: drop frozen.py
We currently don't have a need for frozen modules on Powered Up. Upstream changed how frozen modules work so this would need to be reworked anyway if we do have a future need.
1 parent 9692b10 commit 5f44c58

File tree

6 files changed

+0
-8
lines changed

6 files changed

+0
-8
lines changed

bricks/cityhub/modules/frozen.py

Whitespace-only changes.

bricks/cplushub/modules/frozen.py

Whitespace-only changes.

bricks/debug/modules/frozen.py

Whitespace-only changes.

bricks/movehub/modules/frozen.py

Whitespace-only changes.

bricks/primehub/modules/frozen.py

Whitespace-only changes.

bricks/stm32/stm32.mk

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ include ../../micropython/py/mkenv.mk
3939
# qstr definitions (must come before including py.mk)
4040
QSTR_GLOBAL_DEPENDENCIES = $(PBTOP)/bricks/stm32/configport.h
4141

42-
# directory containing scripts to be frozen as bytecode
43-
FROZEN_MPY_DIR ?= modules
4442
FROZEN_MPY_TOOL_ARGS = -mlongint-impl=none
4543

4644
# include py core make definitions
@@ -128,12 +126,6 @@ CFLAGS += -DSTM32_HAL_H='<stm32$(PB_MCU_SERIES_LCASE)xx_hal.h>'
128126
# TODO: probably only need no-unicode on movehub
129127
MPY_CROSS_FLAGS += -mno-unicode
130128

131-
ifneq ($(FROZEN_MPY_DIR),)
132-
# To use frozen bytecode, put your .py files in a subdirectory (eg frozen/) and
133-
# then invoke make with FROZEN_MPY_DIR=frozen (be sure to build from scratch).
134-
CFLAGS += -DMICROPY_QSTR_EXTRA_POOL=mp_qstr_frozen_const_pool
135-
CFLAGS += -DMICROPY_MODULE_FROZEN_MPY
136-
endif
137129

138130
LIBS = $(shell $(CC) $(CFLAGS) -print-libgcc-file-name)
139131

0 commit comments

Comments
 (0)