ASRCS += tricks.s commonmem.s
DISCARD_DSRCS = ../dev/devide_discard.c
-DSRCS = ../dev/blkdev.c ../dev/devide.c ../dev/mbr.c
+DSRCS = ../dev/blkdev.c ../dev/devide.c ../dev/mbr.c ../dev/ds1302_discard.c
DSRCS += ../dev/propio2.c ../dev/ds1302.c
DSRCS += ../dev/devfd.c ../dev/ppide_rbc.c
#include <blkdev.h>
#include <devide.h>
#include <propio2.h>
+#include <devrtc.h>
extern int strcmp(const char *, const char *);
{
devide_init();
prop_sd_probe();
+ ds1302_init();
}
platform-sbcv2/propio2.rel
platform-sbcv2/ppide_rbc.rel
platform-sbcv2/ds1302.rel
+platform-sbcv2/ds1302_discard.rel
platform-sbcv2/ds1302_rbc.rel
platform-sbcv2/devfd.rel
platform-sbcv2/rbcfd9266_hw.rel
}
}
-
/*
- * Logic for tickless system. If you have an RTC you can ignore this.
+ * Logic for tickless system. If you have an RTC with a timer tick
+ * you can ignore this.
*/
static uint8_t newticks = 0xFF;