Compare commits

...

2 Commits

2 changed files with 4 additions and 1 deletions

View File

@ -33,6 +33,9 @@ static inline void kputc(char c)
while ((int32_t)(*tx) < 0); while ((int32_t)(*tx) < 0);
*tx = c; *tx = c;
#endif #endif
volatile uint32_t *term = (void *) 0x64003000; // Terminal (32 bit)
while ((int32_t)(*term) < 0);
*term = c;
} }
extern void kputs(const char *); extern void kputs(const char *);

View File

@ -12,7 +12,7 @@
#define PAYLOAD_SIZE (16 << 11) #define PAYLOAD_SIZE (16 << 11)
#define F_CLK 50000000UL #define F_CLK 60000000UL
static volatile uint32_t * const spi = (void *)(SPI_CTRL_ADDR); static volatile uint32_t * const spi = (void *)(SPI_CTRL_ADDR);