added missing daisy seed examples
This commit is contained in:
parent
faa17613f4
commit
3e15f95284
7
examples/fx_comp/daisy-seed/Makefile
Normal file
7
examples/fx_comp/daisy-seed/Makefile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
|
||||||
|
|
||||||
|
TARGET = bw_example_fx_comp
|
||||||
|
|
||||||
|
C_SOURCES += ${ROOT_DIR}/../src/bw_example_fx_comp.c
|
||||||
|
|
||||||
|
include ${ROOT_DIR}/../../common/daisy-seed/daisy-seed.mk
|
39
examples/fx_comp/daisy-seed/config_daisy_seed.h
Normal file
39
examples/fx_comp/daisy-seed/config_daisy_seed.h
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
/*
|
||||||
|
* Brickworks
|
||||||
|
*
|
||||||
|
* Copyright (C) 2023 Orastron Srl unipersonale
|
||||||
|
*
|
||||||
|
* Brickworks is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, version 3 of the License.
|
||||||
|
*
|
||||||
|
* Brickworks is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Brickworks. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
* File authors: Stefano D'Angelo
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _CONFIG_DAISY_SEED_H
|
||||||
|
#define _CONFIG_DAISY_SEED_H
|
||||||
|
|
||||||
|
struct config_pin {
|
||||||
|
int param_index;
|
||||||
|
int pin;
|
||||||
|
};
|
||||||
|
|
||||||
|
#define NUM_PINS 5
|
||||||
|
|
||||||
|
static struct config_pin config_pins[NUM_PINS] = {
|
||||||
|
{ 0, 15 },
|
||||||
|
{ 1, 16 },
|
||||||
|
{ 2, 17 },
|
||||||
|
{ 3, 18 },
|
||||||
|
{ 4, 19 }
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
7
examples/fx_eq_3band/daisy-seed/Makefile
Normal file
7
examples/fx_eq_3band/daisy-seed/Makefile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
|
||||||
|
|
||||||
|
TARGET = bw_example_fx_eq_3band
|
||||||
|
|
||||||
|
C_SOURCES += ${ROOT_DIR}/../src/bw_example_fx_eq_3band.c
|
||||||
|
|
||||||
|
include ${ROOT_DIR}/../../common/daisy-seed/daisy-seed.mk
|
43
examples/fx_eq_3band/daisy-seed/config_daisy_seed.h
Normal file
43
examples/fx_eq_3band/daisy-seed/config_daisy_seed.h
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
/*
|
||||||
|
* Brickworks
|
||||||
|
*
|
||||||
|
* Copyright (C) 2023 Orastron Srl unipersonale
|
||||||
|
*
|
||||||
|
* Brickworks is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, version 3 of the License.
|
||||||
|
*
|
||||||
|
* Brickworks is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Brickworks. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
* File authors: Stefano D'Angelo
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _CONFIG_DAISY_SEED_H
|
||||||
|
#define _CONFIG_DAISY_SEED_H
|
||||||
|
|
||||||
|
struct config_pin {
|
||||||
|
int param_index;
|
||||||
|
int pin;
|
||||||
|
};
|
||||||
|
|
||||||
|
#define NUM_PINS 9
|
||||||
|
|
||||||
|
static struct config_pin config_pins[NUM_PINS] = {
|
||||||
|
{ 0, 15 },
|
||||||
|
{ 1, 16 },
|
||||||
|
{ 2, 17 },
|
||||||
|
{ 3, 18 },
|
||||||
|
{ 4, 19 },
|
||||||
|
{ 5, 20 },
|
||||||
|
{ 6, 21 },
|
||||||
|
{ 7, 22 },
|
||||||
|
{ 8, 23 },
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
7
examples/fx_mm2/daisy-seed/Makefile
Normal file
7
examples/fx_mm2/daisy-seed/Makefile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
ROOT_DIR := $(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
|
||||||
|
|
||||||
|
TARGET = bw_example_fx_mm2
|
||||||
|
|
||||||
|
C_SOURCES += ${ROOT_DIR}/../src/bw_example_fx_mm2.c
|
||||||
|
|
||||||
|
include ${ROOT_DIR}/../../common/daisy-seed/daisy-seed.mk
|
39
examples/fx_mm2/daisy-seed/config_daisy_seed.h
Normal file
39
examples/fx_mm2/daisy-seed/config_daisy_seed.h
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
/*
|
||||||
|
* Brickworks
|
||||||
|
*
|
||||||
|
* Copyright (C) 2023 Orastron Srl unipersonale
|
||||||
|
*
|
||||||
|
* Brickworks is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, version 3 of the License.
|
||||||
|
*
|
||||||
|
* Brickworks is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with Brickworks. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*
|
||||||
|
* File authors: Stefano D'Angelo
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _CONFIG_DAISY_SEED_H
|
||||||
|
#define _CONFIG_DAISY_SEED_H
|
||||||
|
|
||||||
|
struct config_pin {
|
||||||
|
int param_index;
|
||||||
|
int pin;
|
||||||
|
};
|
||||||
|
|
||||||
|
#define NUM_PINS 5
|
||||||
|
|
||||||
|
static struct config_pin config_pins[NUM_PINS] = {
|
||||||
|
{ 0, 15 },
|
||||||
|
{ 1, 16 },
|
||||||
|
{ 2, 17 },
|
||||||
|
{ 3, 18 },
|
||||||
|
{ 4, 19 }
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user