This commit is contained in:
Markus Fröschle
2012-10-26 15:14:13 +00:00
parent fcf3a611ce
commit 5f4fe0fbeb
2 changed files with 11 additions and 3 deletions

View File

@@ -9,6 +9,10 @@
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name> <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers> <triggers>clean,full,incremental,</triggers>
<arguments> <arguments>
<dictionary>
<key>?children?</key>
<value>?name?=outputEntries\|?children?=?name?=entry\\\\\\\|\\\|?name?=entry\\\\\\\|\\\|\||</value>
</dictionary>
<dictionary> <dictionary>
<key>?name?</key> <key>?name?</key>
<value></value> <value></value>
@@ -25,6 +29,10 @@
<key>org.eclipse.cdt.make.core.buildCommand</key> <key>org.eclipse.cdt.make.core.buildCommand</key>
<value>make</value> <value>make</value>
</dictionary> </dictionary>
<dictionary>
<key>org.eclipse.cdt.make.core.buildLocation</key>
<value>${workspace_loc:/BaS_GNU}</value>
</dictionary>
<dictionary> <dictionary>
<key>org.eclipse.cdt.make.core.contents</key> <key>org.eclipse.cdt.make.core.contents</key>
<value>org.eclipse.cdt.make.core.activeConfigSettings</value> <value>org.eclipse.cdt.make.core.activeConfigSettings</value>

View File

@@ -76,14 +76,14 @@ void wait_1us(void)
*/ */
void init_slt(void) void init_slt(void)
{ {
xprintf("slice timers initialization: "); xprintf("slice timer initialization: ");
MCF_SLT0_STCNT = 0xffffffff; MCF_SLT0_STCNT = 0xffffffff;
MCF_SLT0_SCR = 0x05000000; MCF_SLT0_SCR = 0x05000000;
xprintf("finished\r\n"); xprintf("finished\r\n");
} }
/* /*
* init GPIO ETC. * init GPIO general purpose I/O module
*/ */
void init_gpio(void) void init_gpio(void)
{ {
@@ -291,7 +291,7 @@ void init_fbcs()
xprintf("FlexBus chip select registers initialization: "); xprintf("FlexBus chip select registers initialization: ");
/* Flash */ /* Flash */
MCF_FBCS0_CSAR = 0xE0000000; // FLASH ADRESS MCF_FBCS0_CSAR = 0xE0000000; /* flash base address */
MCF_FBCS0_CSCR = 0x00001180; // 16 bit 4ws aa MCF_FBCS0_CSCR = 0x00001180; // 16 bit 4ws aa
MCF_FBCS0_CSMR = 0x007F0001; // 8MB on MCF_FBCS0_CSMR = 0x007F0001; // 8MB on