Actual status of port for ESP32 #6882
Replies: 1 comment
-
Posted at 2016-12-14 by @allObjects @jumjum and @Kolban, a great great thanks for all the bit-sweat you put into this ESP32 thing... From what I hear is that the platform is still quite fare from baked - less from prime time. I'm surprised about the high demand of the device despite this fact. Good to hear though that building is extremely simple... (for the ones that already 'suffered' through the growing pain of setup...). Posted at 2016-12-15 by @gfwilliams This sounds great! Have you managed to get a proper interrupt/timer based That would enable a whole bunch of things, like waveforms and software PWM Posted at 2016-12-15 by JumJum UtilTimer, hmm not available yet. Posted at 2016-12-15 by @gfwilliams Pretty much: The time value given to jshUtilTimerStart depends on the platform though. See jshGetMillisecondsFromTime to figure out what the number actually represents. You can call the IRQ handler at a time less than the 64 bit value, so if your timer can't go up that far (which is likely) just call it after the max time period it can handle. The point is that the IRQ handler should run in an IRQ, so potentially over the top of JS code that is executing Posted at 2016-12-15 by Wilberforce Couple of corrections... The spi Neil added were just stubs, I have fleshed them out properly, and tried to get working with a Nokia display - no success yet, but getting close. The i2c is working - I have tested writing 8 bit to an i2c display - I've got output, but input has not been tested. An i2c scan does not work properly. One wire should work but doesn't yet. I'm not sure if interupts are the issue- I've tried to disable them, but not working yet. It could be related to the timings- I've got a few things to try yet. I don't have anything to measure the logic levels - using a led I can see it is on faintly which suggests the pin is toggling state. Gpio is now working for all pins, and a setwatch on the inbuilt flash button is working. The telnet sources compile - and it appears to listen on the port - but no input or output. Websockets are working, the crypto sources all compile, but https is not working yet. Might need @gfwilliams s help to debug when he is less busy! Posted at 2016-12-15 by Wilberforce Oh - and dump() outputs and then crashes, and we have a few odd messages about sockets at start up. The wifi save() state is also working, so you can connect to an access point, save, and it will come back up and join on reboot. Posted at 2016-12-15 by Wilberforce @gfwilliams Posted at 2016-12-15 by Wilberforce When would be a good time to bring into the main branch? I do plan to get the Travis build working, but for that I think ESP-idf stuff might have to stabilise otherwise we'll be chasing changes all the time... Posted at 2017-02-20 by Phando Currently I am using the web IDE and an ESP32. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-12-14 by JumJum
Christmas time is comin soon.
That's a good time to report actual status of Espruino on ESP32.
No drivers are available for I2C and SPI in esp-idf yet.
Therefore we have to live with Arduino sources right now.
Esp-idf is under heavy construction.
Sometimes even a simple call of a function changes its parameter sequence.
Actual status of Espruino for ESP32 is
Beta Was this translation helpful? Give feedback.
All reactions