Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Dumping profiles while using a profile generates non-sense output #3009

Open
Labels
topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project
@manchoz

Description

@manchoz

Describe the problem

While using profiles – especially in the case of a default one has been specified –--dump-profile generates a wrong output, in the sense that it completely forgets about the currently selected profile.

To reproduce

❯ lssketch_mar22a.ino  sketch.yaml
❯ cat sketch_mar22a.ino#include<Arduino_JSON.h>voidsetup() {// put your setup code here, to run once:}voidloop() {// put your main code here, to run repeatedly:}
❯ cat sketch.yamlprofiles:default:fqbn:arduino:renesas_portenta:portenta_c33platforms:      -platform:arduino:renesas_portenta (1.1.0)libraries:      -Arduino_JSON (0.2.0)default_profile:default
❯ arduino-cli compileDownloading platform arduino:renesas_portenta@1.1.0...Downloading index: package_index.tar.bz2 downloadedarduino:renesas_portenta@1.1.0 downloadedInstalling platform arduino:renesas_portenta@1.1.0...Downloading tool arduino:bossac@1.9.1-arduino5...arduino:bossac@1.9.1-arduino5 downloadedInstalling tool arduino:bossac@1.9.1-arduino5...Downloading tool arduino:dfu-util@0.11.0-arduino5...arduino:dfu-util@0.11.0-arduino5 downloadedInstalling tool arduino:dfu-util@0.11.0-arduino5...Downloading library Arduino_JSON@0.2.0...Arduino_JSON@0.2.0 downloadedInstalling library Arduino_JSON@0.2.0...The library Arduino_JSON has been automatically added from sketch project.Sketch uses 109584 bytes (5%) of program storage space. Maximum is 2097152 bytes.Global variables use 20756 bytes (3%) of dynamic memory, leaving 502868 bytesforlocal variables. Maximum is 523624 bytes.
❯ arduino-cli compile --dump-profileprofiles:portenta_c33:fqbn:arduino:renesas_portenta:portenta_c33platforms:      -platform:arduino:renesas_portenta (1.1.0)

Expected behavior

When using a profile,--dump-profile should output the configuration of the current profile.

Arduino CLI version

arduino-cli Version: git-snapshot Commit:869fced Date: 2025-08-27T15:20:15Z

Operating system

macOS

Operating system version

ProductVersion: 26.0 BuildVersion: 25A354

Additional context

No response

Issue checklist

  • I searched for previous reports inthe issue tracker
  • I verified the problem still occurs when using thenightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp