Skip to content

Using the Framework w o Arduino

Phil Schatzmann edited this page Sep 21, 2022 · 39 revisions

I created an experimental feature whichs support the use of this framework w/o the Arduino API. So you can use it w.g. in a STM32 Cube IDE for STM32 programs.

Just compile your program after adding this library e.g. with the help of cmake and make sure that the preprocessor variable ARDUINO is not defined!

The linker will notifiy you about the missing methods that you need to implement: They are declared in AudioLibs/NoArduino.h. Most likely you just need to provide:

  • delay() - pause in milliseconds
  • HardwareSerial:: write(const uint8_t *buffer, size_t size) - for the output of the logger
  • millis() - milliseconds since start
Clone this wiki locally