⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 16f1ks.xcl

📁 Example the project test UART for AVR161 on C for IAR
💻 XCL
字号:

-!    XLINK command file for devices with 16K flash and 1K SRAM -!

    -!    Define CPU type (AVR) -!

-ca90
      
    -! Define segments in flash memory -!

-Z(CODE)INTVEC,RCODE,CDATA0,CDATA1,CCSTR,SWITCH,FLASH,CODE=0-3FFF

    -! Define segments in RAM    -!
    -! The registers are in addresses 0-1F and memory mapped I/O in addresses 20-5F, built-in SRAM in addresses 60-25F.     
    Data stack(CSTACK) size is 100 bytes(hex), return stack(RSTACK) size is 30 bytes(hex) -!

-Z(DATA)IDATA0,UDATA0,RSTACK+30,IDATA1,UDATA1,ECSTR,CSTACK+100=60-45F
                                                                        
    -!  Select reduced "printf" support to reduce library size.
        See the configuration section of the IAR C-compiler Users Guide concerning use of printf/sprintf. -!

-e_small_write=_formatted_write
-e_small_write_P=_formatted_write_P

    -!  Disable floating-point support in "scanf" to reduce library size.
    See the configuration section of the IAR C-compiler Users Guide concerning use of scanf/sscanf -!

-e_medium_read=_formatted_read
-e_medium_read_P=_formatted_read_P

    -! Suppress one warning which is not relevant for this processor -!

-w29

    -! Load the 'C' library -!

cl3s
 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -