File tree Expand file tree Collapse file tree 3 files changed +15
-0
lines changed
Expand file tree Collapse file tree 3 files changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -422,6 +422,10 @@ CFLAGS += -isystem esp-camera/driver/include
422422CFLAGS += -isystem esp-camera/conversions/include
423423endif
424424
425+ ifneq ($(CIRCUITPY_MICROROS ) ,0)
426+ CFLAGS += -isystem microros-ext/include
427+ endif
428+
425429ifneq ($(CIRCUITPY_ESPIDF ) ,0)
426430SRC_ESPIDF := \
427431 $(wildcard common-hal/espidf/* .c) \
@@ -664,6 +668,15 @@ ESP_IDF_COMPONENTS_EXPANDED += $(BUILD)/esp-idf/esp-idf/esp-camera/libesp-camera
664668# $(error $(ESP_IDF_COMPONENTS_EXPANDED))
665669endif
666670
671+ ifeq ($(CIRCUITPY_MICROROS ) ,1)
672+ ifeq ($(IDF_TARGET ) ,esp32)
673+ BINARY_BLOBS += microros-ext/esp32/libmicroros.a
674+ else ifeq ($(IDF_TARGET),esp32s2)
675+ BINARY_BLOBS+ = microros-ext/esp32s2/libmicroros.a
676+ else ifeq ($(IDF_TARGET),esp32s3)
677+ BINARY_BLOBS += microros-ext/esp32s3/libmicroros.a
678+ endif
679+
667680ifneq ($(VALID_BOARD ) ,)
668681# From esp-idf/components/bootloader/Kconfig.projbuild
669682# BOOTLOADER_OFFSET is determined by chip type, based on the ROM bootloader, and is not changeable.
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ CIRCUITPY_ESP_FLASH_MODE = qio
99CIRCUITPY_ESP_FLASH_FREQ = 80m
1010CIRCUITPY_ESP_FLASH_SIZE = 8MB
1111CIRCUITPY_ESPCAMERA = 0
12+ CIRCUITPY_MICROROS = 1
1213
1314CIRCUITPY_GIFIO = 1
1415CIRCUITPY_MAX3421E = 0
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ CIRCUITPY_HASHLIB ?= 1
6666CIRCUITPY_I2CTARGET ?= 0
6767CIRCUITPY_MAX3421E ?= 1
6868CIRCUITPY_MEMORYMAP ?= 1
69+ CIRCUITPY_MICROROS ?= 0
6970CIRCUITPY_NVM ?= 1
7071CIRCUITPY_PARALLELDISPLAYBUS ?= 1
7172CIRCUITPY_PS2IO ?= 1
You can’t perform that action at this time.
0 commit comments