Skip to content

Including custom modules for Arduino Portenta H7 #13772

Discussion options

You must be logged in to vote

This is all controlled by the manifest file sequence. See https://docs.micropython.org/en/latest/reference/manifest.html
For the Portenta H7, it starts with the manifest.py file in the boards directory of the Portenta H7. If you look at the esp32/boards/manifest.py file, it includes a line freeze("$(PORT_DIR)/modules"). If you add that e.g. to stm32/boards/manifest.py or to the manifest.py file of the Portenta H7, then all files in a stm32/modules directory will be include. You can as well make your own manifest.py file. add there include("$(BOARD_DIR)/manifest.py") and use make FROZEN_MANIFEST=<my_mainfest_file> ...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by djesic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants