📄 cfg90pwm3.xcl
字号:
/* - lnk90pwm3.xcl - * * XLINK command file for the ICCAVR C-compiler using the -v1, -ms options. * (memory small) * Segments are defined for an AT90PWM2 or 3 with * 8 Kbytes program address space. * * Usage: xlink your_file(s) -f lnk90pwm3 * * File version: $Name: demo-bldc-sensor-at90pwm3-4_2_0 $ *//* * Modify the lines below to alter the size of the RSTACK, CSTACK and HEAP * segments. These need to be fine tuned to suit your specific application. * The '_..X_' prefix is used by C-SPY as an indication that the label should * not be displayed in the dissassembly window. */-D_..X_CSTACK_SIZE=80 /* 128 bytes for auto variables and saved registers. */-D_..X_RSTACK_SIZE=80 /* 128 bytes for return addresses, equivalent to 16 */ /* levels of calls, including interrupts. */-D_..X_HEAP_SIZE=40 /* 64 bytes of heap. *//* * External memory not possible */-D_..X_EXT_SRAM_BASE=0-D_..X_EXT_SRAM_SIZE=0-D_..X_EXT_EPROM_BASE=0-D_..X_EXT_EPROM_SIZE=0-D_..X_EXT_EEPROM_BASE=0-D_..X_EXT_EEPROM_SIZE=0/* Define CPU */-ca90/* * The following segments are located in the internal memory of * the AT90PWM2 or 3. Do not change these lines. *//*====================================================*//* Code (flash) segments */-D_..X_INTVEC_SIZE=80 /* 4 bytes * 32 vectors */-D_..X_FLASH_TEND=FF /* End of tiny flash memory */-D_..X_FLASH_NEND=1FFF /* End of near flash memory */-D_..X_FLASH_END=1FFF /* End of flash memory *//* Internal data memory */-D_..X_SRAM_BASE=100 /* Start of ram memory */-D_..X_SRAM_TEND=100 /* End of tiny ram memory */-D_..X_SRAM_END=2FF /* End of ram memory *//* Internal EEPROM */-D_..X_EEPROM_END=1FF /* End of eeprom memory *//*====================================================*//* Code memory */-Z(CODE)INTVEC=0-(_..X_INTVEC_SIZE-1) /* Fill unused interrupt vector's with RETI */-H1895-h(CODE)0-_..X_INTVEC_SIZE-Z(CODE)TINY_F=_..X_INTVEC_SIZE-_..X_FLASH_TEND-Z(CODE)NEAR_F,SWITCH,INITTAB,DIFUNCT=_..X_INTVEC_SIZE-_..X_FLASH_NEND-Z(CODE)CODE=_..X_INTVEC_SIZE-_..X_FLASH_END-Z(FARCODE)FAR_F=_..X_INTVEC_SIZE-_..X_FLASH_END-Z(CODE)HUGE_F=_..X_INTVEC_SIZE-_..X_FLASH_END-Z(CODE)TINY_ID,NEAR_ID,CHECKSUM=_..X_INTVEC_SIZE-_..X_FLASH_END/* Internal data memory */-Z(DATA)TINY_I,TINY_Z,TINY_N=_..X_SRAM_BASE-_..X_SRAM_TEND-Z(DATA)NEAR_I,NEAR_Z=_..X_SRAM_BASE-_..X_SRAM_END,_..X_EXT_SRAM_BASE-(_..X_EXT_SRAM_BASE+_..X_EXT_SRAM_SIZE)-Z(DATA)RSTACK+_..X_RSTACK_SIZE=_..X_SRAM_BASE-_..X_SRAM_END-Z(DATA)CSTACK+_..X_CSTACK_SIZE=_..X_SRAM_BASE-_..X_SRAM_END-Z(DATA)HEAP+_..X_HEAP_SIZE=_..X_SRAM_BASE-_..X_SRAM_END/* Internal eeprom memory */-Z(XDATA)EEPROM_I,EEPROM_N=0-_..X_EEPROM_END/* Select reduced "printf" support to reduce library size. See configuration section in manual concerning printf/sprintf. */-e_Printf_1=_Printf/* Disable floating-point support in "scanf" to reduce library size. See configuration section in manual concerning scanf/sscanf */-e_Scanf_1=_Scanf/* Suppress one warning which is not relevant for this processor */-w29/* Code will now reside in file aout.a90 or aout.d90, unless -o is specified *//* .d90 is the default if debug system is linked (option -r) *//* .a90 is the default without debugging. Default format is -Fmotorola */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -