#define STM32_NUCLEO // so that settings.h works for all boards
#define SMALL_MEMORY
#include "utils.h"

// Either: For using the C exercises, define this macro
// or: For using the Cpp exercises, uncomment this macro
#define C_BEISPIELE

#ifdef C_BEISPIELE
  #include "c-exercises.h"
  namespace N_Beispiele=N_C_Beispiele;
#else
  #include "cpp-exercises.h"
  namespace N_Beispiele=N_Cpp_Beispiele;
#endif

void setup() 
{
  Serial.println("STM32 circuit for Embedded C++ (www.rkaiser.de)");
  N_Beispiele::setup();
}

void loop()
{
  N_Beispiele::loop();
}
Loading
st-nucleo-c031c6