106// TODO: add an exception for MOZZI_OUTPUT_EXTERNAL_CUSTOM
107#error Your hardware is not supported by Mozzi or not recognized. Edit hardware_defines.h to proceed.
108#endif
109
110// Hardware detail defines
111#if IS_STM32MAPLE()
112#define NUM_ANALOG_INPUTS 16 // probably wrong, but mostly needed to allocate an array of readings
113#elif IS_ESP8266()
114#define NUM_ANALOG_INPUTS 1
115#endif
116
117#if IS_ESP8266() || IS_ESP32()
118#define CACHED_FUNCTION_ATTR IRAM_ATTR
119#else
120#define CACHED_FUNCTION_ATTR
121#endif
122
123#if IS_STM32MAPLE()
124// This is a little silly, but with Arduino 1.8.13, including this header inside MozziGuts.cpp does not work (fails to detect the proper include path).
125// Putting it here, instead, seem to work.
126#include <STM32ADC.h>
127#endif
128
129#endif /* HARDWARE_DEFINES_H_ */
Generated automatically using Doxygen. If info on this page is outdated, incomplete, or wrong, please open an issue at https://github.com/sensorium/Mozzi/issues