File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -436,6 +436,10 @@ CFLAGS += -isystem esp-camera/driver/include
436436CFLAGS += -isystem esp-camera/conversions/include
437437endif
438438
439+ ifneq ($(CIRCUITPY_MICROROS ) ,0)
440+ CFLAGS += -isystem microros-ext/include
441+ endif
442+
439443ifneq ($(CIRCUITPY_ESPIDF ) ,0)
440444SRC_ESPIDF := \
441445 $(wildcard common-hal/espidf/* .c) \
@@ -674,6 +678,15 @@ ESP_IDF_COMPONENTS_EXPANDED += $(BUILD)/esp-idf/esp-idf/esp-camera/libesp-camera
674678# $(error $(ESP_IDF_COMPONENTS_EXPANDED))
675679endif
676680
681+ ifeq ($(CIRCUITPY_MICROROS ) ,1)
682+ ifeq ($(IDF_TARGET ) ,esp32)
683+ BINARY_BLOBS += microros-ext/esp32/libmicroros.a
684+ else ifeq ($(IDF_TARGET),esp32s2)
685+ BINARY_BLOBS+ = microros-ext/esp32s2/libmicroros.a
686+ else ifeq ($(IDF_TARGET),esp32s3)
687+ BINARY_BLOBS += microros-ext/esp32s3/libmicroros.a
688+ endif
689+
677690ifneq ($(VALID_BOARD ) ,)
678691# From esp-idf/components/bootloader/Kconfig.projbuild
679692# 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 @@ -64,6 +64,7 @@ CIRCUITPY_HASHLIB ?= 1
6464CIRCUITPY_I2CTARGET ?= 0
6565CIRCUITPY_MAX3421E ?= 1
6666CIRCUITPY_MEMORYMAP ?= 1
67+ CIRCUITPY_MICROROS ?= 0
6768CIRCUITPY_NVM ?= 1
6869CIRCUITPY_PARALLELDISPLAYBUS ?= 1
6970CIRCUITPY_PS2IO ?= 1
You can’t perform that action at this time.
0 commit comments