


下載本文檔
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、IAR使用Luminary驅(qū)動(dòng)庫的說明1生成Driverlib:“File”菜單中選擇“New>Workspace”,新建一個(gè)工作區(qū); “Project”菜單中選擇“Add Existing Project”,將 C:PDL-LM3S-2752DriverLibsrc目錄下的工程“driverlib.ewp”添加進(jìn)來.“LM3S_DriverLib.eww”并保存在“C:PDL_LM3S_2752DriverLibsrc”文件夾下; “driverlib - Debug”,選擇 Options,打開選項(xiàng),對(duì)某些選項(xiàng)進(jìn)行必要的配置; 選擇“Category:”里的“C/C+”,在“Opti
2、mizations”選項(xiàng)卡里,建議選中優(yōu)化級(jí)別Level為“None”,這可以更好地支持將來的在線仿真調(diào)試. 選擇“Category:”里的“Library Builder(Linker的Config選項(xiàng))”,勾中“Override default”.“Project”菜單中選擇“Make”進(jìn)行編譯,將在 C:PDL_LM3S_2752DriversrcExe下自動(dòng)生成一個(gè)“driverlib.a”文件。 2.Copy庫文件“C:Program FilesIAR SystemsEmbedded Workbench 5.0 KickstartARMlib”,創(chuàng)建一個(gè)新文件夾,取名“Luminar
3、y” ,將“C:PDL-LM3S-2752DriverLibsrcewarmExe”目錄下的“driverlib.a”文件復(fù)制過來.“C:PDL-LM3S-2752DriverLib”下所有的“*.h”文件復(fù)制到”C:Program FilesIARSystemsEmbedded Workbench 5.0 KickstartARMincLuminary”下; “C:PDL-LM3S-2752DriverLibsrc”下所有的“*.c”、“*.h”文件以及“CPU.S”復(fù)制到“C:Program FilesIAR SystemsEmbedded Workbench 5.0 KickstartA
4、RMincLuminary”下.2.4. 在“C:Program FilesIAR SystemsEmbedded Workbench 5.0 KickstartARMconfig”下,創(chuàng)建一個(gè)新文件夾,取名“Luminary” ,在“Luminary”文件夾下創(chuàng)建一個(gè)新文件,取名“LM3S.icf”,內(nèi)容如下:/* / / LM3S.icf - Linker configuration file for timers. / / Copyright (c) 2005-2008 Luminary Micro, Inc. All rights reserved. / / Software Lice
5、nse Agreement / / Luminary Micro, Inc. (LMI) is supplying this software for use solely and / exclusively on LMI's microcontroller products. / / The software is owned by LMI and/or its suppliers, and is protected under / applicable copyright laws. All rights are reserved. You may not combine / th
6、is software with "viral" open-source software in order to form a larger / program. Any use in violation of the foregoing restrictions may subject / the user to criminal sanctions under applicable laws, as well as to civil / liability for the breach of the terms and conditions of this licen
7、se. / / THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED / OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF / MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. / LMI SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIA
8、L, INCIDENTAL, OR / CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER. / / This is part of revision 2752 of the Stellaris Peripheral Driver Library. / /* / / Define a memory region that covers the entire 4 GB addressible space of the / processor. / define memory mem with size = 4G; / / Define a regio
9、n for the on-chip flash. / define region FLASH = mem:from 0x00000000 to 0x0003ffff; / / Define a region for the on-chip SRAM. /define region SRAM = mem:from 0x20000000 to 0x2000ffff; / / Define a block for the heap. The size should be set to something other / than zero if things in the C library tha
10、t require the heap are used. / define block HEAP with alignment = 8, size = 0x00000000 ; / / Indicate that the read/write values should be initialized by copying from / flash. / initialize by copy readwrite ; / / Indicate that the noinit values should be left alone. This includes the / stack, which
11、if initialized will destroy the return address from the / initialization code, causing the processor to branch to zero and fault. / do not initialize section .noinit ; / / Place the interrupt vectors at the start of flash. / place at start of FLASH readonly section .intvec ; / / Place the remainder of the read-only items into flash. / place in FLASH readonly ; / / Place all read/write items into SRA
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 開放社區(qū)食堂管理辦法
- 西安代理記賬管理辦法
- 遵義養(yǎng)豬日常管理辦法
- 大眾服裝陳列培訓(xùn)課件
- 肝臟腫瘤護(hù)理課件
- 員工培訓(xùn)理論課件
- 佛山春招數(shù)學(xué)試卷
- 二模高質(zhì)量數(shù)學(xué)試卷
- 高三沖刺班高中數(shù)學(xué)試卷
- 肘關(guān)節(jié)脫位護(hù)理課件
- 2024年09月年中國(guó)農(nóng)業(yè)發(fā)展銀行江蘇省分行秋季校園招聘(86人)筆試歷年參考題庫附帶答案詳解
- 2024-2025學(xué)年度天津鐵道職業(yè)技術(shù)學(xué)院?jiǎn)握小墩Z文》真題附答案詳解(突破訓(xùn)練)
- 快遞行業(yè)市場(chǎng)發(fā)展分析及投資前景研究報(bào)告2025-2028版
- 2025年育嬰師職業(yè)資格考試試題及答案
- 2023年三種人試題附答案
- 北京市八十中學(xué)2025屆八年級(jí)英語第二學(xué)期期中經(jīng)典試題含答案
- 哇哈哈品牌管理制度
- 2025年第十屆“學(xué)憲法、講憲法”網(wǎng)絡(luò)知識(shí)競(jìng)賽題庫(含答案)
- 北師大版四年級(jí)下冊(cè)數(shù)學(xué)計(jì)算題每日一練帶答案(共30天)
- HIV實(shí)驗(yàn)室風(fēng)險(xiǎn)評(píng)估-
- (完整word版)提高小學(xué)數(shù)學(xué)作業(yè)設(shè)計(jì)有效性的研究調(diào)查問卷
評(píng)論
0/150
提交評(píng)論