• I'm trying to use Espruino on the ESP32 Heltec WiFI Kit 32 Board. But after flashing the board, the board keeps restarting, saying brownout detector was triggered.
    Usually when I plug the board in the console would show up and work, but after a few seconds, the brownout detector would get triggered and start boot looping.

    Here is a snippet of the serial console output:

    E (551) spiram: SPI RAM enabled but initialization failed. Bailing out.
    WARNING: check error not implemented yet:0
    
    
     ____                 _ 
    |  __|___ ___ ___ _ _|_|___ ___ 
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v10 (c) 2021 G.Williams
    
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    
    >console.log("hello") 
    hello
    =undefined
    >2+2
    =4
    >       
    Brownout detector was triggered
    
    ets Jun  8 2016 00:22:57
    
    rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
    configsip: 0, SPIWP:0xee
    clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
    mode:DIO, clock div:2
    load:0x3fff0018,len:4
    load:0x3fff001c,len:2668
    load:0x40078000,len:7304
    load:0x40080000,len:5312
    entry 0x40080274
    E (551) spiram: SPI RAM enabled but initialization failed. Bailing out.
    WARNING: check error not implemented yet:0
    
    
     ____                 _ 
    |  __|___ ___ ___ _ _|_|___ ___ 
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v10 (c) 2021 G.Williams
    
    Espruino is Open Source. Our work is supported
    only by sales of official boards and donations:
    http://espruino.com/Donate
    
    
    Brownout detector was triggered
    
    ets Jun  8 2016 00:22:57
    
    rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
    
    
    

    The thing is I never had this problem before. Previously, I was using Micropython and was able to run the OLED display and connect to a wifi network simultaneously with no power problems. What could be causing this?

About