114// TODO: add an exception for MOZZI_OUTPUT_EXTERNAL_CUSTOM
115#error Your hardware is not supported by Mozzi or not recognized. Edit hardware_defines.h to proceed.
116#endif
117
118// Hardware detail defines
119#if IS_STM32MAPLE()
120#define NUM_ANALOG_INPUTS 16 // probably wrong, but mostly needed to allocate an array of readings
121#elif IS_ESP8266()
122#define NUM_ANALOG_INPUTS 1
123#endif
124
125#if IS_ESP8266() || IS_ESP32()
126#define CACHED_FUNCTION_ATTR IRAM_ATTR
127#else
128#define CACHED_FUNCTION_ATTR
129#endif
130
131#if IS_STM32MAPLE()
132// 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).
133// Putting it here, instead, seem to work.
134#include <STM32ADC.h>
135#endif
136
137#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