随笔分类 -  EWARM

摘要:http://www.iar.com/Global/Resources/Developers_Toolbox/Building_and_debugging/Mastering_stack_and_heap_for_system_reliability.pdf1. IntroductionThe stack and the heap are fundamental to an embedded system. Setting up the stack and the heap properly is essential to system stability and reliability. I 阅读全文
posted @ 2013-12-27 17:04 IAmAProgrammer 编辑
摘要:int bar( int a, int b, int c, int d, int e, int f, int g ){ int array2[ 7 ]; array2[ 0 ] = a + b; array2[ 1 ] = b + c; array2[ 2 ] = c + d; array2[ 3 ] = d + e; array2[ 4 ] = e + f; array2[ 5 ] = f + g; array2[ 6 ] = g + a; return array2[ 0 ] + array2[ 1 ] + array2[ 2 ] + array2[ 3 ] + arra... 阅读全文
posted @ 2013-09-16 13:28 IAmAProgrammer 编辑
摘要:IAR EWARM Printf via SWOStdout and stderr of the application can be redirected to ITM stimulus port #0. It means that stdout/stderr messages (e.g. str... 阅读全文
posted @ 2013-04-10 01:48 IAmAProgrammer 编辑
摘要:1 uint32_t calcCrc32(uint8_t* data, uint32_t len) 2 { 3 uint32_t* pBuffer = (uint32_t*) data; 4 uint32_t BufferLength = len/4; 5 uint32_t index... 阅读全文
posted @ 2013-01-09 22:19 IAmAProgrammer 编辑
摘要:Project Options->Linker->Input->Raw binary image选择文件,填变量名,段名,对齐,如 symbol_0, .text, 4还要在Keep symbols中填上对应的变量名symbol_0然后就可以在 源文件 中使用此变量extern unsigned i... 阅读全文
posted @ 2013-01-02 11:31 IAmAProgrammer 编辑
摘要:1 /*###ICF### Section handled by ICF editor, don't touch! ****/ 2 /*-Editor annotation file-*/ 3 /* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\a_v1_0.xml" */ 4 /*-Memory Regions-*/ 5 define symbol __ICFEDIT_region_ROM_start__ = 0x00000000; 6 define symbol __ICFEDIT_region_ROM_en 阅读全文
posted @ 2013-01-01 14:06 IAmAProgrammer 编辑

点击右上角即可分享
微信分享提示