ARMv7-A Bare Bones: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
m Bot: Replace deprecated source tag with syntaxhighlight
m Bot: Replace deprecated source tag with syntaxhighlight
 
Line 44: Line 44:
start.c:
start.c:


<source lang="c">
<syntaxhighlight lang="c">
#include <stdint.h>
#include <stdint.h>
#define UART0_BASE 0x1c090000
#define UART0_BASE 0x1c090000
Line 51: Line 51:
*(volatile uint32_t *)(UART0_BASE) = 'A';
*(volatile uint32_t *)(UART0_BASE) = 'A';
}
}
</syntaxhighlight>
</source>


linker.ld:
linker.ld: