Skip to content
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

espflash: Add binary packages with NINA and esp_hosted firmware. #642

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

robert-hh
Copy link
Contributor

  • 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.

@andrewleech
Copy link
Contributor

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)?

@robert-hh
Copy link
Contributor Author

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.

- 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 <[email protected]>
Using the interface pins of the Airlift modules.

Signed-off-by: robert-hh <[email protected]>
@robert-hh robert-hh changed the title espflash: Add two binary packages with NINA firmware. espflash: Add binary packages with NINA and esp_hosted firmware. Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants