kopia lustrzana https://github.com/micropython/micropython
renesas-ra/boards/ARDUINO_PORTENTA_C33: Add Arduino's external library.
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>pull/14082/head
rodzic
da09646eab
commit
fa6ccc7e72
|
@ -10,3 +10,9 @@ require("logging")
|
||||||
|
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
require("aioble")
|
require("aioble")
|
||||||
|
|
||||||
|
# Register external library
|
||||||
|
add_library("arduino-lib", "$(ARDUINO_LIB_DIR)")
|
||||||
|
|
||||||
|
# CMWX1 Lora module.
|
||||||
|
require("cmwx1", library="arduino-lib")
|
||||||
|
|
|
@ -18,5 +18,8 @@ MICROPY_SSL_MBEDTLS = 1
|
||||||
MICROPY_PY_NETWORK = 1
|
MICROPY_PY_NETWORK = 1
|
||||||
MICROPY_PY_NETWORK_ESP_HOSTED = 1
|
MICROPY_PY_NETWORK_ESP_HOSTED = 1
|
||||||
|
|
||||||
|
ARDUINO_LIB_DIR = lib/arduino-lib
|
||||||
|
GIT_SUBMODULES += $(ARDUINO_LIB_DIR)
|
||||||
FROZEN_MANIFEST = $(BOARD_DIR)/manifest.py
|
FROZEN_MANIFEST = $(BOARD_DIR)/manifest.py
|
||||||
|
MICROPY_MANIFEST_ARDUINO_LIB_DIR = $(TOP)/$(ARDUINO_LIB_DIR)
|
||||||
MBEDTLS_CONFIG_FILE = '"$(BOARD_DIR)/mbedtls_config_board.h"'
|
MBEDTLS_CONFIG_FILE = '"$(BOARD_DIR)/mbedtls_config_board.h"'
|
||||||
|
|
Ładowanie…
Reference in New Issue