Open pacmac opened 5 years ago
I actually don't see any reference to etcdelay* in espressif reference guide at all https://www.espressif.com/sites/default/files/documentation/2C-ESP8266_Non_OS_SDK_API_Reference__EN.pdf So errors seems logical, if they removed these
I think this might be related to https://github.com/espressif/ESP8266_NONOS_SDK/commit/4671b17cc9fc6ed6787c2d310daf8accccf29c8d, which is merged into nonos sdk v2.2.0+.
@pacmac Just FYI. I have built esp-open-sdk with esp8266 nonos sdk 2.2.1 and here is the change I need to make in micropython to get a successful build. I just got a build but haven't loaded it to my device.
diff --git a/ports/esp8266/etshal.h b/ports/esp8266/etshal.h
index 8d6457311..013160679 100644
--- a/ports/esp8266/etshal.h
+++ b/ports/esp8266/etshal.h
@@ -6,7 +6,7 @@
// see http://esp8266-re.foogod.com/wiki/Random_Number_Generator
#define WDEV_HWRNG ((volatile uint32_t*)0x3ff20e44)
-void ets_delay_us(uint16_t us);
+void ets_delay_us(uint32_t us);
void ets_intr_lock(void);
void ets_intr_unlock(void);
void ets_isr_mask(uint32_t mask);
Hi Any luck building version 3.0? I am also stucked trying to build it... Thanks
I just updated to ESP8266_NONOS_SDK-3.0 using:
Which I hope is correct, however now my build fails with:
Any suggestions on what the cause may be ?