Update copyright noteices, etc.
This commit is contained in:
parent
95c0c4837b
commit
bba28c688f
55 changed files with 201 additions and 41 deletions
|
@ -32,7 +32,7 @@ CFLAGS = $(MCFLAGS) $(OPTIMIZE) $(DEFS) \
|
|||
-Wl,-T,lib/stm32f407.ld
|
||||
|
||||
CFLAGS+=-DDEBUG
|
||||
CFLAGS+=-DNUM_LIN_LEDS=17 -DDFREQ=12000 -DCCEMBEDDED
|
||||
CFLAGS+=-I.
|
||||
|
||||
AFLAGS = $(MCFLAGS)
|
||||
|
||||
|
|
10
embeddedstm32f407/ccconfig.h
Normal file
10
embeddedstm32f407/ccconfig.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
#ifndef _CCCONFIG_H
|
||||
#define _CCCONFIG_H
|
||||
|
||||
#define CCEMBEDDED
|
||||
#define NUM_LIN_LEDS 217
|
||||
#define USE_NUM_LIN_LEDS 217
|
||||
#define DFREQ 12000
|
||||
|
||||
#endif
|
||||
|
|
@ -116,7 +116,7 @@ int main(void)
|
|||
// it also takes up a bunch of space. No printf = no space wasted in printf.
|
||||
// printf( "Operating at %.3fMHz\n", fv );
|
||||
|
||||
Init();
|
||||
InitColorChord();
|
||||
Configure_PA0();
|
||||
InitMP45DT02();
|
||||
InitSPI2812();
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#ifndef _MP45DT02
|
||||
#define _MP45DT02
|
||||
|
||||
#include "ccconfig.h"
|
||||
|
||||
//sampling frequency
|
||||
#define FS DFREQ
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue