Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Ajb2k3
    @Ajb2k3
    @tobozo thanks
    Ajb2k3
    @Ajb2k3
    @mamuesp thank you.
    @stonemull I'm so glad I looked back over the messages and I didn't know that about the batterys.
    xbary
    @xbary
    @tobozo I think I've found the reason for random readings from PSRAM
    tobozo
    @tobozo
    @xbary nice ! this would enable capturing display at high fps
    is that a design problem as highlighted on the neonious-basics blog ?
    Here describes my problem ^
    tobozo
    @tobozo
    sounds like you're reading free psram before calling psraminit()
    xbary
    @xbary
    this symptom was already after some unspecified working time of the application
    Xtinci0n
    @Xtinci0n
    Thanks
    Ajb2k3
    @Ajb2k3
    Managed to get the M5stack to reset after it ran out of memory. just told it continually to square a variable after 3 lines of numbers it reset.
    tobozo
    @tobozo
    running out of memory so fast ? memory leak in the code ^_^
    tobozo
    @tobozo
    @xbary storing a String in psram can be done as char*
    char* stringToPSram( const char* str ) {
      char *blah = NULL;
      blah = (char*)ps_malloc( strlen( str )*sizeof(char));
      memcpy ( blah, str, strlen(str) );
      return blah;
    }
    char* myStringInPsram = stringToPSram(" blah ");
    String myString = " bee bop bidibop ";
    char* myOtherStringInPsram = stringToPSram( myString.c_str() );
    I did it so far ...
    For processing, the application uses StringPSRAM.
    xbary
    @xbary
    I just observed a bug related to PSRAM ... every now and then it appears in a place where it should not be. :(
    xbary
    @xbary
    It's nice if someone could check on your application by replacing String class with StringPSRAM class. Only where there is a need for temporary storage and text processing.
    Tevin
    @tevin_zhang_twitter
    N88-BASIC running on M5Stack with support of UART and LCD screen? Anyone knows how it works? https://www.youtube.com/watch?v=kMFYnvYmt7w
    tobozo
    @tobozo
    probably using micropython ? there's a 'hidden' BASIC interpreter in every ESP32 but you can't use the LCD from there so it's more likely an emulation
    Ajb2k3
    @Ajb2k3
    Wouldn't know how to check for memory leak
    tobozo
    @tobozo
    hey M5Stack fans :-) I'll soon be releasing source code for hosting M5Stack apps registry and it'll be open to contribution, anyone willing to collaborate ?
    image.png
    tobozo
    @tobozo
    neat ! do I need vscode to compile with aws-idf ?
    chegewara
    @chegewara
    No