Fork me on GitHub
#esprit
<
2020-08-10
>
kiranshila04:08:32

Ok, as far as I can tell - the binary format in the new versions of espruino is slightly different

kiranshila04:08:42

Instead of the size word, ffffffff, then .bootcde the new version wants the size word, .bootcde, zeros, then four words of zeros, then the code

kiranshila04:08:15

I wish I could find it in the IDE source, but thats just comparing the binaries read off device from saved programs from the two versions

kiranshila19:08:38

Also, I think I found why we couldn’t allocate more than 4M before, the menuconfig settings for the ESP32 was setup for 4M of flash. Changing that allowed me to build using their tools.

kiranshila19:08:12

Your board has 16M, so it could really be pushed! You could fit spec on there hahaha

kiranshila19:08:02

I’m talking to Mark Becker, one of the Espruino guys right now, trying to figure out a clean way of just increasing the flash.

mfikes19:08:03

Ahh, nice. Yeah, it feels like ClojureScript is pushing the boundaries of some of the targets that Espruino mainly caters to. But, it is worthwhile for them to build in that flexibility IMHO.

kiranshila19:08:31

Yeah for sure. However, a lot of the forum posts relate to people trying to figure out how to make their program smaller as they are running out of space. More JsVars seems like generally it would be better

kiranshila19:08:38

And the ESP32 is soooo cheap

kiranshila19:08:56

Even the beefiest ones

mfikes19:08:28

I suppose you could argue that much of what was done for Esprit (at least insofar as Espruino goes) is this sort of stuff (reconfiguring it to allow us to take advantage of the full WROVER, in a sense)

mfikes19:08:12

To be honest, it feels like this is the future, ultimately. (MicroPython is starting to be more and more serious.) In 5 to 10 years, why would you really want to program a MCU in C, unless you are manufacturing so many that the costs work out?

kiranshila19:08:51

Once I figure out this socket business, I plan on shipping a product with Esprit

kiranshila19:08:02

And the development process with live-coding is simply divine

mfikes19:08:15

I mean, back in the 80s when I was learning BASIC, I think those computers were less capable than these MCUs. 🙂

kiranshila19:08:08

Oh absolutely. I cut my teeth on an 6502 - still an amazing CPU imo haha