Fix build for CC2
This commit is contained in:
parent
3b00d9e087
commit
68e7bd6bb6
|
@ -13,13 +13,13 @@ RAWDRAWLIBS:=-lX11 -lm -lpthread -lXinerama -lXext
|
|||
LDLIBS:=-lpthread -lasound -lm -lpulse-simple -lpulse
|
||||
|
||||
|
||||
CFLAGS:=-g -Os -flto -Wall -ffast-math -Iembeddedcommon
|
||||
CFLAGS:=-g -Os -flto -Wall -ffast-math -I../embeddedcommon -I.
|
||||
EXTRALIBS:=-lusb-1.0
|
||||
|
||||
colorchord : os_generic.o main.o dft.o decompose.o filter.o color.o sort.o notefinder.o util.o outdrivers.o $(RAWDRAW) $(SOUND) $(OUTS) parameters.o chash.o hook.o embeddedcommon/DFT32.o
|
||||
colorchord : os_generic.o main.o dft.o decompose.o filter.o color.o sort.o notefinder.o util.o outdrivers.o $(RAWDRAW) $(SOUND) $(OUTS) parameters.o chash.o hook.o ../embeddedcommon/DFT32.o
|
||||
gcc -o $@ $^ $(CFLAGS) $(LDLIBS) $(EXTRALIBS) $(RAWDRAWLIBS)
|
||||
|
||||
colorchord.exe : os_generic.c main.c dft.c decompose.c filter.c color.c sort.c notefinder.c util.c outdrivers.c DrawFunctions.c parameters.c chash.c WinDriver.c sound.c sound_null.c sound_win.c OutputVoronoi.c DisplayArray.c OutputLinear.c DisplayPie.c DisplayNetwork.c hook.c RecorderPlugin.c embeddedcommon/DFT32.c
|
||||
colorchord.exe : os_generic.c main.c dft.c decompose.c filter.c color.c sort.c notefinder.c util.c outdrivers.c DrawFunctions.c parameters.c chash.c WinDriver.c sound.c sound_null.c sound_win.c OutputVoronoi.c DisplayArray.c OutputLinear.c DisplayPie.c DisplayNetwork.c hook.c RecorderPlugin.c ../embeddedcommon/DFT32.c
|
||||
$(WINGCC) $(WINGCCFLAGS) -o $@ $^ $(WINLDFLAGS)
|
||||
|
||||
|
||||
|
|
7
colorchord2/ccconfig.h
Normal file
7
colorchord2/ccconfig.h
Normal file
|
@ -0,0 +1,7 @@
|
|||
#ifndef _CCCONFIG_H
|
||||
#define _CCCONFIG_H
|
||||
|
||||
//This file is really only used on colorchord embedded, this is a stub.
|
||||
|
||||
#endif
|
||||
|
22
colorchord2/prominance.conf
Normal file
22
colorchord2/prominance.conf
Normal file
|
@ -0,0 +1,22 @@
|
|||
outdrivers = OutputLinear, DisplayArray
|
||||
|
||||
byte_offset = 32
|
||||
ledoutamp = 1.0
|
||||
leds = 2
|
||||
lightx = 2
|
||||
lighty = 1
|
||||
light_siding = 1.6
|
||||
|
||||
|
||||
note_attach_amp_iir = .3000
|
||||
note_attach_amp_iir2 = .1500
|
||||
note_attach_freq_iir = 0.3000
|
||||
steady_bright = 0
|
||||
|
||||
skipfirst = 1
|
||||
firstval = 0
|
||||
port = 7777
|
||||
address = 192.168.0.245
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue