Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    EuphoricPenguin
    @EuphoricPenguin
    The 512Kb image doesn't have the graphics class, so I'd have to rebuild and throw out some of the other stuff...
    uDude
    @uDude
    I use some esp-01 black (1 MB) since there quite a few gizmos with a plug for it. I build my own nodemcu lua with the subset of modules I need. Reading the varikus notes, comments, readmes, ... was my friend.
    I also ordered a group of q32 (32Mb/4MB) flash chips that I solder onto the 01-black whwn needed. Only downside is wifi range.
    uDude
    @uDude
    Sorry, meant javascript. I use both :).
    EuphoricPenguin
    @EuphoricPenguin
    According to someone on stack, JavaScript has a few differences to the ECMAScript standard... Idk, I thought it was a full implementation...
    Who knows. Anyways, isn't this technically ECMAScript?
    There's no way the full Chrome engine would run on here.
    Damian Montero
    @thedamian
    @EuphoricPenguin I can tell you both the NodeMCU Lua and the D1 Mini can specifically handle the large 4m image, and have 20 of each that used it at the last NodeBotDays.
    You're just having trouble flashing the image correctly. If you go to the form we can help you with that.
    A month ago I posted an post on the form specifically on how to do it.
    http://forum.espruino.com/conversations/337674/#comment14873571
    EuphoricPenguin
    @EuphoricPenguin
    @thedamian I use the Windows Node Flasher.
    Idk, wish you guys had an active sub.
    Dedicated forums are kinda annoying.
    Tristan
    @parasquid
    Sorry if I'm late to the party, but I just flashed a D1 mini using the instructions on that forum post @thedamian and it worked beautifully :)
    Tristan
    @parasquid
    Heya, I have a question: is there some way to memory map a byte stream into a js object? The sensor I'm using communicates via Serial and sends a 32 byte stream per second. I'd like to memory map this into something I can then use later on (maybe write to sd card or send over wifi). I am already able to read in and parse the byte stream, just asking if there's something more efficient.
    oh wait i just realized there's this: https://www.espruino.com/Reference#ArrayBuffer
    might be able to use this. thanks! :)
    EuphoricPenguin
    @EuphoricPenguin
    Was going to say, arraybuffer.
    Pedro Casaubon
    @xperiments
    Hi, I have an ESP32, I formated the ota_2 partition with
    E.flashFatFS({ addr :0x200000, sectors :512, format : true });
    Dow you know if we can do this?
    Any way to check that now fs FAT is 2mb?
    Working in a small footprint webserver with an "API" like express
    Tim Caswell
    @creationix
    Should the graphics module work on 4MB esp8266 chips(D1 mini pro in particular)? I keep getting runtime memory errors when trying to use one of the LCD drivers.
    I've got a dev kit that has one of these connected to the D1 mini pro https://www.espruino.com/ILI9341
    The kit was designed to be used with arduino and runs fine there. So the hardware works, I'm just wondering if everyone has issues actually using graphics on the esp8266 chips
    John Lombardo
    @programbo
    I couldn’t get mine working. Was going to try on ESP32 at some point to see if it’s me or the board.
    Tim Caswell
    @creationix
    I've got a couple of those, I should try that
    John Lombardo
    @programbo
    I usually bet against me when it’s microcontrollers 😉
    I just ordered another ESP32 with built in LCD because of the 11/11 sale. I wonder if I’ll ever get a chance to play with it.
    rain6851
    @rain6851
    hell0
    I can't use AFL to test Espruino
    Ákos Lukács
    @AkosLukacs
    What is AFL?
    rain6851
    @rain6851
    fanoush
    @fanoush
    There is no security in espruino, you can crash it in many ways, there is e.g. peek and poke commands to access any memory including HW registers or javasript variables. There is also inline C compiler so if you are not able to shoot yourself in the foot with stuff available in javascript you can do it in C or ARM assembly. So what types of vulnerabilities are you trying to find? The console is available remotely and you can password protect it or disable it.
    fanoush
    @fanoush
    The bluetooth stack is binary blob from Nordic, if you would find bugs in that to run your payload remotely that would be nice (I would love to gain access to some of my fitness trackers with signed firmware) but that is mostly not related to espruino.
    rain6851
    @rain6851
    @fanoush Are you the author of espruino?
    fanoush
    @fanoush
    Just recently I flashed too limited version of espruino without access to Flash or Storage module (to overwrite flash memory) and also E.nativeCall was not there to run my custom binary code so I created javascript function and redirected it via poke to other 'random' binary code in espruino binary to overwrite flash and start bootloader to recover and flash better version.
    rain6851
    @rain6851
    You should report it to the author .
    fanoush
    @fanoush
    No, I am not the author. Check https://www.espruino.com/ or github
    rain6851
    @rain6851
    Have you ever test it with AFL?
    fanoush
    @fanoush
    It is intentional that you are allowed to do everything when writing your javascript code. I guess you don't understand what Espruino is.
    rain6851
    @rain6851
    I want to test it with AFL through feed it with many javascript code
    fanoush
    @fanoush
    yes, just do whatever you wish, finding bugs in javascript engine is definitely good
    rain6851
    @rain6851
    currently , i face the problem to run it under AFL
    matrixbot
    @matrixbot
    ildar @fanoush ! You used to rev.eng. a fitness tracker, right?
    ildar I'm going to do the same, can you answer a couple of questions?
    fanoush
    @fanoush
    yes, we have different lobby for that here
    matrixbot
    @matrixbot
    ildar ah!!
    ildar ok
    ildar 1 sec
    ildar ))