Browse Source

stm32/boards/ARDUINO_GIGA: Add Arduino's external library.

Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
pull/14082/head
iabdalkader 9 months ago
committed by Damien George
parent
commit
27aa3c19bf
  1. 6
      ports/stm32/boards/ARDUINO_GIGA/manifest.py
  2. 3
      ports/stm32/boards/ARDUINO_GIGA/mpconfigboard.mk

6
ports/stm32/boards/ARDUINO_GIGA/manifest.py

@ -10,3 +10,9 @@ require("logging")
# Bluetooth
require("aioble")
# Register external library
add_library("arduino-lib", "$(ARDUINO_LIB_DIR)")
# RPC
require("msgpackrpc", library="arduino-lib")

3
ports/stm32/boards/ARDUINO_GIGA/mpconfigboard.mk

@ -26,5 +26,8 @@ MICROPY_SSL_MBEDTLS = 1
MICROPY_PY_OPENAMP = 1
MICROPY_PY_OPENAMP_REMOTEPROC = 1
ARDUINO_LIB_DIR = lib/arduino-lib
GIT_SUBMODULES += $(ARDUINO_LIB_DIR)
FROZEN_MANIFEST = $(BOARD_DIR)/manifest.py
MICROPY_MANIFEST_ARDUINO_LIB_DIR = $(TOP)/$(ARDUINO_LIB_DIR)
MBEDTLS_CONFIG_FILE = '"$(BOARD_DIR)/mbedtls_config_board.h"'

Loading…
Cancel
Save