Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
tools-mirror
Micropython
提交
6a9db521
M
Micropython
项目概览
tools-mirror
/
Micropython
12 个月 前同步成功
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
Micropython
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6a9db521
编写于
5月 17, 2023
作者:
D
Damien George
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
github/workflows: Update esp32 CI to use IDF v5.0.
Signed-off-by:
N
Damien George
<
damien@micropython.org
>
上级
68e0e889
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
7 addition
and
44 deletion
+7
-44
.github/workflows/ports_esp32.yml
.github/workflows/ports_esp32.yml
+2
-11
tools/ci.sh
tools/ci.sh
+5
-33
未找到文件。
.github/workflows/ports_esp32.yml
浏览文件 @
6a9db521
...
@@ -18,20 +18,11 @@ concurrency:
...
@@ -18,20 +18,11 @@ concurrency:
cancel-in-progress
:
true
cancel-in-progress
:
true
jobs
:
jobs
:
build_idf
402
:
build_idf
50
:
runs-on
:
ubuntu-20.04
runs-on
:
ubuntu-20.04
steps
:
steps
:
-
uses
:
actions/checkout@v3
-
uses
:
actions/checkout@v3
-
name
:
Install packages
-
name
:
Install packages
run
:
source tools/ci.sh && ci_esp32_idf402_setup
run
:
source tools/ci.sh && ci_esp32_idf50_setup
-
name
:
Build
run
:
source tools/ci.sh && ci_esp32_build
build_idf44
:
runs-on
:
ubuntu-20.04
steps
:
-
uses
:
actions/checkout@v3
-
name
:
Install packages
run
:
source tools/ci.sh && ci_esp32_idf44_setup
-
name
:
Build
-
name
:
Build
run
:
source tools/ci.sh && ci_esp32_build
run
:
source tools/ci.sh && ci_esp32_build
tools/ci.sh
浏览文件 @
6a9db521
...
@@ -115,35 +115,13 @@ function ci_cc3200_build {
...
@@ -115,35 +115,13 @@ function ci_cc3200_build {
########################################################################################
########################################################################################
# ports/esp32
# ports/esp32
function
ci_esp32_
setup_helper
{
function
ci_esp32_
idf50_setup
{
pip3
install
pyelftools
pip3
install
pyelftools
git clone https://github.com/espressif/esp-idf.git
git clone https://github.com/espressif/esp-idf.git
git
-C
esp-idf checkout
$1
git
-C
esp-idf checkout v5.0.2
git
-C
esp-idf submodule update
--init
\
components/bt/host/nimble/nimble
\
components/esp_wifi
\
components/esptool_py/esptool
\
components/lwip/lwip
\
components/mbedtls/mbedtls
if
[
-d
esp-idf/components/bt/controller/esp32
]
;
then
git
-C
esp-idf submodule update
--init
\
components/bt/controller/lib_esp32
\
components/bt/controller/lib_esp32c3_family
else
git
-C
esp-idf submodule update
--init
\
components/bt/controller/lib
fi
./esp-idf/install.sh
./esp-idf/install.sh
}
}
function
ci_esp32_idf402_setup
{
ci_esp32_setup_helper v4.0.2
}
function
ci_esp32_idf44_setup
{
ci_esp32_setup_helper v4.4.2
}
function
ci_esp32_build
{
function
ci_esp32_build
{
source
esp-idf/export.sh
source
esp-idf/export.sh
make
${
MAKEOPTS
}
-C
mpy-cross
make
${
MAKEOPTS
}
-C
mpy-cross
...
@@ -151,15 +129,9 @@ function ci_esp32_build {
...
@@ -151,15 +129,9 @@ function ci_esp32_build {
make
${
MAKEOPTS
}
-C
ports/esp32
\
make
${
MAKEOPTS
}
-C
ports/esp32
\
USER_C_MODULES
=
../../../examples/usercmodule/micropython.cmake
\
USER_C_MODULES
=
../../../examples/usercmodule/micropython.cmake
\
FROZEN_MANIFEST
=
$(
pwd
)
/ports/esp32/boards/manifest_test.py
FROZEN_MANIFEST
=
$(
pwd
)
/ports/esp32/boards/manifest_test.py
if
[
-d
$IDF_PATH
/components/esp32c3
]
;
then
make
${
MAKEOPTS
}
-C
ports/esp32
BOARD
=
GENERIC_C3
make
${
MAKEOPTS
}
-C
ports/esp32
BOARD
=
GENERIC_C3
make
${
MAKEOPTS
}
-C
ports/esp32
BOARD
=
GENERIC_S2
fi
make
${
MAKEOPTS
}
-C
ports/esp32
BOARD
=
GENERIC_S3
if
[
-d
$IDF_PATH
/components/esp32s2
]
;
then
make
${
MAKEOPTS
}
-C
ports/esp32
BOARD
=
GENERIC_S2
fi
if
[
-d
$IDF_PATH
/components/esp32s3
]
;
then
make
${
MAKEOPTS
}
-C
ports/esp32
BOARD
=
GENERIC_S3
fi
# Test building native .mpy with xtensawin architecture.
# Test building native .mpy with xtensawin architecture.
ci_native_mpy_modules_build xtensawin
ci_native_mpy_modules_build xtensawin
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录