diff options
| author | iabdalkader <i.abdalkader@gmail.com> | 2022-11-04 18:42:50 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-11-14 19:06:51 +1100 |
| commit | e35bcb0f0b940ffb73396cd6c023ac29b16e5b9b (patch) | |
| tree | 03c4bda37c76a6ecd93352b51edfb713924c09d9 | |
| parent | 8ddb4567ff94c58e56a23c652a7323575f0079d1 (diff) | |
rp2/boards/ARDUINO_NANO_RP2040: Add more modules and enable MD5 hash.
Changes in this commit are:
- Enable MD5 hash to verify Nina WiFi firmware.
- Add ntptime, urequests and espflash to manifest.
| -rw-r--r-- | ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/manifest.py | 5 | ||||
| -rw-r--r-- | ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/manifest.py b/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/manifest.py index dbd45fa40..5061e2cf0 100644 --- a/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/manifest.py +++ b/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/manifest.py @@ -3,9 +3,14 @@ include("$(PORT_DIR)/boards/manifest.py") # Networking require("webrepl") require("urequests") +require("ntptime") # Drivers require("lsm6dsox") +require("espflash") + +# Utils +require("logging") # Bluetooth require("aioble", client=True, central=True, l2cap=True, security=True) diff --git a/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h b/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h index 5ea9b8cdb..1818b56a6 100644 --- a/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h +++ b/ports/rp2/boards/ARDUINO_NANO_RP2040_CONNECT/mpconfigboard.h @@ -7,6 +7,9 @@ // Enable networking. #define MICROPY_PY_NETWORK (1) +// Enable MD5 hash. +#define MICROPY_PY_UHASHLIB_MD5 (1) + // Disable internal error numbers. #define MICROPY_USE_INTERNAL_ERRNO (0) |
