You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a little example of trying to compile v7 with Arduino here Arduinov7.zip
In order to get this to compile I had to add the lib_a-putc.o and lib_a-putc_u.o symbols from the feature/libc branch. This gave me _putc_r implementation, but there's still something else going wrong here. In theory this issue may be more related to v7 than the Arduino port here, but they manage to compile it for ESP8266 under the RTOS SDK, but it should be feasible to get it working under Arduino too. I've got a similar ticket open on the v7 github cesanta/v7#550
Decoding 12 results
0x4021d69e: memset at ?? line ?
0x40100711: calloc at E:\Users\Ben\Documents\Arduino\hardware\esp8266com\esp8266\cores\esp8266\umm_malloc/umm_malloc.c line 1682
0x4020135c: gc_new_block at E:\Temp\build93b5748ed8fde4d231b4b4b5930427cd.tmp\sketch/v7.c line 13957
0x4020f25f: gc_arena_init at E:\Temp\build93b5748ed8fde4d231b4b4b5930427cd.tmp\sketch/v7.c line 13957
: (inlined by) v7_create_opt at E:\Temp\build93b5748ed8fde4d231b4b4b5930427cd.tmp\sketch/v7.c line 14075
0x401006e4: malloc at E:\Users\Ben\Documents\Arduino\hardware\esp8266com\esp8266\cores\esp8266\umm_malloc/umm_malloc.c line 1662
0x402147e8: Print::write(unsigned char const*, unsigned int) at E:\Users\Ben\Documents\Arduino\hardware\esp8266com\esp8266\cores\esp8266/Print.cpp line 38
0x40213fcd: Print::write(char const*) at E:\Users\Ben\Documents\Arduino\hardware\esp8266com\esp8266\cores\esp8266/Print.cpp line 188
0x4020fa75: v7_create at E:\Temp\build93b5748ed8fde4d231b4b4b5930427cd.tmp\sketch/v7.c line 13957
0x4021401c: Print::println(char const*) at E:\Users\Ben\Documents\Arduino\hardware\esp8266com\esp8266\cores\esp8266/Print.cpp line 188
0x40213689: setup at E:\Workspace\ArduinoV7/ArduinoV7.ino line 36
0x40214650: loop_wrapper at E:\Users\Ben\Documents\Arduino\hardware\esp8266com\esp8266\cores\esp8266/core_esp8266_main.cpp line 43
0x40100964: cont_norm at E:\Users\Ben\Documents\Arduino\hardware\esp8266com\esp8266\cores\esp8266/cont.S line 109
Indeed, this is an issue for the v7 repo, because it is essentially a request to have the engine support the ESP8266 NONOS-based build system. In addition to actually getting the code to build, porting the engine may require internal code modifications, like adding calls to yield() due to timing constraints, which escapes the scope of this repo.
Closing.
There's a little example of trying to compile v7 with Arduino here Arduinov7.zip
In order to get this to compile I had to add the lib_a-putc.o and lib_a-putc_u.o symbols from the feature/libc branch. This gave me _putc_r implementation, but there's still something else going wrong here. In theory this issue may be more related to v7 than the Arduino port here, but they manage to compile it for ESP8266 under the RTOS SDK, but it should be feasible to get it working under Arduino too. I've got a similar ticket open on the v7 github cesanta/v7#550
Here's the stack trace:
Here's the output from the ESP exception parser:
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: