Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    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
    but I guess EsspressIF woN#t support that
    won't
    tobozo
    @tobozo
    i've seen a modified esp8266sdk that does that
    grooves38
    @grooves38
    their focus is to support dual images
    from bootloader
    to have OTA support
    and they want to keep the bootloader generic, more or less
    tobozo
    @tobozo
    i've found the most elegant approach is the one from the odroid-go
    grooves38
    @grooves38
    hey cool, chess works now as well
    tobozo
    @tobozo
    in the psram ^^
    grooves38
    @grooves38
    yeah, but not every board has psram
    most of them don't have
    ok, guy, I have to go
    tobozo
    @tobozo
    and not every board with psram has working psram poke @jsdungeon
    grooves38
    @grooves38
    thanks again for you help
    :-)
    have a nice evening
    see u