mirror of https://github.com/arendst/Tasmota.git
Fix StackThunk size for USE_MQTT_AWS_IOT_LIGHT
This commit is contained in:
parent
c64f6c326f
commit
6834e5f72a
|
@ -41,7 +41,7 @@ uint32_t *stack_thunk_light_save = NULL; /* Saved A1 while in BearSSL */
|
||||||
uint32_t stack_thunk_light_refcnt = 0;
|
uint32_t stack_thunk_light_refcnt = 0;
|
||||||
|
|
||||||
//#define _stackSize (5600/4)
|
//#define _stackSize (5600/4)
|
||||||
#if defined(USE_MQTT_AWS_IOT) || defined(USE_MQTT_AZURE_IOT)
|
#if defined(USE_MQTT_AWS_IOT) || defined(USE_MQTT_AWS_IOT_LIGHT) || defined(USE_MQTT_AZURE_IOT)
|
||||||
#define _stackSize (5300/4) // using a light version of bearssl we can save 300 bytes
|
#define _stackSize (5300/4) // using a light version of bearssl we can save 300 bytes
|
||||||
#elif defined(USE_MQTT_TLS_FORCE_EC_CIPHER) || defined(USE_4K_RSA)
|
#elif defined(USE_MQTT_TLS_FORCE_EC_CIPHER) || defined(USE_4K_RSA)
|
||||||
#define _stackSize (4800/4) // no private key, we can reduce a little, max observed 4300
|
#define _stackSize (4800/4) // no private key, we can reduce a little, max observed 4300
|
||||||
|
|
Loading…
Reference in New Issue