Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    tobozo
    @tobozo
    and also flash the M5
    grooves38
    @grooves38
    yes, yes, I did it and it start
    s
    tobozo
    @tobozo
    and probably re format the spiffs
    grooves38
    @grooves38
    wow
    it works
    that was easy :-)
    tobozo
    @tobozo
    I'm quite sure the beer was the most decisive part
    grooves38
    @grooves38
    probably, :-), I wanted to give up already
    thanks for your help
    great, is the project finished for you or more plans ?
    tobozo
    @tobozo
    if you think this library could work with esp-idf, feel free to advise
    I'm as lost with esp-idf as you are with Arduino ^^
    grooves38
    @grooves38
    that would be great, I feel much more at home there
    I can try to compile , I could at least implement a component, called arduino
    and can now uses LCD lib, inside native IDF
    tobozo
    @tobozo
    how does the idf cope with M5Stack.h libraries ?
    maybe merging with the m5 core could solve some issues ?
    grooves38
    @grooves38
    it is a component there,
    yes, there are two components, one is arduino the other is m5stack
    m5 stack uses the arduino
    and the native main, uses m5stack API
    just one thing you have to change, enable C++ ,
    tobozo
    @tobozo
    how different is it from the platformio way ?
    grooves38
    @grooves38
    normally all Espressif components are written in ANSI C
    very different, :-)
    it is based on make
    and shell scripts
    but that is the basement of all
    everything else is just a shell, like Arduino
    arduino just uses IDF components,
    tobozo
    @tobozo
    I'm not sure I uderstand all the implications, I guess I only scratched the surface of compilers
    grooves38
    @grooves38
    but if you want to control everything inside the Chip you need espressif IDF
    in particuliar bluetooth
    anyway. your app look very nice,
    tobozo
    @tobozo
    so what if I want this library (not the examples) to be compatible with Arduino, Platformio, esp-idf while keeping the same codebase
    grooves38
    @grooves38
    I will try to load my own apps via your loader
    hmmmm, good question
    might be via the arduino component in IDF
    I think that could work
    tobozo
    @tobozo
    Botofan Calin managed to load a huge set of apps https://github.com/botofancalin/M5Stack-MultiApp-Advanced and in an earlier version I could get the sd-updater to work with his app even though he's shrunk the spiffs to its mininum
    actually the spiffs region only needs 380k free for the loader to work
    grooves38
    @grooves38
    yeah, I saw that as well, and tried it
    looks also very nice, but the apps are all embedded, not loaded from SD
    so you are limited by internal flash
    your approach is better I think
    tobozo
    @tobozo
    it should be in the ESP bootloader
    like the gamebuino
    grooves38
    @grooves38
    but sure, to load his app via your loader would be great as well
    I see