diff options
author | Damien George <damien@micropython.org> | 2024-02-08 17:03:43 +1100 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-02-08 17:16:10 +1100 |
commit | 35dd959133fb233d75e9b3cddbf98b2ed01c6594 (patch) | |
tree | e1e37d95d5dfd9ad58086105445e7d2d78a20496 /tests/multi_bluetooth/ble_irq_calls.py | |
parent | 2bdaa1bedede63ee2380aa5de67802cb5d2cfcd1 (diff) | |
download | micropython-35dd959133fb233d75e9b3cddbf98b2ed01c6594.tar.gz micropython-35dd959133fb233d75e9b3cddbf98b2ed01c6594.zip |
tools/manifestfile.py: Change library search to use a list of paths.
This commit changes how library packages are searched for when a manifest
file is loaded: there is now simply a list of library paths that is
searched in order for the given package. This list defaults to the
main directories in micropython-lib, but can be added to -- either appended
or prepended -- by using `add_library()`.
In particular the way unix-ffi library packages are searched has changed,
because the `unix_ffi` argument to `require()` is now removed. Instead, if
a build wants to include packages from micropython-lib/unix-ffi, then it
must explicitly add this to the list of paths to search using:
add_library("unix-ffi", "$(MPY_LIB_DIR)/unix-ffi")
Work done in collaboration with Jim Mussared.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/multi_bluetooth/ble_irq_calls.py')
0 files changed, 0 insertions, 0 deletions