-
Notifications
You must be signed in to change notification settings - Fork 1.1k
espflash: Add binary packages with NINA and esp_hosted firmware. #642
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I haven't quite kept up with Nina support in micropython; I presume this allows use of an esp32 as an external radio to provide network access on an otherwise non-connected micropython part?
Is Bluetooth supported as well (yet)?
I presume this allows use of an esp32 as an external radio to provide network access on an otherwise non-connected micropython part?
Yes & yes. That is the intention. You can use generic ESP32WROOM based hardware or modules like u.blox W102 and Adafruit Airlift. But the MicroPython build must have the drivers included, which by default is not the case. The basic WLAN driver is 14 for the code and 6k for frozen utility scripts. Bluetooth including nimBLE is ~80k, mbedts is ~100k.
In the next few moments I'll send a PR for the SAMD port, tested with a few SAMD boards. Boards with a SAMD51x19 MCU hav just basic WiFI, the SAMD51x20 MCUs have SSL as well. That can be changed if the PR for external Flash support is merged.
I tested that approach already with two MIMXRT boards (1010 and 1015) which otherwise have not network support. But other port can be extended as well.
Bluetooth is on the road map as well. It builds and can be started. Only I have to do more testing.
e18e154 to
84bf95b
Compare
- NINA_FW_v1.5.0_W102.bin for the u.blox W102 module or any other generic ESP32 device. - NINA_FW_v1.5.0_Airlift.bin for Adafruit Airlift modules. The two binaries only differ in which pin is used for the MOSI signals. The u.blox module uses Pin 12, the Adafruit modules use Pin 14. A generic ESP32 can be used with either firmware, given that MOSI is connected accordingly. Signed-off-by: robert-hh <robert@hammelrath.com>
Using the interface pins of the Airlift modules. Signed-off-by: robert-hh <robert@hammelrath.com>
The most important difference to v1.5.0 is changing the Ardiono trust anchors. Signed-off-by: robert-hh <robert@hammelrath.com>
84bf95b to
81f8e32
Compare
The two binaries only differ in which pin is used for the MOSI signals. The u.blox module uses Pin 12, the Adafruit modules use Pin 14. A generic ESP32 can be used with either firmware, given that MOSI is connected accordingly.