forked from mfulz_github/qmk_firmware
Rename DS1307 driver files to a more generic RTC, as different RTC drivers may be added in the future.
This commit is contained in:
parent
b4af3f1fc9
commit
15828b1d5f
|
@ -5,7 +5,7 @@
|
|||
www.lufa-lib.org
|
||||
*/
|
||||
|
||||
#include "DS1307.h"
|
||||
#include "RTC.h"
|
||||
|
||||
#if defined(DUMMY_RTC)
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
#include "Lib/SCSI.h"
|
||||
#include "Lib/DataflashManager.h"
|
||||
#include "Lib/FATFs/ff.h"
|
||||
#include "Lib/DS1307.h"
|
||||
#include "Lib/RTC.h"
|
||||
#include "Config/AppConfig.h"
|
||||
|
||||
#include <LUFA/Drivers/Board/LEDs.h>
|
||||
|
|
|
@ -38,14 +38,11 @@
|
|||
|
||||
<build type="c-source" value="Lib/DataflashManager.c"/>
|
||||
<build type="header-file" value="Lib/DataflashManager.h"/>
|
||||
<build type="c-source" value="Lib/DS1307.c"/>
|
||||
<build type="header-file" value="Lib/DS1307.h"/>
|
||||
<build type="c-source" value="Lib/RTC.c"/>
|
||||
<build type="header-file" value="Lib/RTC.h"/>
|
||||
<build type="c-source" value="Lib/SCSI.c"/>
|
||||
<build type="header-file" value="Lib/SCSI.h"/>
|
||||
|
||||
<build type="c-source" value="Lib/DS1307.c"/>
|
||||
<build type="header-file" value="Lib/DS1307.h"/>
|
||||
|
||||
<build type="include-path" value="Lib/FATFs/"/>
|
||||
<build type="c-source" value="Lib/FATFs/ff.c"/>
|
||||
<build type="header-file" value="Lib/FATFs/ff.h"/>
|
||||
|
|
|
@ -18,7 +18,7 @@ F_CPU = 8000000
|
|||
F_USB = $(F_CPU)
|
||||
OPTIMIZATION = s
|
||||
TARGET = TempDataLogger
|
||||
SRC = $(TARGET).c Descriptors.c Lib/DataflashManager.c Lib/DS1307.c Lib/SCSI.c Lib/FATFs/diskio.c Lib/FATFs/ff.c \
|
||||
SRC = $(TARGET).c Descriptors.c Lib/DataflashManager.c Lib/RTC.c Lib/SCSI.c Lib/FATFs/diskio.c Lib/FATFs/ff.c \
|
||||
$(LUFA_SRC_USB) $(LUFA_SRC_USBCLASS) $(LUFA_SRC_SERIAL) $(LUFA_SRC_TWI) $(LUFA_SRC_TEMPERATURE)
|
||||
LUFA_PATH = ../../LUFA
|
||||
CC_FLAGS = -DUSE_LUFA_CONFIG_HEADER -IConfig/
|
||||
|
|
Loading…
Reference in New Issue