File tree 4 files changed +14
-5
lines changed 4 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 154
154
Correctly handle parsing of template literals inside template literals
155
155
Don't store command history if echo=off (eg for Web IDE/App Loader uploads)
156
156
E.defrag now kicks the watchdog (on Bangle.js 2 it can take long enough that the watchdog fires)
157
+ ESP32: Fix reset() causing meditation error (ref #1777)
157
158
158
159
2v14 : Bangle.js2: Fix issue with E.showMenu creating a global `s` variable
159
160
Bangle.js2: Recheck string wrapping after font change inside E.showMenu
Original file line number Diff line number Diff line change @@ -2,8 +2,10 @@ ESP_ZIP = $(PROJ_NAME).tgz
2
2
3
3
COMPORT? =/dev/ttyUSB0
4
4
5
- $(PROJ_NAME ) .bin : $(OBJS )
5
+ $(PROJ_NAME ) .elf : $(OBJS )
6
6
$(LD ) $(LDFLAGS ) -o $(PROJ_NAME ) .elf -Wl,--start-group $(LIBS ) $(OBJS ) -Wl,--end-group
7
+
8
+ $(PROJ_NAME ) .bin : $(PROJ_NAME ) .elf
7
9
python $(ESP_IDF_PATH ) /components/esptool_py/esptool/esptool.py \
8
10
--chip esp32 \
9
11
elf2image \
@@ -12,6 +14,9 @@ $(PROJ_NAME).bin: $(OBJS)
12
14
-o $(PROJ_NAME ) .bin \
13
15
$(PROJ_NAME ) .elf
14
16
17
+ $(PROJ_NAME ) .lst : $(PROJ_NAME ) .elf
18
+ $(OBJDUMP ) -d -l -x $(PROJ_NAME ) .elf > $(PROJ_NAME ) .lst
19
+
15
20
$(ESP_ZIP ) : $(PROJ_NAME ) .bin
16
21
$(Q ) rm -rf $(PROJ_NAME )
17
22
$(Q ) mkdir -p $(PROJ_NAME )
Original file line number Diff line number Diff line change @@ -2236,10 +2236,11 @@ void jsiIdle() {
2236
2236
JsiStatus s = jsiStatus ;
2237
2237
if ((s & JSIS_TODO_RESET ) == JSIS_TODO_RESET ) {
2238
2238
// shut down everything and start up again
2239
+ unsigned int oldJsVarsSize = jsVarsSize ; // we must remember the old vars size - mainly for ESP32 where it can change
2239
2240
jsiKill ();
2240
2241
jsvKill ();
2241
2242
jshReset ();
2242
- jsvInit (0 );
2243
+ jsvInit (oldJsVarsSize );
2243
2244
jsiSemiInit (false, NULL /* no filename */ ); // don't autoload
2244
2245
jsiStatus &= (JsiStatus )~JSIS_TODO_RESET ;
2245
2246
}
Original file line number Diff line number Diff line change @@ -789,9 +789,11 @@ void jsvFree(void *ptr);
789
789
} \
790
790
}
791
791
792
- #endif /* JSVAR_H_ */
793
-
794
- #if defined(JSVAR_MALLOC ) && defined(ESPR_EMBED )
792
+ #if defined(JSVAR_MALLOC )
795
793
extern unsigned int jsVarsSize ;
796
794
extern JsVar * jsVars ;
797
795
#endif
796
+
797
+ #endif /* JSVAR_H_ */
798
+
799
+
You can’t perform that action at this time.
0 commit comments