Skip to content

PlatformIO detect wrong system type on Windows #4353

@KawaiiZapic

Description

@KawaiiZapic

What kind of issue is this?

  • PlatformIO Core.
    If you’ve found a bug, please provide an information below.

You can erase any parts of this template not applicable to your Issue.


Configuration

Operating system: Windows 10 Pro x64

PlatformIO Version (platformio --version): PlatformIO Core, version 6.1.1

Description of problem

PlatformIO detect my system as windows instead of windows_amd64, and could not install package from repo.

Steps to Reproduce

  1. Create a project with STC8H8K64U
  2. platformio run --target upload

Actual Results

Processing STC8H8K64U (platform: intel_mcs51; board: STC8H8K64U)
------------------------------------------------------------------------------------------------------------------------
Tool Manager: Installing platformio/toolchain-sdcc @ >=1.40100.0,<1.40201.0
Error: Could not find the package with 'platformio/toolchain-sdcc @ >=1.40100.0,<1.40201.0' requirements for your system 'windows'

Expected Results

should detect my system as windows_amd64 and install package successfully.

If problems with PlatformIO Build System:

The content of platformio.ini:

[env:STC8H8K64U]
platform = intel_mcs51
board = STC8H8K64U

Source file to reproduce issue:
No.

Additional info

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions