Skip to content

Commit 855b6e9

Browse files
add missing board to fix compilation
1 parent c46c13f commit 855b6e9

File tree

2 files changed

+76
-0
lines changed

2 files changed

+76
-0
lines changed

src/boards/board_ml_synth_v2.h

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
/*
2+
* Copyright (c) 2024 Marcel Licence
3+
*
4+
* This program is free software: you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License as published by
6+
* the Free Software Foundation, either version 3 of the License, or
7+
* (at your option) any later version.
8+
*
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
16+
*
17+
* Dieses Programm ist Freie Software: Sie können es unter den Bedingungen
18+
* der GNU General Public License, wie von der Free Software Foundation,
19+
* Version 3 der Lizenz oder (nach Ihrer Wahl) jeder neueren
20+
* veröffentlichten Version, weiter verteilen und/oder modifizieren.
21+
*
22+
* Dieses Programm wird in der Hoffnung bereitgestellt, dass es nützlich sein wird, jedoch
23+
* OHNE JEDE GEWÄHR,; sogar ohne die implizite
24+
* Gewähr der MARKTFÄHIGKEIT oder EIGNUNG FÜR EINEN BESTIMMTEN ZWECK.
25+
* Siehe die GNU General Public License für weitere Einzelheiten.
26+
*
27+
* Sie sollten eine Kopie der GNU General Public License zusammen mit diesem
28+
* Programm erhalten haben. Wenn nicht, siehe <https://www.gnu.org/licenses/>.
29+
*/
30+
31+
/**
32+
* @file board_ml_synth_v2.h
33+
* @author Marcel Licence
34+
* @date 23.06.2023
35+
*
36+
* @brief Board description for my custom PCB
37+
*/
38+
39+
40+
#ifndef BOARDS_BOARD_ML_SYNTH_V2_H_
41+
#define BOARDS_BOARD_ML_SYNTH_V2_H_
42+
43+
44+
/*
45+
* MIDI In/Out
46+
*/
47+
#define MIDI_PORT2_ACTIVE
48+
#define MIDI_RX2_PIN 34
49+
#define MIDI_TX2_PIN 33
50+
51+
/*
52+
* SD/MMC
53+
*/
54+
#define SD_MMC_ENABLED
55+
56+
/*
57+
* I2S Audio In/Out
58+
*/
59+
#define I2S_BCLK_PIN 32
60+
#define I2S_WCLK_PIN 25
61+
#define I2S_DOUT_PIN 26 /* connected to SDIN of audio codec */
62+
#define I2S_DIN_PIN 35 /* connected to SDOUT of audio codec */
63+
64+
/*
65+
* I2C
66+
*/
67+
#define I2C_ENABLED
68+
#define I2C_SDA 21
69+
#define I2C_SCL 22
70+
71+
72+
#endif /* BOARDS_BOARD_ML_SYNTH_V2_H_ */
73+

src/ml_boards.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@
3939

4040
#ifdef BOARD_ML_V1
4141
#include "./boards/board_ml_v1.h"
42+
#elif (defined BOARD_ML_SYNTH_V2)
43+
#include <boards/board_ml_synth_v2.h>
4244
#elif (defined BOARD_ESP32_AUDIO_KIT_AC101)
4345
#include "./boards/board_audio_kit_ac101.h"
4446
#elif (defined BOARD_ESP32_AUDIO_KIT_ES8388)
@@ -56,3 +58,4 @@
5658
#else
5759
/* no include here */
5860
#endif
61+

0 commit comments

Comments
 (0)