Skip to content

1.1.0 for ESP32 Arduino Core 2.0

Compare
Choose a tag to compare
@tobozo tobozo released this 09 Sep 23:16
· 323 commits to master since this release
6dbb386

Support added for:

  • ESP32 Arduino Core 2.0
  • LovyanGFX/M5GFX shared syntax
  • LittleFS/PSRamFS
  • SDUpdater configuration
  • Fixed M5StikC

New Features:

  • saveSketchToFS(): copy sketch from flash to filesystem
  • #define SDU_APP_NAME to customize lobby screen
  • #define SDU_HEADLESS to use serial as action source for update
  • Early callback setters:
  SDUCfg.setProgressCb  ( myProgress );         // void (*onProgress)( int state, int size )
  SDUCfg.setMessageCb   ( myDrawMsg );          // void (*onMessage)( const String& label )
  SDUCfg.setErrorCb     ( myErrorMsg );         // void (*onError)( const String& message, unsigned long delay )
  SDUCfg.setBeforeCb    ( myBeforeCb );         // void (*onBefore)()
  SDUCfg.setAfterCb     ( myAfterCb );          // void (*onAfter)()
  SDUCfg.setSplashPageCb( myDrawSplashPage );   // void (*onSplashPage)( const char* msg )
  SDUCfg.setButtonDrawCb( myDrawPushButton );   // void (*onButtonDraw)( const char* label, uint8_t position, uint16_t outlinecolor, uint16_t fillcolor, uint16_t textcolor )
  SDUCfg.setWaitForActionCb( myActionTrigger ); // int  (*onWaitForAction)( char* labelLoad, char* labelSkip, unsigned long waitdelay )

Breaking changes:

  • checkSDUpdater()'s first argument (fs::FS) is now mandatory
  • Filesystem libraries must be #included prior to M5StackUpdater.h

Examples:

  • Headless: demo with no buttons and display, uses serial
  • CopySketchToFS: demo for the new saveSketchToFS() feature
  • M5Stack-SD-Menu: disabled downloader on non-psram builds