Fork me on GitHub
#esprit
<
2020-08-11
>
kiranshila00:08:45

Alright, found more problems

kiranshila00:08:59

The version of the ESP32-IDF doesn't support partitions bigger than 3MB

kiranshila00:08:35

It worrkrkksss!

kiranshila00:08:10

Ok, I have the most recent version of Espruino compiling correctly with a 3MB flash partition AND with CLJS running

kiranshila00:08:25

But it seems as though the time/socket thing is still broken somehow

kiranshila00:08:17

so updating it didn't seem to fix it

kiranshila00:08:35

wait the repl doesn't work now

kiranshila00:08:36

ASSERT(jsvGetLocks(var) < 15) FAILED AT src/jsvar.c:708
  #1[r8,l2] Object { 
    #2[r1,l2] ASSERT(jsvGetLocks(var) < 15) FAILED AT src/jsvar.c:688
HALTING.

kiranshila00:08:43

who knows what that means

kiranshila01:08:45

Alright its something wrong on our side

kiranshila01:08:00

Uploading cljs breaks things haha

Paco03:08:02

I was thinking about doing something with a led matrix display but the stuff I see out there seems to need a bunch more io. I do not know much about this subject. Can ya'll recommend some reading material on what this gpio stuff means>?

mfikes03:08:13

Conceptually, it's pretty simple: For a given "line" / "pin" you can set it to be an output and then cause its voltage to be either low (0 V) or high (3.3 V), or, alternatively, you can set it to be an input and read its value (typically you get back just whether it is being driven externally to a low or high voltage).

mfikes03:08:40

There are more sophisticated higher level protocols, like SPI or I2C which can be used to "talk" with a device connected on several lines.

Paco04:08:30

I see so I wouldnt be able to drive something like https://github.com/2dom/PxMatrix with this particular board, correct?

Paco04:08:45

clojure or not.

kiranshila13:08:45

Also, I got everything working on the upgraded flash partition size of 3MB. Set timeout, get requests, etc. Date() still doesn’t work for me, but I think it’s an espruino problem. That last weird error was building from master, this working build was from the latest release. I’ll post a gist of the steps.

mfikes13:08:34

@kidpollo It looks like many of those matrix boards use quite a few GPIOs. If you are using a conventional WROVER dev board, I bet you could do it. If you are using the Esprit board, these 6 GPIOs are broken out along the top right edge: GPIO19, GPIO18, GPIO5, GPIO4, GPIO2, GPIO15

kiranshila13:08:18

Also saving wifi credentials works

kiranshila14:08:10

Oh I see, but not after rewriting flash