well after modifying
JsfFileName jsfNameFromString(const char *name) { jsiConsolePrintf("jsfNameFromString [%s]%d\n",name, strlen(name)); assert(strlen(name)<=8);
at boot I have :
ets Jun 8 2016 00:22:57 rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:2364 load:0x40078000,len:0 load:0x40078000,len:10880 entry 0x40078c4c jsfNameFromString [.varimg]7 jsfNameFromString [.bootcde]8 jsfNameFromString [.bootrst]8 jsfNameFromString [.boot0ý?]8 jsfNameFromString [.boot1ý?]8 jsfNameFromString [.boot2ý?]8 jsfNameFromString [.boot3ý?]8 jsfNameFromString [.bootrst]8 jsfNameFromString [.bootcde]8
and after reset() I have :
>reset() =undefined WARNING: Scan stop failed WARNING: set rssi scan not implemeted yet jsfNameFromString [.boot0ý?]9
so the problem is of '\0' not well placed
@jbgagnon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
well after modifying
at boot I have :
and after reset() I have :
so the problem is of '\0' not well placed