arduino-audio-tools
Loading...
Searching...
No Matches
avr.h
1#pragma once
2
3#define USE_SD_NO_NS
4#define USE_PWM
5#define USE_TIMER
6#define NO_INPLACE_INIT_SUPPORT
7#define USE_ETHERNET
8#define USE_URL_ARDUINO
9#ifndef assert
10# define assert(T)
11#endif
12
13#define PIN_PWM_START 6
14#define PIN_CS SS
15
16#undef PWM_BUFFER_SIZE
17#define PWM_BUFFER_SIZE 125
18
19#undef DEFAULT_BUFFER_SIZE
20#define DEFAULT_BUFFER_SIZE 125
21
22// logging is using too much memory
23#undef USE_AUDIO_LOGGING
24#undef LOG_PRINTF_BUFFER_SIZE
25#define LOG_PRINTF_BUFFER_SIZE 60
26#define NO_TRACED
27#define NO_TRACEI
28#define NO_TRACEE
29
30// we use spi to emulate i2s
31#define PIN_I2S_BCK 13
32#define PIN_I2S_WS 10
33#define PIN_I2S_DATA_IN 12
34#define PIN_I2S_DATA_OUT 11
35#define PIN_I2S_MUTE -1
36