mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-07 06:01:35 +03:00
NONOS SDK clean-up (#8770)
Remove nonos-sdk-v2.2.0-28-g89920dc aka 3v0, since we have a real v3 Remove 3.0.0...3.0.4 to reduce overhead in maintaining a bunch or binary patches Update our docs and menu opts to mention 'experimental' status Old versions still remains in git history, so anyone wanting to play around with 3.0.x could still make use of that work
This commit is contained in:
@ -648,7 +648,7 @@ extern "C" void user_init(void) {
|
||||
install_vm_exception_handler();
|
||||
#endif
|
||||
|
||||
#if defined(NON32XFER_HANDLER) || (defined(MMU_IRAM_HEAP) && (NONOSDK < (0x30000 - 1)))
|
||||
#if defined(NON32XFER_HANDLER) || (defined(MMU_IRAM_HEAP) && (NONOSDK < (0x30000)))
|
||||
install_non32xfer_exception_handler();
|
||||
#endif
|
||||
|
||||
|
@ -62,11 +62,11 @@ extern "C" {
|
||||
|
||||
#define EXCCAUSE_LOAD_STORE_ERROR 3 /* Non 32-bit read/write error */
|
||||
|
||||
#if (defined(NON32XFER_HANDLER) || defined(MMU_IRAM_HEAP)) && (NONOSDK < (0x30000 - 1))
|
||||
#if (defined(NON32XFER_HANDLER) || defined(MMU_IRAM_HEAP)) && (NONOSDK < (0x30000))
|
||||
static fn_c_exception_handler_t old_c_handler = NULL;
|
||||
#endif
|
||||
|
||||
#if defined(NON32XFER_HANDLER) || (defined(MMU_IRAM_HEAP) && (NONOSDK < (0x30000 - 1)))
|
||||
#if defined(NON32XFER_HANDLER) || (defined(MMU_IRAM_HEAP) && (NONOSDK < (0x30000)))
|
||||
static
|
||||
IRAM_ATTR void non32xfer_exception_handler(struct __exception_frame *ef, [[maybe_unused]] int cause)
|
||||
{
|
||||
@ -145,7 +145,7 @@ IRAM_ATTR void non32xfer_exception_handler(struct __exception_frame *ef, [[maybe
|
||||
} while(false);
|
||||
|
||||
/* Fail request, die */
|
||||
#if (NONOSDK < (0x30000 - 1))
|
||||
#if (NONOSDK < (0x30000))
|
||||
/*
|
||||
The old handler points to the SDK. Be alert for HWDT when Calling with
|
||||
INTLEVEL != 0. I cannot create it any more. I thought I saw this as a
|
||||
@ -170,9 +170,9 @@ IRAM_ATTR void non32xfer_exception_handler(struct __exception_frame *ef, [[maybe
|
||||
abort();
|
||||
#endif
|
||||
}
|
||||
#endif // #if defined(NON32XFER_HANDLER) || (defined(MMU_IRAM_HEAP) && (NONOSDK < (0x30000 - 1)))
|
||||
#endif // #if defined(NON32XFER_HANDLER) || (defined(MMU_IRAM_HEAP) && (NONOSDK < (0x30000)))
|
||||
|
||||
#if (defined(NON32XFER_HANDLER) || defined(MMU_IRAM_HEAP)) && (NONOSDK < (0x30000 - 1))
|
||||
#if (defined(NON32XFER_HANDLER) || defined(MMU_IRAM_HEAP)) && (NONOSDK < (0x30000))
|
||||
/*
|
||||
To operate reliably, this module requires the new
|
||||
`_xtos_set_exception_handler` from `exc-sethandler.cpp` and
|
||||
|
@ -42,7 +42,7 @@
|
||||
#include <user_interface.h> // need NONOSDK
|
||||
|
||||
#if defined(NON32XFER_HANDLER) || defined(MMU_IRAM_HEAP) || \
|
||||
defined(NEW_EXC_C_WRAPPER) || defined(MMU_EXTERNAL_HEAP) || (NONOSDK >= (0x30000 - 1))
|
||||
defined(NEW_EXC_C_WRAPPER) || defined(MMU_EXTERNAL_HEAP) || (NONOSDK >= (0x30000))
|
||||
|
||||
/*
|
||||
* The original module source code came from:
|
||||
|
@ -411,8 +411,6 @@ void IRAM_ATTR vPortFree(void *ptr, const char* file, int line)
|
||||
try IRAM.
|
||||
|
||||
WPA2 Enterprise connect crashing is fixed at v3.0.2 and up.
|
||||
|
||||
Not used for unreleased version NONOSDK3V0.
|
||||
*/
|
||||
#ifdef UMM_HEAP_IRAM
|
||||
void* IRAM_ATTR sdk3_pvPortMalloc(size_t size, const char* file, int line, bool iram)
|
||||
|
@ -16,25 +16,13 @@
|
||||
defined(NONOSDK22x_191124) || \
|
||||
defined(NONOSDK22x_190313) || \
|
||||
defined(NONOSDK221) || \
|
||||
defined(NONOSDK3V0) || \
|
||||
defined(NONOSDK300) || \
|
||||
defined(NONOSDK301) || \
|
||||
defined(NONOSDK302) || \
|
||||
defined(NONOSDK303) || \
|
||||
defined(NONOSDK304) || \
|
||||
defined(NONOSDK305)
|
||||
|
||||
// eap_peer_config_deinit() - For this list of SDKs there are no significant
|
||||
// changes in the function. Just the line number reference for when vPortFree
|
||||
// is called. When vPortFree is called, register a12 continues to hold a pointer
|
||||
// to the struct StateMachine. Our cleanup routine should continue to work.
|
||||
#if defined(NONOSDK300) || defined(NONOSDK301)
|
||||
// Minor changes only line number changed
|
||||
#define SDK_LEAK_LINE 809
|
||||
#elif defined(NONOSDK302) || defined(NONOSDK303) || defined(NONOSDK304)
|
||||
// Minor changes only line number changed
|
||||
#define SDK_LEAK_LINE 831
|
||||
#elif defined(NONOSDK305)
|
||||
#if defined(NONOSDK305)
|
||||
// At v3.0.5 Espressif moved `.text.eap_peer_config_deinit` to
|
||||
// `eap_peer_config_deinit` then later in latest git they moved it
|
||||
// back. For our linker script both are placed in flash.
|
||||
|
Reference in New Issue
Block a user