Compare commits

..

2 Commits

Author SHA1 Message Date
klemens 2c74ef7f03 Use correct frequency for the sd-spi interface 2018-05-19 19:04:56 +02:00
klemens c27ee2215c Print everything send over serial to the terminal 2018-05-19 19:04:11 +02:00
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -33,6 +33,9 @@ static inline void kputc(char c)
while ((int32_t)(*tx) < 0);
*tx = c;
#endif
volatile uint32_t *term = (void *) 0x64003000; // Terminal (32 bit)
while ((int32_t)(*term) < 0);
*term = c;
}
extern void kputs(const char *);
+1 -1
View File
@@ -12,7 +12,7 @@
#define PAYLOAD_SIZE (16 << 11)
#define F_CLK 50000000UL
#define F_CLK 60000000UL
static volatile uint32_t * const spi = (void *)(SPI_CTRL_ADDR);