IAR work well with EA4357 on host os none

This commit is contained in:
hathach 2014-03-06 10:29:57 +07:00
parent c35e668dc4
commit fee8e5227b
4 changed files with 16 additions and 5 deletions

View File

@ -0,0 +1,11 @@
FUNC void Setup (unsigned int region) {
region &= 0xFFFF0000;
SP = _RDWORD(region); // Setup Stack Pointer
PC = _RDWORD(region + 4); // Setup Program Counter
_WDWORD(0xE000ED08, region); // Setup Vector Table Offset Register
}
//LOAD "Board NGX4330\\host_os_none.axf" INCREMENTAL
LOAD %L INCREMENTAL
Setup(__scatterload); // Get ready to execute image in SRAM or whatever region it is in g,main

View File

@ -3238,7 +3238,7 @@
</option>
<option>
<name>OCProbeConfig</name>
<state></state>
<state>$TOOLKIT_DIR$\config\debugger\NXP\LPC43xx.ProbeConfig</state>
</option>
<option>
<name>IjetProbeConfigRadio</name>
@ -3450,7 +3450,7 @@
</option>
<option>
<name>OCJLinkTraceSource</name>
<state>1</state>
<state>0</state>
</option>
<option>
<name>OCJLinkTraceSourceDummy</name>

View File

@ -1961,7 +1961,7 @@
</option>
<option>
<name>GenStdoutInterface</name>
<state>1</state>
<state>0</state>
</option>
<option>
<name>GeneralMisraRules98</name>

View File

@ -179,7 +179,7 @@ void print_greeting(void)
- Host Demo (a tinyusb example)\n\
- if you find any bugs or get any questions, feel free to file an\n\
- issue at https://github.com/hathach/tinyusb\n\
--------------------------------------------------------------------\n\n"
--------------------------------------------------------------------\n"
);
puts("This demo supports the following classes");
@ -188,4 +188,4 @@ void print_greeting(void)
if (TUSB_CFG_HOST_HID_KEYBOARD ) puts(" - HID Keyboard");
if (TUSB_CFG_HOST_MSC ) puts(" - Mass Storage");
if (TUSB_CFG_HOST_CDC ) puts(" - Communication Device Class");
}
}