Skip to content

IDE should ignore board options with missing label #1476

Open
@cmaglie

Description

@cmaglie

Describe the problem

It may happen when a platform does not specify the menu label for all the options in the menu:

image

To reproduce

  1. Use the nightly build of the CLI or a build with this patch included: Do not treat custom menu options without label as 'malformed' arduino-cli#1882
  2. Install the platform m5stack:
  3. Select the board "M5Stack-Station"
  4. The "Tools" menu has an empty item as showed in the image above

Expected behavior

The empty Tools menu item must be ignored.

Arduino IDE version

nightly

Operating system

N/A

Operating system version

Additional context

No response

Issue checklist

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions