Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: 'configCAL_FACTOR' was not declared in this scope #65

Closed
matsujirushi opened this issue May 5, 2023 · 1 comment
Closed

error: 'configCAL_FACTOR' was not declared in this scope #65

matsujirushi opened this issue May 5, 2023 · 1 comment

Comments

@matsujirushi
Copy link

Compiling the wifi sample code gives an error.

Code:
https://wiki.seeedstudio.com/Wio-Terminal-Wi-Fi#scanning-wi-fi-network-example-code

Error message:

C:\Users\takashi\AppData\Local\arduino15\packages\Seeeduino\hardware\samd\1.8.4\libraries\Seeed_Arduino_FreeRTOS\src\error_hooks.cpp: In function 'void vNopDelayMS(long unsigned int)':
C:\Users\takashi\AppData\Local\arduino15\packages\Seeeduino\hardware\samd\1.8.4\libraries\Seeed_Arduino_FreeRTOS\src\error_hooks.cpp:187:39: error: 'configCAL_FACTOR' was not declared in this scope
   unsigned long iterations = millis * configCAL_FACTOR;
                                       ^~~~~~~~~~~~~~~~
C:\Users\takashi\AppData\Local\arduino15\packages\Seeeduino\hardware\samd\1.8.4\libraries\Seeed_Arduino_FreeRTOS\src\error_hooks.cpp:187:39: note: suggested alternative: 'configASSERT'
   unsigned long iterations = millis * configCAL_FACTOR;
                                       ^~~~~~~~~~~~~~~~
                                       configASSERT

Environment:

  • Windows 11 22H2
  • Arduino IDE 2.1.0
  • Seeed SAMD Boards by Seeed Studio 1.8.4

** Libraries:**

  • Seeed Arduino rpcWiFi 1.0.6 ... C:\Users\takashi\Documents\Arduino\libraries\Seeed_Arduino_rpcWiFi
  • Seeed Arduino rpcUnified 2.1.4 ... C:\Users\takashi\Documents\Arduino\libraries\Seeed_Arduino_rpcUnified
  • Seeed Arduino FreeRTOS 10.4.3 ... C:\Users\takashi\AppData\Local\arduino15\packages\Seeeduino\hardware\samd\1.8.4\libraries\Seeed_Arduino_FreeRTOS
  • Seeed Arduino FS 2.1.1 ... C:\Users\takashi\Documents\Arduino\libraries\Seeed_Arduino_FS
  • Seeed_Arduino_mbedtls 3.0.1 ... C:\Users\takashi\Documents\Arduino\libraries\Seeed_Arduino_mbedtls
  • SPI 1.0 ... \Users\takashi\AppData\Local\arduino15\packages\Seeeduino\hardware\samd\1.8.4\libraries\SPI
  • Adafruit Zero DMA Library 1.0.4... C:\Users\takashi\AppData\Local\arduino15\packages\Seeeduino\hardware\samd\1.8.4\libraries\Adafruit_ZeroDMA
@matsujirushi
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant