Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] env2.0引入的部分python语法不兼容问题 #9141

Open
Rbb666 opened this issue Jul 6, 2024 · 2 comments
Open

[Bug] env2.0引入的部分python语法不兼容问题 #9141

Rbb666 opened this issue Jul 6, 2024 · 2 comments
Labels
discussion This PR/issue needs to be discussed later

Comments

@Rbb666
Copy link
Member

Rbb666 commented Jul 6, 2024

RT-Thread Version

4.x 5.0.0 5.0.2

Hardware Type/Architectures

none

Develop Toolchain

MDK Keil

Describe the bug

在2.0版本env-windows工具测试生成mdk工程出现的问题:

  • 内核版本:经测试除了当前 master 分支,4.x、5.0.x、5.1.0 版本内核都会这个问题
  • 分析:主要原因是env2.0升级了py3版本,部分语法和py3不兼容:decode 函数,py3由于字符串已经是utf8了不需要再次decode。如果修改,则所有版本rtt仓库都需要调整 tools/keil iar....py 文件

Other additional context

No response

@Rbb666 Rbb666 changed the title [Bug] [Bug] env2.0引入的部分python语法不兼容问题 Jul 6, 2024
@mysterywolf
Copy link
Member

这个可以考虑5.2.0使用env2.0,其他版本继续使用env 1.5.x

@mysterywolf mysterywolf added the discussion This PR/issue needs to be discussed later label Jul 6, 2024
@ComerLater
Copy link
Contributor

这个可以考虑5.2.0使用env2.0,其他版本继续使用env 1.5.x

估计是一种比较好的解决思路,这样env2.0没有历史包袱

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion This PR/issue needs to be discussed later
Projects
None yet
Development

No branches or pull requests

3 participants