openwrt源码分析_【转载】openwrt框架分析

这次讲讲openwrt的结构.

1. 代码上来看有几个重要目录package, target, build_root, bin, dl....

---build_dir/host目录是建立工具链时的临时目录

---build_dir/toolchain-*是对应硬件的工具链的目录

---staging_dir/toolchain-* 则是工具链的安装位置

---target/linux/目录里面是各个平台(arch)的相关代码

---target/linux//config-3.10文件就是配置文件了

---dl目录是'download'的缩写, 在编译前期,需要从网络下载的数据包都会放在这个目录下,这些软件包的一个特点就是,会自动安装在所编译的固件中,也就是我们make menuconfig的时候,为固件配置的一些软件包。如果我们需要更改这些源码包,只需要将更改好的源码包打包成相同的名字放在这个目录下,然后开始编译即可。编译时,会将软件包解压到build_dir目录下。

---而在build_dir/目录下进行解压,编译和打补丁等。

---package目录里面包含了我们在配置文件里设定的所有编译好的软件包。默认情况下,会有默认选择的软件包。在openwrt中ipk就是一切, 我们可以使用

$ ./scripts/feeds update来对软件包进行更新.

$ ./scripts/feeds search nmap 查找软件包'nmap'

Search results in feed ’packages’:

nmap

Network exploration and/or security auditing utility

$

./scripts/feeds install nmap 安装'nmap'这个软件

$ make

package/symlinks  //估计意思是更新软件源之类的

---bin目录下生成了很多bin文件,根据不同的平台来区分。另外bin//package目录,里面有很多ipk后缀的文件,都是package目录下的源码在build_dir目录下编译后的生成的结果。

2.

新建自己的packages

对于自己新建的package,而这个package又不需要随固件一起安装,换句话说,就是可以当做一个可选软件包的话。我们可以利用我们的SDK环境来单独编译,编译后会生成一个ipk的文件包。然后利用

opkg install xxx.ipk 来安装这个软件。

下面具体说下,如何编译一个helloword的软件包。

(1)首先,编写helloworld程序

编写helloworld.c

/****************

*

Helloworld.c

* The most simplistic C program ever written.

* An epileptic

monkey on crack could write this code.

*****************/

#include

#include

int main(void)

{

printf("Hell! O' world, why won't my code compile?\n\n");

return

0;

}

编写Makefile文件

# build helloworld

executable when user executes "make"

helloworld: helloworld.o

$(CC) $(LDFLAGS) helloworld.o -o helloworld

helloworld.o: helloworld.c

$(CC) $(CFLAGS) -c helloworld.c

# remove object files and executable when

user executes "make clean"

clean:

rm *.o helloworld

在这两个文件的目录下,执行make

应该可以生成helloworld的可执行文件。执行helloworld后,能够打印出“Hell!O' world, why won't my code

compile?”。 这一步,主要保证我们的源程序是可以正常编译的。

下面我们将其移植到OpenWRT上。

(2)将OpenWrt-SDK-brcm47xx-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1.tar.bz2解压

tar

–xvf

OpenWrt-SDK-brcm47xx-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1.tar.bz2

(3)进入SDK

cd

OpenWrt-SDK-brcm47xx-for-Linux-x86_64-gcc-4.3.3+cs_uClibc-0.9.30.1

可以看到里面的目录结构跟我们之前source的目录结构基本相同,所需要编译的软件包,需要放置在package目录下

(4)在package目录下创建helloworld目录

cd

package

mkdir helloworld

cd helloworld

(5)创建src目录,拷贝

helloworld文件

mkdir src

cp /home/wrt/test/helloworld.c src

cp

/home/wrt/test/Makefile

src

(6)在helloworld目录下创建Makefile文件

这个Makefile文件是给OpenWRT读的,而之前写的那个Makefile文件是针对helloworld给编译其读的。两个Makefile不在同一层目录下。

touch Makefile

vim Makefile

Makefile文件模板内容如下:

##############################################

#

OpenWrt Makefile for helloworld program

#

#

# Most of the variables

used here are defined in

# the include directives below. We just need to

#

specify a basic description of the package,

# where to build our program,

where to find

# the source files, and where to install the

# compiled

program on the router.

#

# Be very careful of spacing in this file.

#

Indents should be tabs, not spaces, and

# there should be no trailing

whitespace in

# lines that are not

commented.

#

##############################################

include

$(TOPDIR)/rules.mk

# Name and release number of this

package

PKG_NAME:=helloworld

PKG_RELEASE:=1

# This specifies

the directory where we're going to build the program.

# The root build

directory, $(BUILD_DIR), is by default the build_mipsel

# directory in your

OpenWrt SDK directory

PKG_BUILD_DIR :=

$(BUILD_DIR)/$(PKG_NAME)

include $(INCLUDE_DIR)/package.mk

#

Specify package information for this program.

# The variables defined here

should be self explanatory.

# If you are running Kamikaze, delete the

DESCRIPTION

# variable below and uncomment the Kamikaze define

# directive

for the description below

define Package/helloworld

SECTION:=utils

CATEGORY:=Utilities

TITLE:=Helloworld --

prints a snarky message

endef

# Uncomment portion below for

Kamikaze and delete DESCRIPTION variable above

define

Package/helloworld/description

If you can't figure out what this

program does, you're probably

brain-dead and need immediate medical

attention.

endef

# Specify what needs to be done to prepare for

building the package.

# In our case, we need to copy the source files to the

build directory.

# This is NOT the default.  The default uses the

PKG_SOURCE_URL and the

# PKG_SOURCE which is not defined here to download the

source from the web.

# In order to just build a simple program that we have

just written, it is

# much easier to do it this way.

define

Build/Prepare

mkdir -p $(PKG_BUILD_DIR)

$(CP) ./src/*

$(PKG_BUILD_DIR)/

endef

# We do not need to define Build/Configure

or Build/Compile directives

# The defaults are appropriate for compiling a

simple program such as this one

# Specify where and how to install

the program. Since we only have one file,

# the helloworld executable,

install it by copying it to the /bin directory on

# the router. The $(1)

variable represents the root directory on the router running

# OpenWrt. The

$(INSTALL_DIR) variable contains a command to prepare the install

# directory

if it does not already exist.  Likewise $(INSTALL_BIN) contains the

# command

to copy the binary file from its current location (in our case the build

#

directory) to the install directory.

define Package/helloworld/install

$(INSTALL_DIR) $(1)/bin

$(INSTALL_BIN)

$(PKG_BUILD_DIR)/helloworld $(1)/bin/

endef

# This line executes

the necessary commands to compile our program.

# The above define directives

specify all the information needed, but this

# line calls BuildPackage which

in turn actually uses this information to

# build a package.

$(eval $(call

BuildPackage,helloworld))

(7)返回到SDK的根目录

执行make进行编译

编译过程会在build_dir目录下完成

编译结果会放在

bin/[yourtarget]/package目录下helloworld_1_bcm47xx.ipk

(8)上传helloworld_1_bcm47xx.ipk

上传helloworld_1_bcm47xx.ipk至路由器

执行#

opkg install

helloworld_1_bcm47xx.ipk

然后输入hello然后按Tab键,发现openwrt中已经有helloworld可执行命令。

执行

helloworld命令来查看程序的效果。

Hell! O' world, why won't my code compile?

OpenWrt源码分析之编译系统 OpenWrt 编译系统介绍 阅读详情

相关推荐

OpenWrt 源码目录分析与最终文件系统分析

OpenWrt 的源码结构和编译生成的固件文件系统遵循 Linux 嵌入式系统的设计模式,但具有其独特的模块化和高度可定制化特点。编译生成的固件文件系统基于开源软件包组合而成,采用。OpenWrt 源码目录主要围绕。设计以实现配置持久化。

a_zxswer的博客 417

openwrt: Makefile 框架分析

本篇的主要目的是想通过分析Makefile,了解openwrt编译过程。着重关注以下几点: openwrt目录结构 主Makefile的解析过程,各子目录的目标生成。 kernel编译过程 firmware的生成过程 软件包的编译过程 openwrt目录结构 官方源下载速度太度,我从github上clone了openwrt的代码仓库。 git clone https://github.com/...

weixin_30949361的博客 1009

OpenWrt开发第6篇:怎么添加OpenWrt的Package-基于Raspberry Pi 4B开发板

如图1所示,首先创建软件包所在的目录,在openwrt根目录中执行mkdir -p package/mypackages/helloworld命令;

指尖动听知识库 303

openwrt-mwan3的分析

mwan3_ifupdown mwan3_set_general_iptables 创建自定义链: mwan3_ifaces mwan3_connected --> $IPS create mwan3_connected hash:net $IPT -A mwan3_connected -m set --mat...

yudelian的博客 2119

error C2039: “int_least8_t”: 不是“`global namespace'”的成员

在向H.265的测试软件HM16.0中配置boost的时候,发现 include <boost/cstdint.hpp>的时候总是会报错:错误 11 error C2039: “int_fast16_t”: 不是“`global namespace'”的成员 D:\Program Files\Caffe\VSContact\boost_1_58_0\boost\cstdint.hpp ...

flyerene的博客 1万+

步进电机 cia402协议 报文自己的理解 (笔记)

步进电机 cia402协议 报文自己的理解 (笔记)

she666666的博客 3828

openwrt中使用ubus实现进程通信

转载:http://www.leshuma.cn/network/server/991.html 摘要: openwrt中使用ubus实现进程通信ubus为openwrt平台开发中的进程间通信提供了一个通用的框架。它让进程间通信的实现变得非常简单,并且ubus具有很强的可移植性,可以很方便ubus为openwrt平台开发中的进程间通信提供了一个通用的框架。它让进程间通信的实现变得非常简单,并且u

u011980566的博客 1377

节卡Jaka Zu APP编程避坑指南:从频繁通讯错误到稳定Socket交互的调试心得

本文详细解析了节卡Jaka Zu APP编程中常见的通讯错误问题,并提供了从基础排查到高级调试的完整解决方案。通过优化网络配置、固件匹配、心跳机制和数据交互规范,开发者可实现稳定的Socket通讯,有效提升工业机器人操控的可靠性。文章特别针对v1.6.7.3版本的典型问题给出了实用调试技巧。

weixin_42639633的博客 328

openwrt 文件系统加载分析

对于使用openwrt的嵌入式系统来说,因为硬件绝大多数采用Flash,因此一般使用squash 文件系统和jffs2文件系统。前者是只读的,后者是可写的。我们一般会把jffs2 mount到某个目录下。这样就存在某些目录如/bin是只读的(squash fs),某些目录是可读写的(jffs2),这样对文件的操作会依赖于文件系统的属性和文件的路径。 openwrt使用了mini_fo文件...

weixin_34146410的博客 215

uniapp [安卓苹果App端] - 实现微信支付功能+拉起微信付款支付后返回本app页面,详解uniApp如何唤起本机微信app并跳转到支付页面全流程及示例源码(uniapp实现微信支付,可打包)

uni-app项目在APP端使用微信支付功能,uniapp前端实现微信支付,uniapp开发安卓App对接微信支付,uniapp苹果ios唤起微信支付,uniapp调用微信支付uniapp开发app-调用微信支付,uniapp开发安卓苹果app如何接入微信支付,前后端应该怎么做,UniApp中实现微信支付功能,支付报错,调起失败没响应,uniapp苹果微信支付唤起实现,app唤起微信支付,拉起微信支付,uniapp中唤醒微信进行支付并返回app,uniApp调起微信支付失败报错,全网最详细的uniapp微信

🏆 前端领域优质创作者 1万+

Apifox接口测试+自动化测试

Apifox 接口测试+自动化测试快速入门!

程序员小杨哥的博客 1万+

Linux设备驱动之HID驱动 源码分析

转载地址:https://www.cnblogs.com/kernel-style/p/3208428.html HID是Human Interface Devices的缩写.翻译成中文即为人机交互设备.这里的人机交互设备是一个宏观上面的概念,任何设备,只要符合HID spec,都可以称之为HID设备.常见的HID设备有鼠标键盘,游戏操纵杆等等.在接下来的代码分析中,可以参考HID的spec.这

kunkliu的博客 1968

大模型多智能体协作面试题及参考答案

在多智能体系统里,代理定义自身目标或效用函数的过程与系统架构、应用场景紧密相关。从本质上讲,目标是代理行为的导向,而效用函数则是对目标达成程度的量化评估。代理通常依据自身角色、系统全局需求以及与其他代理的交互关系来确立目标。比如在合作型 MAS 中,代理目标可能需要与全局目标对齐,像多个物流机器人协作完成货物配送时,每个机器人的目标会围绕 “高效完成分配任务”“避免路径冲突” 等展开,其效用函数可能涉及任务完成时间、能耗等指标的加权求和。目标定义的方式存在多种类型。

大模型大数据攻城狮的专栏 1030

netfilter源码分析(4)-nf_hook_ops 钩子的注册

 netfilter源码分析(4)-nf_hook_ops 钩子的注册 分类: 教程转载 2013-01-29 14:30 255人阅读 评论(0) 收藏 举报 转自:http://alexanderlaw.blog.hexun.com/8968799_d.html 四、nf_hook_ops 钩子的注册 在filter表的初始化函数st

adamska0104的专栏 916

Serial RapidIO Gen2 IP 说明(三)

前言 继续接着上篇文章,介绍Serial RapidIO Gen2 IP 的具体端口信息。 一、端口描述 1、缓冲设计接口 2、物理层接口 参考说明 【1】Serial RapidIO Gen2 v4.1https://china.xilinx.com/content/dam/xilinx/support/documentation/ip_documentation/srio_gen2/v4_1/pg007_srio_gen2.pdf ...

记录所学,分享知识,结识挚友 1327

《备考系统架构设计师》 - 专栏介绍和目录

本专栏包括所有历年真题及详解、章节知识核心总结、精选高分论文、补充知识、专题总结等。欢迎订阅专栏。

数据知道的博客 4万+

docker的网络配置

   Docker的4种网络模式 我们在使用docker run创建Docker容器时,可以用–net选项指定容器的网络模式,Docker有以下4种网络模式: host模式:使用–net=host指定。 container模式:使用–net=container:NAME_or_ID指定。 none模式:使用–net=none指定。 bridge模式:使用–net=b...

weixin_30702887的博客 167

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

openwrt 框架分析

转:openwrt 框架分析link. 阅读目录 openwrt目录结构 main Makefile 第一个逻辑 第二逻辑 目录变量 kernel 编译: 生成firmware 处理vmlinux: Image/BuildKernel 制作squashfs,生成.bin: $(call Image/mkfs/squashfs) OpenWrt是一个典型的嵌入式Linux工程,了解OpenWrt的M...

hxb_pop的博客 1295

lwip-2.0.3

lwip是瑞典计算机科学院(SICS)的Adam Dunkels 开发的一个小型开源的TCP/IP协议栈。实现的重点是在保持TCP协议主要功能的基础上减少对RAM 的占用。

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

OpenWrt源码目录

分析的OpenWrt源码目录有助于分析OpenWrt的源码。

123 8527

3.OpenWrt源码目录分析以及常用工具

清楚源码目录,可更好的了解代码结构,熟悉编译流程。

qq_45056668的博客 1222

思岚激光雷达rplidar从ROS 1到ROS 2的移植

目录前言1. 创建rplida_ros的package2. 拷贝思岚rplidar的sdk以及rivz包3. 为CMakeLists添加rplidar sdk和node的目标编译文件,以及ROS 2 run命令在寻找node时的路径4. 检查依赖问题5. 尝试编译,以解决CMakeLists问题6. 适应ROS 2架构的代码移植a. declare_parameters()b. rclcpp::QoS qos(rclcpp::KeepLast(50))和scan_publisher_ = create_p.

weixin_45710350的博客 3794

OpenWRT 学习

把源文件hello_world.c拷贝到OpenWRT源码交叉编译工具目录。加粗字体根据平台不同可能不一样,不在交叉编译目录编译可能会有依赖报错。最好放tmp目录,~/目录找不到。

马不停提的专栏 812

openwrt--编译源码

编译最新的openwrt源码

qq_28689569的博客 2684

OpenWrt 开发流程(获取源码,编译源码,刷新固件,安装 交叉工具链,设置 环境变量,修改DTS)

OpenWrt 开发流程

Hongwei_1990的博客 9047

openwrt源码编译复盘

编译openwrt源码开启多拨复盘,编译项目的心酸过程

qq_51796970的博客 2109

OpenWrt源码目录结构说明(QSDK)(二)

build_dir目录。

weiliao_的博客 1478
上一篇: ai直线怎么变折线_AI设计折线彩条字教程
下一篇: qml radiobutton 状态改变事件_Qt音视频开发5-vlc事件订阅
weixin_39620684
博客等级 码龄9年 42粉丝 127原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

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

抵扣说明:

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

余额充值