16f1ks.xcl

来自「Example the project test UART for AVR161」· XCL 代码 · 共 38 行

XCL
38
字号

-!    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 + =
减小字号Ctrl + -
显示快捷键?