Skip to content

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

Open
@Rbb666

Description

@Rbb666

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionThis PR/issue needs to be discussed later

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions