sahlberg / libsmb2

SMB2/3 userspace client
Other
308 stars 126 forks source link

Add support to Teensy Micro Controller #330

Open cabbi opened 3 months ago

cabbi commented 3 months ago

Hi,

I see this library supports ESP32, I'm wondering if porting it to Teensy 4.1 (https://www.pjrc.com/store/teensy41.html) using PlatformIO would be a big effort. I'm going to start this porting but since I'm not a micro controller expert any advise/help is welcome.

sahlberg commented 3 months ago

Hi, libsmb2 is highly portable so as long as the platform has a basic berkley sockets implementation then it should port with very little efforts.

Possibly it might need a few tweaks in the compatibility parts of the code but there are plenty examples there on how to adapt it to platforms like esp32 or playstation2.

Wolf3s commented 2 months ago

Also, libsmb2 is C89-Compatible which any platform should work without any headche .