ziutek / emgo

Emgo: Bare metal Go (language for programming embedded systems)
BSD 3-Clause "New" or "Revised" License
1.07k stars 69 forks source link

STM32 WiFi support #11

Open RonAmihai opened 6 years ago

RonAmihai commented 6 years ago

I would like to use EMGO with one of the supported STM32 MTUs, alongside WiFi module (SPWF04 for example).

Does EMGO support WiFi? What modules are supported if it does?

RonAmihai commented 6 years ago

OK, I've seen you have an example for WiFiMCU, so I guess this MCU is supported. https://github.com/ziutek/emgo/tree/master/egpath/src/stm32/examples/wifimcu

Does EMGO's API support operations with this MCU's WiFi capabilities?

ziutek commented 6 years ago

No it doesn't.

I bought WiFiMCU a few weeks ago and I'm currently studying SDCARD spec.

The driver for SDIO peripheral have to be written and tested. This implies solid support for SD memory cards (the first beginnings are here: https://github.com/ziutek/emgo/tree/devel/egpath/src/sdcard).

After that you will have to write driver to communicate with BCM43362 WiFi chip. IP and UDP is also need to do something useful.

Quite a lot of work...

You can always use something that exposes WiFi or full TCP/IP/WiFi stack on UART.