Skip to content

Commit

Permalink
stm32/boards/ARDUINO_PORTENTA_H7: Add Arduino's external library.
Browse files Browse the repository at this point in the history
Signed-off-by: iabdalkader <i.abdalkader@gmail.com>
  • Loading branch information
iabdalkader authored and dpgeorge committed Mar 26, 2024
1 parent 723cd03 commit da09646
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ports/stm32/boards/ARDUINO_PORTENTA_H7/manifest.py
Expand Up @@ -10,3 +10,10 @@

# Bluetooth
require("aioble")

# Register external library
add_library("arduino-lib", "$(ARDUINO_LIB_DIR)")

# RPC
require("cmwx1", library="arduino-lib")
require("msgpackrpc", library="arduino-lib")
3 changes: 3 additions & 0 deletions ports/stm32/boards/ARDUINO_PORTENTA_H7/mpconfigboard.mk
Expand Up @@ -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"'

0 comments on commit da09646

Please sign in to comment.