随笔分类 -  EWARM

摘要:How do I call a C function in another module from inline assembler in IAR EWARM?I have a bit of assembly in a hard fault handler.The assembly is basic... 阅读全文
posted @ 2015-07-01 10:56 IAmAProgrammer 编辑
摘要:Error [Og005] + [Og006] when using inline assemblerEW targets:430, ARM, AVREW component:C/C++ compilerLast update:April 3, 2013Problem:When compiling ... 阅读全文
posted @ 2015-07-01 10:48 IAmAProgrammer 编辑
摘要:如果只想简单的设置,可进行如下设置 Tools->IDE Options->Editor->Colors and Fonts->Editor Font->Font 但是这里边似乎也没有什么舒服的字体,在网上找了找,还真找到了一个比较不错的字体,现呈现给大家 IAR的 用户配置文件 在这里进行替换即可 阅读全文
posted @ 2015-06-30 23:09 IAmAProgrammer 编辑
摘要:/关闭警告#pragma diag_suppress=Pe940uint8_t GetMyData(void){ asm(“MOV R0, #0x550F”);}//恢复警告#pragma diag_warning=Pe940 阅读全文
posted @ 2015-06-27 18:51 IAmAProgrammer 编辑
摘要:http://supp.iar.com/Support/?note=64424&from=note+11927BackgroundThe STM32 devices from ST Micro have a built-in hardware CRC32 calculator. (So using ... 阅读全文
posted @ 2015-06-27 12:41 IAmAProgrammer 编辑
摘要:IELFTOOL Checksum - Basic actionsEW targets:ARM, RH850, RX, SH, STM8EW component:General issuesLast update:September 6, 2013Below follows the steps ne... 阅读全文
posted @ 2015-06-23 02:03 IAmAProgrammer 编辑
摘要:#include // The type of a pointer into the init table.typedef void const * table_ptr_t;// The type of an initialization routine. It takes a pointer to... 阅读全文
posted @ 2015-06-22 18:47 IAmAProgrammer 编辑
摘要:STM32串口通信中使用printf发送数据配置方法(开发环境 Keil RVMDK)http://home.eeworld.com.cn/my/space-uid-338727-blogid-47176.html在STM32串口通信程序中使用printf发送数据,非常的方便。可在刚开始使用的时候总... 阅读全文
posted @ 2014-09-13 23:13 IAmAProgrammer 编辑
摘要:The linker automatically chooses an appropriate formatter for printf- andscanf-related function based on information from the compiler.If that informa... 阅读全文
posted @ 2014-09-11 12:53 IAmAProgrammer 编辑
摘要:#include uint32_t arg = 0x12345678;uint32_t getArgVal0( uint32_t * arg){ return *arg;}uint32_t getArgVal( uint32_t arg){ return getArgVal0( &arg );}... 阅读全文
posted @ 2014-07-17 23:55 IAmAProgrammer 编辑
摘要:The IAR Archive Tool—iarchive—creates and manipulates a library (anarchive) of several ELF object files.Usage: iarchive [command] archive obj... 阅读全文
posted @ 2014-07-12 09:34 IAmAProgrammer 编辑
摘要:https://srv.iar.com/ExamplesOnDemand/versions.xmlhttp://netstorage.iar.com/SuppDB/Public/EXAMPLES/007795/ARM_Aiji_6.70.1_5621.exehttp://netstorage.iar... 阅读全文
posted @ 2014-07-05 21:44 IAmAProgrammer 编辑
摘要:system_stm32f2xx.c#ifdef VECT_TAB_SRAM SCB->VTOR = SRAM_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM. */#else SCB->VTOR = FLASH_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal FLASH. */#endif extern unsigned int __vector_table; SCB->VTOR = (unsigned int 阅读全文
posted @ 2014-02-25 19:40 IAmAProgrammer 编辑
摘要:www.stmcu.org/download/index.php?act=down&id=5264IntroductionThe purpose of this application note is to give a presentation of the CCM RAM available onSTM32F303xB/xC and STM32F313xC microcontrollers and describe what is required toexecute part of the application code from this memory region usin 阅读全文
posted @ 2014-01-29 08:33 IAmAProgrammer 编辑
摘要:http://supp.iar.com/Support/?Note=27498EWARM v5.xx (and newer)The placement of a few functions in a specific section is done with the ...#pragma location="FUNCTIONS"void h(void);... but this becomes impractical when there are many functions to place. So the ILINK linker of EWARM 5.xx can p 阅读全文
posted @ 2014-01-20 21:56 IAmAProgrammer 编辑
摘要:__ARM_PROFILE_M__ Description An integer that is set based on the --cpu option. The symbol is set to 1 if the selected processor architecture is a pro 阅读全文
posted @ 2014-01-11 17:38 IAmAProgrammer 编辑
摘要:Using pre-build actions for time stampingIf necessary, you can specify pre-build and post-build actions that you want to occurbefore or after the build.The Build Actions dialog box—available from the Projectmenu—lets you specify the actions required.For more information about the Build Actions dialo 阅读全文
posted @ 2014-01-04 06:58 IAmAProgrammer 编辑
摘要:IAR参数变量 您可以为路径和参数使用参数变量,例如,当您在选项对话框中指定include路径时,或者当需要基于当前上下文的类似宏的扩展时,例如在工具的参数中。您可以使用广泛的预定义参数变量以及创建自己的参数变量,请参见配置自定义参数变量对话框。这些是预定义的参数变量: 参数变量还可以在IDE选项对 阅读全文
posted @ 2014-01-04 06:40 IAmAProgrammer 编辑
摘要:http://supp.iar.com/Support/?Note=47884Technical Note 47884Build from the command lineThe alternatives below are exemplified for Embedded Workbench for ARM (EWARM), but can be easily be modified for another EW target.This Technical Note might be helpful if you are looking for way to build your proje 阅读全文
posted @ 2013-12-31 08:59 IAmAProgrammer 编辑

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