SOC OV788开发:4.autobuild_r2mp.sh 编译脚本参数传递

举报
aiot_bigbear 发表于 2022/09/25 01:58:45 2022/09/25
【摘要】 SOC OV788开发:4.autobuild_r2mp.sh 编译脚本参数传递 autobuild_r2mp.sh menuconfig sample_app sample_hello_world 编...

SOC OV788开发:4.autobuild_r2mp.sh 编译脚本参数传递

autobuild_r2mp.sh menuconfig sample_app sample_hello_world 编译脚本参数传递

linux@ubuntu:~/sdk_ov788/OV788_SDK_52786_1396/Firmware/OV788_SDK_src.52791.1396$ cat autobuild_r2mp.sh

#!/bin/bash

echo $0

echo $1

echo $2

chip=r2 RAMEFS=1 make/build.sh $*

#chip=r2 R2_ROMEFS=1 make/build.sh $*

linux@ubuntu:~/sdk_ov788/OV788_SDK_52786_1396/Firmware/OV788_SDK_src.52791.1396$ vi make/build.sh

#!/bin/bash

echo “0=”$0

echo “1=”$1

echo “2=”$2

echo “3=”$3

echo “chip=”$chip

echo “prj=”$prj

linux@ubuntu:~/sdk_ov788/OV788_SDK_52786_1396/Firmware/OV788_SDK_src.52791.1396$ ./autobuild_r2mp.sh sample_app sample_hello_world

./autobuild_r2mp.sh

sample_app

sample_hello_world

0=make/build.sh

1=sample_app

2=sample_hello_world

3=

chip=r2

prj=

linux@ubuntu:~/sdk_ov788/OV788_SDK_52786_1396/Firmware/OV788_SDK_src.52791.1396$ ./autobuild_r2mp.sh menuconfig sample_app sample_hello_world

./autobuild_r2mp.sh

menuconfig

sample_app

0=make/build.sh

1=menuconfig

2=sample_app

3=sample_hello_world

start menuconfig

share/libwlan_chip/Kconfig:39⚠️ defaults for choice values not supported

Your configuration changes were NOT saved.

Generate prj/r2/sample_app/.sample_hello_world.prj …Done

Generate prj/r2/sample_app/.sample_hello_world.autoconf.h …Done

linux@ubuntu:~/sdk_ov788/OV788_SDK_52786_1396/Firmware/OV788_SDK_src.52791.1396$ ls -l prj/r2/sample_app/.sample_hello_world.prj

-rw-rw-r-- 1 linux linux 735 Apr 15 14:15 prj/r2/sample_app/.sample_hello_world.prj

linux@ubuntu:~/sdk_ov788/OV788_SDK_52786_1396/Firmware/OV788_SDK_src.52791.1396$ vi prj/r2/sample_app/.sample_hello_world.prj

linux@ubuntu:~/sdk_ov788/OV788_SDK_52786_1396/Firmware/OV788_SDK_src.52791.1396$ vi prj/r2/sample_app/.sample_hello_world.autoconf.h

linux@ubuntu:~/sdk_ov788/OV788_SDK_52786_1396/Firmware/OV788_SDK_src.52791.1396$ cat prj/r2/sample_app/.sample_hello_world.autoconf.h

#define CONFIG_SYSCLK_PADCLK 1

#define CONFIG_NOOS_EN 1

#define CONFIG_NO_LIBPRJSHARE 1

#define CONFIG_CLEAR_SHARE_DATA 1

#define CONFIG_UART_PRINT 1

#define CONFIG_BOARD_EXTRA_HEADER “board_V2.h”

linux@ubuntu:~/sdk_ov788/OV788_SDK_52786_1396/Firmware/OV788_SDK_src.52791.1396$ cat prj/r2/sample_app/.sample_hello_world.prj

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

# This file is Auto-generated from prj/ ( C H I P ) / (CHIP)/ (CHIP)/(PRJ)/$(APP).config, DON’T EDIT !!!

#

# If you want to change options, edit prj/ ( C H I P ) / (CHIP)/ (CHIP)/(PRJ)/$(APP).config

# or, use “autobuild.sh menuconfig PRJ APP” to generate $(APP).config

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

######## old style configs ########

PADCLK := PAD24M

SYSCLK := PADCLK

NOOS_EN := 1

NO_LIBPRJSHARE := 1

CLEAR_SHARE_DATA := 1

UART_PRINT := 1

BOARD_EXTRA_HEADER := board_V2.h

######## new style configs ########

CONFIG_PADCLK := PAD24M

CONFIG_SYSCLK := PADCLK

CONFIG_NOOS_EN := 1

CONFIG_NO_LIBPRJSHARE := 1

CONFIG_CLEAR_SHARE_DATA := 1

CONFIG_UART_PRINT := 1

CONFIG_BOARD_EXTRA_HEADER := board_V2.h

文章来源: blog.csdn.net,作者:悟空胆好小,版权归原作者所有,如需转载,请联系作者。

原文链接:blog.csdn.net/xushx_bigbear/article/details/123079099

【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@huaweicloud.com
  • 点赞
  • 收藏
  • 关注作者

评论(0

0/1000
抱歉,系统识别当前为高风险访问,暂不支持该操作

全部回复

上滑加载中

设置昵称

在此一键设置昵称,即可参与社区互动!

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。

*长度不超过10个汉字或20个英文字符,设置后3个月内不可修改。