Viewing 4 reply threads
  • Author
    Posts
    • #8303
      Thorsten SchmeiserThorsten
      Participant

      Hi,

      kann jemand was mit dem Fehler anfangen ?:
      Kommt wenn ich den Upload mit dem Seeed Xiao esp32-S3 machen will…

      Compiling .pio\build\seeed_xiao_esp32s3\FrameworkArduino\FunctionalInterrupt.cpp.o
      lib/MController/MCChannelController.cpp: In member function ‘bool MCChannelController::UpdateCurrentPwrPerc()’:
      lib/MController/MCChannelController.cpp:126:36: error: ‘DRIVERTASKDELAY’ was not declared in this scope
      int16_t correctedStp = (pwrStep * DRIVERTASKDELAY) / 250;
      ^~~~~~~~~~~~~~~
      lib/MController/MCChannelController.cpp:126:36: note: suggested alternative: ‘traceTASK_DELAY’
      int16_t correctedStp = (pwrStep * DRIVERTASKDELAY) / 250;
      ^~~~~~~~~~~~~~~
      traceTASK_DELAY
      *** [.pio\build\seeed_xiao_esp32s3\lib5cf\MController\MCChannelController.cpp.o] Error 1
      =================================== [FAILED] Took 18.03 seconds ===================================

      Environment Status Duration
      —————— ——– ————
      seeed_xiao_esp32s3 FAILED 00:00:18.032
      ============================== 1 failed, 0 succeeded in 00:00:18.032 ==============================

    • #8304
      Joos BuijsJoos Buijs
      Keymaster

      Hi Thorsten,

      This is a known issue, I encountered this myself last night (see https://github.com/Mattzobricks/MattzoControllers/issues/141), it should be fixed as of yesterday evening (thanks @Hilbert!).

      You can also fix this by setting the DRIVERTASKDELAY variable, refer to my_platformio.ini.example and add this to your my_platformio.ini.

      Hope this helps!

    • #8305
      Thorsten SchmeiserThorsten
      Participant

      wie mache ich das ?

    • #8306
      Matthias RunteMatthias Runte
      Keymaster

      Thorsten, vielen Dank für diesen hilfreichen Report.

      Hier ist eine Prozedur, die helfen sollte:
      – my_platformio.ini neu mit der Beispieldatei my_platformio.ini.example überschreiben (vorher Backup falls dort etwas wichtiges drin stand).
      – Das Semikolon vor “DRIVERTASKDELAY” entfernen.
      – Das platform ui Projekt neu auswählen (in der Toolbar unten auf “env:…” klicken.

      Dann sollte es funktionieren.

      Wir werden das mit V1.2.1 und nachfolgend abmildern. Die genannte Anpassung wird dann nicht mehr notwendig sein.

    • #8307
      Thorsten SchmeiserThorsten
      Participant

      Danke dir 🙂

Viewing 4 reply threads
  • You must be logged in to reply to this topic.