Portability from ESP8266 to ESP32
Portability from ESP8266 to ESP32
Will be possible compile( in any moment ) the same code from 8266 in 32 ??
-
- Posts: 9708
- Joined: Thu Nov 26, 2015 4:08 am
Re: Portability from ESP8266 to ESP32
It depends. If you're using the RTOS SDK on the 8266 and do not have any driver calls and do not modify registers directly, chances are your program will run unmodified on the ESP32. If you use the non-os version, for now you will need to modify the code to use BSD sockets. We are planning on a compatibility layer to make it easier to compile non-os ESP8266 code on an ESP32, but at the moment that still is in the pipeline.
With regards to direct hardware calls and/or use of drivers, these probably have changed between the ESP8266 and ESP32 and you probably need to modify your code there regardless.
With regards to direct hardware calls and/or use of drivers, these probably have changed between the ESP8266 and ESP32 and you probably need to modify your code there regardless.
Who is online
Users browsing this forum: Google [Bot], slaboure and 79 guests