制作keil5的pack
【原创出品§转载请注明出处】 出处:http://www.cnblogs.com/libra13179/p/6273415.html
我在这里就交大家怎样制作自己的Pack,(这里是我制作好的http://files.cnblogs.com/files/libra13179/KEIL5%E7%9A%84RTT%E4%B9%8Bpack.zip)
1、用的C:\Program Files (x86)\SEGGER\JLink_V512f\Samples\RTT\SEGGER_RTT_V512f这个压缩文件中程序。
2、添加文件rtt_log.C和rtt_log.H

3、新增一个Segger.Segger_RTT_Logger.pdsc

Segger.Segger_RTT_Logger.pdsc的具体内容如下
<?xml version="1.0" encoding="utf-8"?> <package schemaVersion="1.2" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PACK.xsd">
<vendor>Segger</vendor>
<name>Segger_RTT_Logger</name>
<description>Simple logging functionality for Segger's J-Link Real-Time Terminal</description>
<url></url>
<supportContact>404267906@qq.com</supportContact>
<!-- optional license file -->
<!--
<license>
</license>
--> <releases>
<release version="1.0.1">
2017/01/11 Initial Version (SEGGER_RTT_V512f)
2017/01/11 add rtt_log.c and rtt_log.h
</release>
</releases> <keywords>
<!-- keywords for indexing -->
<keyword>Debug</keyword>
<keyword>Log</keyword>
<keyword>Logging</keyword>
<keyword>J-Link</keyword>
<keyword>Segger</keyword>
</keywords> <!-- apis section (optional - for Application Programming Interface descriptions) -->
<!--
<apis>
</apis>
--> <!-- boards section (mandatory for Board Support Packs) -->
<!--
<boards>
</boards>
--> <!-- devices section (mandatory for Device Family Packs) -->
<!--
<devices>
</devices>
--> <!-- examples section (optional for all Software Packs)-->
<!--
<examples>
</examples>
--> <!-- conditions section (optional for all Software Packs)-->
<!--
<conditions>
</conditions>
--> <!-- component section (optional for all Software Packs)--> <components>
<component Cclass="Segger Tools" Cgroup="Segger RTT Tools Logger" Cversion="1.0.0">
<description>Routines to use the Segger Real-Time Terminal for logging</description>
<files>
<file category="header" name="SEGGER_RTT_V512f\RTT\SEGGER_RTT.h"/>
<file category="header" name="SEGGER_RTT_V512f\RTT\SEGGER_RTT_Conf.h" attr="config"/>
<file category="source" name="SEGGER_RTT_V512f\RTT\SEGGER_RTT.c"/>
<file category="source" name="SEGGER_RTT_V512f\RTT\SEGGER_RTT_printf.c"/>
<file category="header" name="SEGGER_RTT_V512f\rtt_log.h"/>
<file category="source" name="SEGGER_RTT_V512f\rtt_log.c"/>
</files>
</component> </components> <!-- optional taxonomy section for defining new component Class and Group names -->
<!--
<taxonomy>
</taxonomy>
--> </package>
> 参考KEIL的pack文档
http://files.cnblogs.com/files/libra13179/keil%E4%B9%8Bpack%E5%88%B6%E4%BD%9C%E6%96%87%E6%A1%A3.zip
4、将SEGGER_RTT_V512f文件夹和Segger.Segger_RTT_Logger.pdsc进行压缩文件命名为Segger.Segger_RTT_Logger.1.0.1.ZIP,.ZIP后缀修改.pack。


5、安装到keil中

测试我们生成PACK




编译工程下载后可以看到

制作keil5的pack的更多相关文章
- D:\Software\Keil5\ARM\PACK\Keil\STM32F1xx_DFP\2.1.0\Device\Include\stm32f10x.h(483): error: #5: cannot open source input file "core_cm3.h": No such file or directory
1. 错误提示信息: D:\Software\Keil5\ARM\PACK\Keil\STM32F1xx_DFP\2.1.0\Device\Include\stm32f10x.h(483): erro ...
- 第2章 如何安装KEIL5
第2章 如何安装KEIL5 全套200集视频教程和1000页PDF教程请到秉火论坛下载:www.firebbs.cn 野火视频教程优酷观看网址:http://i.youku.com/fireg ...
- 第2章-如何安装KEIL5—零死角玩转STM32-F429系列
第2章 如何安装KEIL5 集视频教程和1000页PDF教程请到秉火论坛下载:www.firebbs.cn 野火视频教程优酷观看网址:http://i.youku.com/firege 本章内 ...
- MDK5 and STM32Cube
D:\Workspace\........\RTE\Device>STM32CubeMX.exe -s project.script -tpl_path C:\Keil5\ARM\Pack\Ke ...
- error:Flash Download failed-“Cortex-M3”,“Programming Algorithm”【转】
本文转载自:http://www.yfrobot.com/thread-11763-1-1.html 最近安装了KEIL5,在使用KEIL5和JLIN实现在线调试功能时,一定会在Utilities选项 ...
- Visual Studio 2010 集成 SP1 补丁 制作 Visual Studio 2010 Service Pack 1 完整版安装光盘的方法
Now that Visual Studio 2010 SP1 has been released, administrators and developers may wish to install ...
- 一个技术汪的开源梦 —— 基于 .Net Core 的组件 Nuget 包制作 & 发布
一个技术汪的开源梦 —— 目录 微软的 ASP.Net Core 强化了 Nuget 的使用,所有的 .Net Core 组件均有 Nuget 管理,所以有必要探讨一下 .Net Core 组件制作 ...
- Adobe Audition音频制作
Adobe Audition 同义词 AU(软件(Adobe Audition))一般指Adobe Audition Adobe Audition是一个专业音频编辑和混合环境,原名为Cool Edit ...
- 10个实用的 CSS3 按钮效果制作教程
人们往往喜欢那些有更多互动元素的网站,因此现在很多设计师专注于他们的 CSS3 技能.这是因为 CSS3 技能可以帮助他们在很大的程度上实现所需的吸引力.这里分享的10个优秀的 CSS3 按钮效果制作 ...
随机推荐
- MyBatis-动态SQL的if、choose、when、otherwise、trim、where、set、foreach使用(各种标签详解), 以及实体间关系配置
比较全的文档:https://www.cnblogs.com/zhizhao/p/7808880.html 或 https://blog.csdn.net/zhll3377/article/detai ...
- @ModelAttribute的用法
- JS校验 if (! temp_var) {} //拦截 ''和 undefined
if (! aaa) {} //拦截 ' ' 和 undefined 和 0 不拦截null
- test20180922 倾斜的线
题意 问题描述 给定两个正整数P和Q.在二维平面上有n个整点.现在请你找到一对点使得经过它们的直线的斜率在数值上最接近P/Q(即这条直线的斜率与P/Q的差最小),请输出经过它们直线的斜率p/q.如果有 ...
- python 命名空间和作用域
这是python的难点和特点, 有很多的和c/cpp不一样的地方. 它的灵活易用性造成不习惯之处. refer to: http://blog.csdn.net/cc7756789w/article ...
- dgraph 数据加载
dgraph 可以方便的进行大量的数据加载 下载rdf 文件 wget "https://github.com/dgraph-io/tutorial/blob/master/resource ...
- 如何生成SPFILE文件
1.spfile是Oracle9i之后引入的,目的是提高系统安全性.在Oracle8i下初始化参数文件为文本文件,可以使用文本编辑器进行编辑,当需要修改初始化参数时,需要在init.ora文件中修改, ...
- Python+VSCode+Git 学习总结
稍等,先写个脑图... 继续,读完本文,你会学会: 1.如何在VSCode中写Python代码: 2.如何在VSCode中使用Git: 为什么写这篇总结 首先,我假设你是一名Python语言初学者,你 ...
- 【linux】Linux 进程状态
linux上进程有5种状态: 1. 运行(正在运行或在运行队列中等待) 2. 中断(休眠中, 受阻, 在等待某个条件的形成或接受到信号) 3. 不可中断(收到信号不唤醒和不可运行, 进程必须等待直到有 ...
- ios获取安装的app
http://www.iphonedevsdk.com/forum/iphone-sdk-development/22289-possible-retrieve-these-information.h ...