80654779e1
* atmel-samd: Add support for internal filesystems. This allows us to re-enable `os`. `random` is also enabled because it solely depends on `os`. Fixes #266. Its also a pre-requisite for #260. * atmel-samd: Update SAMD51 linker script comments and MICROPY_MAX_STACK_USAGE enabling.
20 lines
488 B
Makefile
20 lines
488 B
Makefile
SRC_SUPERVISOR = \
|
|
main.c \
|
|
supervisor/port.c \
|
|
supervisor/shared/autoreload.c \
|
|
supervisor/shared/rgb_led_status.c
|
|
|
|
ifeq ($(wildcard atmel-samd/supervisor/filesystem.c),)
|
|
SRC_SUPERVISOR += supervisor/filesystem.c
|
|
else
|
|
SRC_SUPERVISOR += supervisor/stub/filesystem.c
|
|
endif
|
|
|
|
ifeq ($(wildcard atmel-samd/supervisor/serial.c),)
|
|
SRC_SUPERVISOR += supervisor/serial.c
|
|
else
|
|
SRC_SUPERVISOR += supervisor/stub/serial.c
|
|
endif
|
|
|
|
SUPERVISOR_O = $(addprefix $(BUILD)/, $(SRC_SUPERVISOR:.c=.o))
|