upsilon/swic/test.c

13 lines
298 B
C
Raw Normal View History

2024-02-04 11:54:10 -05:00
#include <stdint.h>
void _start(void)
{
volatile uint32_t *write = (volatile uint32_t *)(0x100000 + 0x10);
volatile uint32_t *read = (volatile uint32_t *)( 0x100000 + 0x0);
volatile uint32_t *next_read = (volatile uint32_t *)(0x100FF);
2024-02-04 11:54:10 -05:00
*write = *read;
*next_read = 0xdeadbeef;
2024-02-04 11:54:10 -05:00
for (;;) ;
}