Including custom modules for Arduino Portenta H7 #13772
-
Hi, I've been using an ESP32 based board and have managed to add some Any help would be appreciated, thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is all controlled by the manifest file sequence. See https://docs.micropython.org/en/latest/reference/manifest.html |
Beta Was this translation helpful? Give feedback.
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. tostm32/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 thereinclude("$(BOARD_DIR)/manifest.py")
and usemake FROZEN_MANIFEST=<my_mainfest_file> ...