Moved pin config into seperate config file
This commit is contained in:
9
software/main/include/config.h
Normal file
9
software/main/include/config.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "hal/gpio_types.h"
|
||||
|
||||
#define I2S_PIN_BCK GPIO_NUM_26
|
||||
#define I2S_PIN_WS GPIO_NUM_25
|
||||
#define I2S_PIN_DATA GPIO_NUM_33
|
||||
#define TWAI_PIN_CTX GPIO_NUM_5
|
||||
#define TWAI_PIN_CRX GPIO_NUM_19
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#define WAV_PLAY_HELPER(str) #str
|
||||
#define WAV_PLAY(NAME) {\
|
||||
extern const uint8_t _binary_ ## NAME ## _wav_start[]; \
|
||||
extern const uint8_t _binary_ ## NAME ## _wav_end[]; \
|
||||
|
||||
Reference in New Issue
Block a user