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

Missing STM32:stm32 platform when using core install #2358

Closed
3 tasks done
syheliel opened this issue Oct 8, 2023 · 1 comment
Closed
3 tasks done

Missing STM32:stm32 platform when using core install #2358

syheliel opened this issue Oct 8, 2023 · 1 comment
Assignees
Labels
conclusion: invalid Issue/PR not valid type: imperfection Perceived defect in any part of project

Comments

@syheliel
Copy link

syheliel commented Oct 8, 2023

Describe the problem

`I'm trying to compile the source code in https://github.com/RiS3-Lab/p2im-real_firmware/tree/master/Gateway, it involves the following code:

../deps/arduino-cli/arduino-cli compile -b STM32:stm32:Nucleo_64:pnum=NUCLEO_F103RB,upload_method=MassStorage,usb=none,opt=ogstd *.ino --build-path `realpath ./build` -o firmware

Then I know that I should install STM32:stm32, but it failed:

> arduino-cli core install STM32:stm32
Invalid argument passed: Found 0 platform for reference "STM32:stm32":

I checked my index through arduino-cli core list --all, I ensure that there are some other stuff except for STM32:stm32.

To reproduce

        wget https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Linux_64bit.tar.gz -O "arduino-cli.tar.gz"
        tar xf arduino-cli.tar.gz
        rm arduino-cli.tar.gz
        rm LICENSE.txt
        arduino-cli core update-index
        arduino-cli core install STM32:stm32

Expected behavior

run this cmd successfully:

../deps/arduino-cli/arduino-cli compile -b STM32:stm32:Nucleo_64:pnum=NUCLEO_F103RB,upload_method=MassStorage,usb=none,opt=ogstd *.ino --build-path `realpath ./build` -o firmware

Arduino CLI version

arduino-cli Version: 0.34.2 Commit: 963c1a7 Date: 2023-09-11T10:05:42Z

Operating system

Linux

Operating system version

ubuntu22 in Docker

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
  • My report contains all necessary details
@syheliel syheliel added the type: imperfection Perceived defect in any part of project label Oct 8, 2023
@per1234 per1234 self-assigned this Oct 8, 2023
@per1234
Copy link
Contributor

per1234 commented Oct 8, 2023

Hi @syheliel. You can learn how to install 3rd party boards platforms like STM32:stm32 by reading this section of the documentation:

https://arduino.github.io/arduino-cli/latest/getting-started/#adding-3rd-party-cores

If you have any additional questions or problems using Arduino CLI, please post on Arduino Forum, where we have a dedicated category just for that purpose:

https://forum.arduino.cc/c/software/arduino-cli/89

I'm sure we'll be able to help you out over there.

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 8, 2023
@per1234 per1234 added the conclusion: invalid Issue/PR not valid label Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: invalid Issue/PR not valid type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants