使Code::Blocks适合ARM开发

实时操作系统-NuttX学习笔记(2)-Code::Blocks IDE编译和调试技巧 视频教程地址 1 安装工具 step1 安装arm平台的gdb调试工具 sudo apt-get install gdb-arm-none-eabi step2 安装集成开发环境code::blocks sudo apt-get install codeblocks step3 启动Code::Blocks 执行sudo codeblocks step4 配置Code::Blocks Settings--->Debugger--->GDB/CDB debugger--->Creat 阅读详情

Adapting Code::Blocks IDE for ARM Development[1]
使Code::Blocks适合ARM开发

This brief guide can be followed after the ARM-GCC toolchain is setup.
在安装过ARM-GCC工具链后,即可按照此简明指南来做。

For instructions to setup the ARM-GCC toolchain,
refer to the “Setting up the ARM-GCC Toolchain on Windows” page of this site.
对于安装ARM-GCC工具链的用法说明,参考本站的“Windows下ARM-GCC工具链的安装”[2] 。

I recently found perhaps the only other suitable IDE for Windows
named Code::Blocks.
我最近找到的适合IDE也许只有Windows下的Code::Blocks了。
注:Ubuntu下也可以用Code::Blocks,到我翻译这篇文章止版本为8.02。

Unlike Eclipse, it’s slim, fast and native.
不像Eclipse,它是小巧、快速、原生(不依赖其它平台运行,如Java、.net平台)。

Like Eclipse, it’s highly configurable and can be used with GCC.
注:Ubuntu下Code::Blocks v8.02的使用自定义Makefile的设置如下:
像Eclipse一样,它具有高度可配置性并且可以使用GCC。

In addition,
Code::Blocks can be easily used with
GDB to debug your code (major factor in choosing another IDE).
另外,Code::Blocks 可以容易的使用GDB来调试你的代码(挑选类似IDE的主要因素)。

This is good to use later with OCDRemote/gcc to
debug your ARM code (although I haven’t configured it, yet.)
以后使用OCDRemote/gcc[3] 调试你的ARM代码也会很好(虽然我还没有配置它)。

So here are the instructions for setting up the Code::Blocks to work with
the ARM GCC toolchain.
所以这里是建立Code::Blocks与ARM GCC工具链共同工作的用法说明。

To do this,
all that needs to be done is configuring Code::Blocks to
use an external Makefile,
but finding the location of these settings took a rather long time.
为了做到这点,
必须完成配置Code::Blocks使用一个外部的Makefile文件,
仅仅找这些配置的位置就花费了很长时间。

Step One – Create a New Project
第一步 - 创建一个新工程

Since none of the included project templates really fit for
ARM GCC development,
it’s easiest to start out by making a new blank project.
由于ARM GCC开发空工程模板很合适,因为一个空的新工程是最容易着手进行的。

So do this by clicking on the “Project” menu, then “New empty project”.
新建空工程通过点击“工程”菜单项,然后选择“新建空工程”。(如下图)
使Code::Blocks适合ARM开发

注:Ubuntu下的Code::Blocks v8.02新建空工程方式有所不同,详见下图:
使Code::Blocks适合ARM开发  

使Code::Blocks适合ARM开发

由于无法在Ubuntu上调试故此只创建“Release”配置即可!(IDE要求必须创建一个Debug或Release的配置)

使Code::Blocks适合ARM开发
注:Ubuntu下Code::Blocks v8.02的使用自定义Makefile的设置如下:

点击上面界面的Finish按钮后,
你就点击[Build]菜单 -> [Rebuild] 或 [Rebuild workspace]菜单项,编译空工程的话,
就会从编译日志标签“Build log”得到如下错误提示:
make: *** 没有规则可以创建目标“Release”。 停止。
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warnings

解决方法自然是添加源代码文件与其相关的头文件了!Makefile文件也可以添加,会放入 Others 分类中。
使Code::Blocks适合ARM开发

注:添加完文件后,再点击[project]菜单 -> 选择[Build options...]菜单项 ->
    删除 "Make" commands 选项卡内所有 $target


Save the project in the folder of your project,
where you plan to hold the code.Adapting Code::Blocks IDE for ARM Development[1]
使Code::Blocks适合ARM开发

This brief guide can be followed after the ARM-GCC toolchain is setup.
在安装过ARM-GCC工具链后,即可按照此简明指南来做。

For instructions to setup the ARM-GCC toolchain,
refer to the “Setting up the ARM-GCC Toolchain on Windows” page of this site.
对于安装ARM-GCC工具链的用法说明,参考本站的“Windows下ARM-GCC工具链的安装”[2] 。

I recently found perhaps the only other suitable IDE for Windows
named Code::Blocks.
我最近找到的适合IDE也许只有Windows下的Code::Blocks了。
注:Ubuntu下也可以用Code::Blocks,到我翻译这篇文章止版本为8.02。

Unlike Eclipse, it’s slim, fast and native.
不像Eclipse,它是小巧、快速、原生(不依赖其它平台运行,如Java、.net平台)。

Like Eclipse, it’s highly configurable and can be used with GCC.
像Eclipse一样,它具有高度可配置性并且可以使用GCC。

In addition,
Code::Blocks can be easily used with
GDB to debug your code (major factor in choosing another IDE).
另外,Code::Blocks 可以容易的使用GDB来调试你的代码(挑选类似IDE的主要因素)。

This is good to use later with OCDRemote/gcc to
debug your ARM code (although I haven’t configured it, yet.)
以后使用OCDRemote/gcc[3] 调试你的ARM代码也会很好(虽然我还没有配置它)。

So here are the instructions for setting up the Code::Blocks to work with
the ARM GCC toolchain.
所以这里是建立Code::Blocks与ARM GCC工具链共同工作的用法说明。

To do this,
all that needs to be done is configuring Code::Blocks to
use an external Makefile,
but finding the location of these settings took a rather long time.
为了做到这点,
必须完成配置Code::Blocks使用一个外部的Makefile文件,
仅仅找这些配置的位置就花费了很长时间。

Step One – Create a New Project
第一步 - 创建一个新工程

Since none of the included project templates really fit for
ARM GCC development,
it’s easiest to start out by making a new blank project.
由于ARM GCC开发空工程模板很合适,因为一个空的新工程是最容易着手进行的。

So do this by clicking on the “Project” menu, then “New empty project”.
新建空工程通过点击“工程”菜单项,然后选择“新建空工程”。(如下图)
使Code::Blocks适合ARM开发

注:Ubuntu下的Code::Blocks v8.02新建空工程方式有所不同,详见下图:
使Code::Blocks适合ARM开发  

使Code::Blocks适合ARM开发

由于无法在Ubuntu上调试故此只创建“Release”配置即可!(IDE要求必须创建一个Debug或Release的配置)

使Code::Blocks适合ARM开发
注:Ubuntu下Code::Blocks v8.02的使用自定义Makefile的设置如下:

点击上面界面的Finish按钮后,
你就点击[Build]菜单 -> [Rebuild] 或 [Rebuild workspace]菜单项,编译空工程的话,
就会从编译日志标签“Build log”得到如下错误提示:
make: *** 没有规则可以创建目标“Release”。 停止。
Process terminated with status 2 (0 minutes, 0 seconds)
0 errors, 0 warnings

解决方法自然是添加源代码文件与其相关的头文件了!Makefile文件也可以添加,会放入 Others 分类中。
使Code::Blocks适合ARM开发

注:添加完文件后,再点击[project]菜单 -> 选择[Build options...]菜单项 ->
    删除 "Make" commands 选项卡内所有 $target


Save the project in the folder of your project,
where you plan to hold the code.
保存这个新建的空工程到你想要保存代码的目录文件里。

You will see several window panes in the IDE.
你将在这个IDE里看见几个窗格。

I will briefly describe them here:
我将这里简略地描述它们:

1)Management Pane 管理窗格
使Code::Blocks适合ARM开发

The Management Pane contains three tabs that are all somehow related to the code itself.
这个管理窗格包含三个不同方式来讲述代码的标签。

First is the “Projects” tab,
which lists the opened projects in the workspace,
and the files that are associated with the project.
第一个是“工程”标签,列举这个工作空间中的全部工程与其文件。

The files are automatically separated into three sections: Sources, Headers, and Others.
文件自动区分为三组:源代码,头文件与其它。

Double-clicking on a file will bring it up for editing in the editor.
双击一个文件将可在编辑器中打开编辑。

保存这个新建的空工程到你想要保存代码的目录文件里。

You will see several window panes in the IDE.
你将在这个IDE里看见几个窗格。

I will briefly describe them here:
我将这里简略地描述它们:

1)Management Pane 管理窗格
使Code::Blocks适合ARM开发
注:Ubuntu下Code::Blocks v8.02的使用自定义Makefile的设置如下:

The Management Pane contains three tabs that are all somehow related to the code itself.
这个管理窗格包含三个不同方式来讲述代码的标签。

First is the “Projects” tab,
which lists the opened projects in the workspace,
and the files that are associated with the project.
第一个是“工程”标签,列举这个工作空间中的全部工程与其文件。

The files are automatically separated into three sections: Sources, Headers, and Others.
文件自动区分为三组:源代码,头文件与其它。

Double-clicking on a file will bring it up for editing in the editor.
双击一个文件将可在编辑器中打开编辑。

 

Second is the “Symbols” tab, which outlines all of the functions, variables, enumerations,
preprocessor directives, and classes existing in the code of the project.
第二个是“符号”标签,概述工程代码中的全部的函数、变量、枚举、宏定义(预处理器指令)、类。

Double-clicking on any one of these elements will bring it up highlighted in the editor.
双击这些元素中的任意一个将可在编辑器中高亮显示。

The third and final tab is the “Watches” tab,
which is used to add debugging watches to variables.
这最后的第三个标签是“察看”,习惯用于调试察看变量。

2)Messages Pane 信息窗格
使Code::Blocks适合ARM开发
The Messages Pane stores the general output from several sources.
这个信息窗格汇集了若干源文件的总的信息输出。

It has tabs to easily switch between these message categories.
它有几个标签可以轻易地切换不同种类信息。

The “Code::Blocks” messages tab obviously holds the message output from
Code::Blocks itself,
which is usually irrelevant to development.
“Code::Blocks”信息标签包含显示来自Code::Blocks自身输出与开发无关的信息。

If a problem occurs with the IDE,
this would be a good place to check for troubleshooting.
如果这个IDE出现问题,这将是一个发现并修理故障的好地方。

The next tab is the “Search Results” tab,
which is pretty self-explanatory.
紧邻的标签很清楚是“搜索结果”标签。

Clicking on a search result will open the file and
highlight the line containing the search term(s) in the editor.
点击一个搜索结果将在编辑中打开文件并高亮显示包含搜索项的行。

The next tab is the “Build log”,
and holds the commands made to the compiler,
linker and other tools.
再紧邻的标签是“编译日志”,包含编译器,链接器和其它工具的命令日志。

Next is the “Build messages” tab,
which lists the errors or warnings present in the code that was caught by the compiler,
including the file and line number at which the error/warning is located.
再紧邻的是“编译信息”标签,列举编译器关于代码的错误或警告,其中文件与行号定位错误或警告。

The next tab is the “Debugger” tab,
which will contain the output of the chosen debugger.
再紧邻的标签是“调试器”标签,包含选定调试器的输出信息。

The final tab is the “To-Do List” tab,
which lists To-Do items that are present in the code.
这最后的标签是“任务列表”标签,列举代码中当前待办事项项目。

To-Do items are defined by Code::Blocks as a comment in code,
and can be added by right-clicking on
a line in the editor and clicking “Add To-Do Item…”.
待办事项是Code::Blocks在代码中定义的注释,可以点击由通过右键点击编译器中的一行弹出的菜单项“添加待办事项...”来添加。

3)Editor Window 编辑器窗口
使Code::Blocks适合ARM开发
Probably the most important part of the IDE, the text editor itself.
大概这个文本编辑器是IDE最重要的部分。

It supports syntax highlighting,
several forms of autocompletion,
collapsing code segments, and much more.
它支持语法高亮,自动完成输入,折叠代码段,等等。

It can be highly customized under the “Settings” menu, in the “Editor” settings.
可以在“设置”菜单中的“编辑器”菜单项中高度自定义。

Notably, the font, indentations, colors, and auto-completion can be configured.
显著地,字体,缩排,颜色,自动完成功能可以是配置的。

In addition,
“Default Code” can be defined to be written whenever
a new source/header file is created.
另外,“默认代码”可以在每当创建一个新源代码文件或头文件时写好已定义的文字内容。

Step Two – Configure Build Settings
第二步 - 配置编译设置

The next step is to setup Code::Blocks to
use an external Makefile instead of automatically and
directly calling GCC.
下一步是设置Code::Blocks使用一个外部的Makefile文件自动直接地调用GCC。

Click on the “Settings” menu, then “Compiler”.
点击“设置”菜单,然后“编译器”。

1. Keep your Selected Compiler as the “GNU GCC Compiler”.
1. 保持选择“GNU GCC Compiler”编译器。

2. Click on the “Other” tab.
2. 点击“其它”标签。

3. Change “Build Method” to “Work with Makefiles (GNU ‘make’ is required)”.
3. 改变“编译方式”为“按项目组成文件Makefiles工作(GNU make工具是必需的)”。

4. Click “OK” to close the window.
4. 点击“确定”关闭窗口。

使Code::Blocks适合ARM开发
注:Ubuntu下Code::Blocks v8.02的使用自定义Makefile的设置如下:

Next the path of the Makefile must be defined.
在这之后Makefile的路径一定要确定。

Click on the “Project” menu, then “Properties”.
点击“工程”菜单,然后点“属性”。

1. Type the name of the external Makefile

  (given it is in the same directory as where the project is saved, if not,
    modify the path revelant to the project file or provide an absolute path)
   in the “Makefile:” textbox.
1. 键入外部的Makefile文件的名字(如果不是与保存工程的目录相同,则修改为相对或绝对路径)
   在“Makefile:”后的文本框中。

2. Check the “This is a Custom Makefile” checkbox.
2. “这是一个自定义Makefile”复选框选上(打上勾)。

3. Click “OK” to close the window.
3. 点击“确定”关闭窗口。

使Code::Blocks适合ARM开发

注:Ubuntu下Code::Blocks v8.02的使用自定义Makefile的设置如下:
一、 修改 GNU ARM GCC Compiler

1. [Settings] -> [Compiler and debugger settings]
    将Setected compiler 修改为GNU ARM GCC 编译器。
使Code::Blocks适合ARM开发


2. 在同页面选择 [Toolchain executables]选项卡中的[program files]选项页,
    1) 先修改 Compiler's installation directory 为你的ARM GCC Compiler安装所在地址;
    2) 再选择替换C编译器(arrm-linux-gcc)、C++编译器(arm-linux-g++)、
        动态库链接器(arm-linux-g++)、静态库链接器(arm-linux-ar)、调试器(arm-linux-gdb);
    注:make程序还用/usr/bin/make,即GNU GCC 自带的即可!
使Code::Blocks适合ARM开发


二、点击[project]菜单 -> 选择[Properties...]菜单项 ->
    勾选 “This is a custom Makefile” 前的复选框
使Code::Blocks适合ARM开发

使Code::Blocks适合ARM开发

三、点击[project]菜单 -> 选择[Build options...]菜单项 ->
    删除 "Make" commands 选项卡内所有 $target

使Code::Blocks适合ARM开发

 

Here is a list of several features Code::Blocks features which
you can further configure if you please:
这里是一些你愿意进一步配置Code::Blocks的若干特征列表:

 1) Intellisense-like Completion
  1) 智能感知输入提示完成

 2) Keyword Auto-Completion
  2) 关键字自动完成

 3) User-Defined External Tools
  3) 用户定义的外部工具

 4) Project To-Do list
  4) 工程任务列表

 5) Built-In Compiler Flag Configuration
    (although obviously irrelevant if using your own Makefile)
 5) 内置编译器标志配置
    (如果使用你自己的Makefile显然无关)

 6) Very Adaptable Text Editor
 6) 非常适应性强的文本编译器

 7) Importing of Dev-C++, MS Visual Studio,
    or MS Visual C++ projects/workspaces/solutions.
 7) 导入Dev-C++, MS Visual Studio或MS Visual C++的工程、工作空间、解决方案

 8) Additional Code::Blocks Plugins
 8) 附加的Code::Blocks插件

Code::Blocks Messages Pane Thumb
Code::Blocks 信息窗格块

[1] http://www.frozeneskimo.com/electronics/arm-tutorials/adapting-codeblocks-ide-for-arm-development/
[2] http://www.frozeneskimo.com/electronics/arm-tutorials/setting-up-the-arm-gcc-toolchain-on-windows/
[3] OcdRemote程序提供了Eclipse、GDB调试器和Macraigor片上调试设备之间的接口。

原文 http://blog.sina.com.cn/s/blog_4c451e0e0100ge3z.html

AB5768E开发为何首选Code::Blocks与ARM-GCC 嵌入式开发中,ARM Cortex-M4芯片的编译环境选择本质是工具链与SDK工程范式的匹配问题。Code::Blocks作为轻量级IDE,其对GCC原生支持、Makefile透明控制和Post-build脚本能力,使其成为AB5768E等国产SoC SDK的理想载体;而ARM-GCC工具链则提供对硬浮点(-mfloat-abi=hard)、定制链接脚本(.ld)及bin输出等底层构建能力的直接操控。这种‘去魔法化’的极简可控模式,显著降低启动成本、提升调试可追溯性,特别适用于蓝牙音频类低功耗SoC的量产级 阅读详情

相关推荐

LVGL 模拟器方案对比:Code::Blocks vs VSCode vs Keil 5项指标实测

本文对比了LVGL模拟器在Code::Blocks、VSCode+CMake和Keil MDK三种环境下的性能表现,包括环境搭建复杂度、编译运行效率、调试功能、跨平台支持和社区资源。实测数据显示,Code::Blocks安装简便且内存占用低,VSCode+CMake编译速度最快且扩展性强,Keil MDK则适合硬件仿真和深度调试。根据开发需求,文章提供了针对不同场景的选型建议。

sunjhgq的专栏 401

Codeblocks & 开发板调试简单教程

转载自:http://blog.sina.com.cn/s/blog_5cf457370100f6q0.html远程调试十分也有用,而且很方便!Codeblocks作为linux下的C/C++ 集成开发环境(IDE)也十分好用。1.PC机的Codeblocks设置:当然,肯定是要装有Codeblocks才行啊,怎么装可以google一下。# codeblocks 打开Codeblo

2077

在 Code Blocks 中开发 STM32F10x

1 下载:Sourcery G++ Lite for ARM EABI 2 设置编译器路径: 从 GCC ARM 拷贝而来 改名为: CodeSourcery G++ Lite 3 新建ARM Project 4 添加STM32库文件,和 mdk 类似   注意:需要添加 gcc_ride7文件夹中的 GCC的启动文件: xxx.s 且添加core_cm3.c 5 加...

weixin_34344403的博客 2189

codeblocks linux arm,Linux下CodeBlocks远程调试ARM程序环境搭建

Codeblocks:Release 8.02、宿主机:ubuntu10.04、开发板:嵌入式linux操作系统。1Codeblocks配置交叉编译环境如下图所示,由上到下的选择,1处直接选择即可。2处是你交叉编译器安装位置,3 4 5 6 可以在你交叉编译器安装位置下的bin目录找到。注:2处的Compiler's installation directory 目录一定要设置正确,一定是交叉编...

weixin_29811891的博客 844

LVGL PC模拟器 3种IDE方案对比:Visual Studio vs VSCode vs Code::Blocks

本文深度对比了LVGL PC模拟器在Windows平台下的三种主流开发环境:Visual Studio、VSCode+CMake和Code::Blocks。从环境配置复杂度、调试体验、项目管理到跨平台兼容性进行全面分析,帮助开发者根据项目需求选择最优方案,提升嵌入式GUI开发效率。

无花的专栏 527

code blocks 编译arm的配置.pdf

一个Windows下的gnu开发 IDE。不用虚拟机。方便用于开发ARM Linux。

Codeblocks配置交叉编译环境

打开codeblocks-settings-compiler选项,找到toolchain executables,选择GNU GCC Compiler for ARM,打开刚刚安装的交叉编译器路径。codeblocks是一款C/C++ide,轻量、便携、全平台,且可以安装多款编译器。很适合编译linux应用。4、为工程添加文件,我这里随便写了一个main。7、开始编译,可以看到成功输出test.elf。1、安装codeblocks和交叉编译器。6、将右边输出文件改成elf格式,OK。

qq_19440071的博客 1755

Linux下使用codeblocks交叉编译ARM-LINUX-GCC程序

Linux下使用codeblocks交叉编译ARM-LINUX-GCC程序

linux编写程序怎么用到stm32,如何在Linux下为STM32 MCU构建代码

步骤1:安装必需的软件首先,安装必需的软件。为ARM安装gcc编译器:gcc编译器包含用于编译,链接和构建MCU的构建代码的工具。安装以下三个软件包:gcc-arm-none-eabibinutils-arm-none-eabilibnewlib-arm-none-eabisudo apt-get install gcc-arm-none-eabi binutils-arm-none-eabi l...

weixin_29137599的博客 622

CodeBlocks详细使用手册.doc

CodeBlocks详细使用手册,介绍详细,适合初学者逐步学习

在windows下用免费的code::blocks和avr_gcc开发avr单片

外国人搞的。在winodws下用code::blocks开发avr 单片机。有非常详细的文档说明,还有一个脚本插件。只需要用avr-gcc和code::blocks就可以非常方便的开发AVR。

Ubuntu下使用Code::Blocks+OpenOCD+GDB搭建Atmel MCU开发调试环境

在Ubuntu下搭建Atmel MCU开发环境1、准备工作安装Code::Blocks下载arm-none-eabi-gcc编译器安装OpenOCD工具2、配置Code::Blocks创建一个新的Debugger配置配置Compiler3、start.atmel.com下载官方例程如何改变文本的样式插入链接与图片如何插入一段漂亮的代码片生成一个适合你的列表创建一个表格设定内容居中、居左、居右Sma...

Open Source RTOS Development 1255

stm32-codeblocks:STM32 ARM处理器(以及其他ARM MCU)的代码块模板

用于代码块的STM32模板 1-该模板是使用STM32F0驱动程序(HAL)制作的,该代码在STM32F0 Discovery上具有全部功能。 运行该项目,两个LED将闪烁。 2-尽管CB已设计为可在跨平台上运行,但此模板是在Linux上制作的。 3-您将需要安装: a) arm-none-eabi* (gcc, binutils,...) b) OpenOCD to debug c) stlink (st-flash, ...) to flash without debug : https://github.com/texane/stlink 4-设置gcc-arm: a)转到CodeBlocks菜单设置->编译器在“选定的编译器”中,按“复制”并重命名按钮在“选定的编译器”中选择新的编译器 在“搜索目录”选项卡上,添加安装在“编译器”上的arm-none-eabi- * i

Ubuntu Terminal 打开 Code::Blocks

Ubuntu Terminal 打开 Code::Blocks

程永强 1897

告别手动处理:用 Bruker NSMatlabUtilities 工具箱批量分析 AFM 力曲线数据的实战案例

本文介绍了如何使用 Bruker NSMatlabUtilities 工具箱实现 AFM 力曲线数据的批量分析,解决传统手动处理耗时且易出错的问题。通过实战案例展示工具箱的核心功能,包括数据读取、力曲线分析和可视化,帮助科研人员提升数据处理效率和准确性。

weixin_28362173的博客 215

​​WPF入门与XAML基础:从零开始构建你的第一个WPF应用​

本文是WPF入门系列首篇,详细介绍WPF的核心优势与开发环境搭建。通过创建第一个WPF项目,解析MainWindow.xaml和App.xaml等关键文件,深入讲解XAML基础语法,包括属性赋值、命名空间和事件绑定。最后通过按钮点击交互示例演示WPF应用程序运行流程,帮助开发者快速上手WPF开发,为后续学习布局系统和数据绑定等高级主题奠定基础。

Hare的博客 3326

Ubuntu下使用JLink+Code::Blocks搭建Atmel ARM调试环境

JLink I uploaded a video to YouTube JLink

Open Source RTOS Development 953

手把手教你用89C52单片机驱动0.96寸OLED(IIC接口,附完整代码)

本文详细介绍了如何使用89C52单片机通过I2C接口驱动0.96寸OLED显示屏,包括硬件连接、I2C通信原理、SSD1306驱动芯片的初始化及显存管理技巧,并提供了完整的代码示例和常见问题排查方法,帮助电子爱好者快速掌握OLED显示技术。

weixin_30781433的博客 375

更换编译器,CODE::BLOCKS 无法DEBUG 至断点

 想在LINUX下使用CODE::BLOCKS 编写调试并编译连接ARM运行程序。IDE编译环境默认为:GNU GCC 编译器。修改如下:1. 至Settings->Compiler and debugger settings 将Setected compiler 修改为GNU ARM GCC 编译器。2.在同页面选择子页‘Toolchain executables’->program file

qicksand的专栏 1910

CAPL诊断功能实现

UDS(Unified Diagnostic Services)是一种用于汽车电子系统诊断的标准协议。它定义了一系列诊断服务,用于读取和写入车辆电子控制单元(ECU)中的数据,以及处理诊断故障码(DTC)。UDS协议通常运行在CAN总线上,使用ISO 15765-2(ISO-TP)协议进行数据传输。通过本文的学习,读者应该对CAPL诊断功能实现有了初步的了解,并能够编写复杂的CAPL脚本。在实际项目中,CAPL的应用非常广泛,希望读者能够通过不断的学习和实践,掌握更多的CAPL技巧,提高自己的开发能力。

闲人编程的博客 1519

【知识分享】IBIS 建模指南 04

文章详细阐述了将缓冲器数据转换为IBIS模型格式的核心步骤与规范要求。主要内容包括:1)IBIS文件三大结构(文件头信息、组件引脚映射、缓冲器行为描述)及其关键词定义;2)四种关键I-V表(上下拉、电源/地钳位)的数据处理规则,强调需避免重复计算效应;3)切换特性描述方法,指出V-T波形表优于Ramp数据的三大优势;4)差分缓冲器通过[DiffPin]关键词实现建模的特殊流程。文中特别强调数据外推校验、参考电压基准转换、工艺角数据排序等易错环节的处理技巧,为创建符合IBIS 4.0规范的精确模型提供指导。

一只豌豆象的博客 2057

杰里AC79XX开发环境搭建:Code::Blocks与ARM GCC实战指南

嵌入式开发的核心在于将高级语言代码转化为能在微控制器上运行的机器指令,这一过程依赖于完整的工具链。其原理涉及编译器、链接器和调试器的协同工作,通过交叉编译将代码适配到特定ARM架构。掌握工具链配置对于实现代码优化、降低硬件成本和加速产品上市至关重要,尤其在物联网、消费电子等对成本敏感的应用场景中。本文以高性价比的蓝牙音频SoC杰里AC79XX系列为例,详细解析如何在Windows平台使用Code::Blocks IDE配合ARM GCC工具链,完成从SDK获取、工程配置到编译下载的全流程,并针对“环境变量配

weixin_29191761的博客 310

HTML爱心字母雨(完整代码)

HTML语言实现爱心字母雨的完整代码。

AIGC 2万+
上一篇: Code::Blocks 處理 Qt moc 的方法
下一篇: Dynamic Programming
jtop0
博客等级 码龄18年 126粉丝 35原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值