aboutsummaryrefslogtreecommitdiff
path: root/prog/src/startup.c
diff options
context:
space:
mode:
Diffstat (limited to 'prog/src/startup.c')
-rw-r--r--prog/src/startup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/prog/src/startup.c b/prog/src/startup.c
index c09f221..2ed3253 100644
--- a/prog/src/startup.c
+++ b/prog/src/startup.c
@@ -7,10 +7,14 @@ extern unsigned int _estack; // end of .stack section (stack top)
void main(void); // main function declaration
+// extern void test_prog(void);
+
void _start(void) __attribute__((section(".text.startup"), naked)); // entry point, cpu starts executing from here
void _start(void)
{
+ // test_prog();
+
unsigned int *src, *dst;
// copy .data section from ROM to RAM