diff --git a/demos/host/host_freertos/keil_ram.ini b/demos/host/host_freertos/keil_ram.ini new file mode 100644 index 00000000..8d711608 --- /dev/null +++ b/demos/host/host_freertos/keil_ram.ini @@ -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 diff --git a/demos/host/host_os_none/host_os_none.ewd b/demos/host/host_os_none/host_os_none.ewd index cd064da5..c2d57365 100644 --- a/demos/host/host_os_none/host_os_none.ewd +++ b/demos/host/host_os_none/host_os_none.ewd @@ -3238,7 +3238,7 @@