From c5422637d88fae3fe348a2b4c94e5d4ddc116f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Fri, 26 Oct 2012 15:14:13 +0000 Subject: [PATCH] --- BaS_GNU/.project | 8 ++++++++ BaS_GNU/sources/sysinit.c | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/BaS_GNU/.project b/BaS_GNU/.project index 66bab9e..745a6cd 100644 --- a/BaS_GNU/.project +++ b/BaS_GNU/.project @@ -9,6 +9,10 @@ org.eclipse.cdt.managedbuilder.core.genmakebuilder clean,full,incremental, + + ?children? + ?name?=outputEntries\|?children?=?name?=entry\\\\\\\|\\\|?name?=entry\\\\\\\|\\\|\|| + ?name? @@ -25,6 +29,10 @@ org.eclipse.cdt.make.core.buildCommand make + + org.eclipse.cdt.make.core.buildLocation + ${workspace_loc:/BaS_GNU} + org.eclipse.cdt.make.core.contents org.eclipse.cdt.make.core.activeConfigSettings diff --git a/BaS_GNU/sources/sysinit.c b/BaS_GNU/sources/sysinit.c index 5abf179..a7b8705 100644 --- a/BaS_GNU/sources/sysinit.c +++ b/BaS_GNU/sources/sysinit.c @@ -76,14 +76,14 @@ void wait_1us(void) */ void init_slt(void) { - xprintf("slice timers initialization: "); + xprintf("slice timer initialization: "); MCF_SLT0_STCNT = 0xffffffff; MCF_SLT0_SCR = 0x05000000; xprintf("finished\r\n"); } /* - * init GPIO ETC. + * init GPIO general purpose I/O module */ void init_gpio(void) { @@ -291,7 +291,7 @@ void init_fbcs() xprintf("FlexBus chip select registers initialization: "); /* Flash */ - MCF_FBCS0_CSAR = 0xE0000000; // FLASH ADRESS + MCF_FBCS0_CSAR = 0xE0000000; /* flash base address */ MCF_FBCS0_CSCR = 0x00001180; // 16 bit 4ws aa MCF_FBCS0_CSMR = 0x007F0001; // 8MB on