Using GHI WiFi Library on non Gadgeteer boards

I’ve managed to get .Net MF set up on the STM32F4-Discovery board and wired it to a Microchip MRF24WB0MA only to find out that Microchip doesn’t publish the SPI protocol docs…

GHI’s library is the only alternative (to rebuilding the driver from Microchip’s open source TCP/IP stack) and I was wondering if it is possible to use it outside of a Gadgeteer project. I.e., is it possible to configure the library to use different Pins and SPI devices? Since the Gadgeteer assemblies are built on top of NetMF it shouldn’t matter which device it’s on, from what I understand.

WiFi is part of the premium library, which is closed source http://www.ghielectronics.com/offers/

I don’t see why not. As you mentioned Gadgeteer is “add-on” on top of NETMF. But keep in mind, although it is independed, mainboard related code is for that specific mainboard only.

@ Gus - As I understand he wants to port an open source code.

I don’t want to port any code (don’t have that kind of experience with embedded software yet) so I’m just interested in using the WiFi module as-is. Is there anything in the mainboard code that can’t be modified to fit the STM32F4? The WiFi only really needs access to SPI.

Ok, I have misunderstood you.

Then it has to be integrated with the TCP/IP stack. That is the fun part.

Is GHIElectronics.NETMF.Net the GHI TCP/IP stack? Is it closed or open source?

Just our of curiosity, How did you get Microchip’s WiFI module working with STM32 microcintorller? Did you use the source code provided by Microchip.? I thought that the source code Microchip provides are licensed to be used with Microchip microcontrollers only.

Hmm I was not aware of that licensing. However, I haven’t done anything with the module, just wired it up only to find out about the lack of SPI docs.

If it does not have OSHW in the name it is closed source.