Skip to content

Custom menu selection text doesn't update after changing boards when menu ID is different but menu text is the same as a previously selected board #5260

Closed
@per1234

Description

@per1234

Using Arduino IDE 1.6.11 Hourly Build 2016/08/16 11:33 with Windows 7 64 bit

  1. File > Preferences > Additional Boards Manager URLs: > https://zevero.github.io/avr_boot/package_zevero_avr_boot_index.json
  2. Tools > Board > Boards Manager > avr_boot > 1.2.0 > Install > Close
  3. Tools > Board > Arduino/Genuino Mega or Mega 2560
  4. Tools > Board > ATmega328/P

Now look at the selection text shown in quotes next to the Tools > Board > Processor menu item: Processor: ATmega2560 (Mega 2560). I you select the Tools > Board > Processor menu you can see that it doesn't have an ATmega2560 (Mega 2560) option. That text has been left over from the previous board selection. Even after changing the Processor menu selection the menu item text doesn't change.
clipboard02

This only occurs when the menu ID value in boards.txt is different from the Arduino AVR Boards(or any other core) value but the menu text value in boards.txt is the same as the other core's value. In this case:

menu.processor=Processor

If this is changed to menu.cpu=Processor(the same as Arduino AVR Boards) then the issue doesn't occur.

If it's changed to menu.processor=CPU then the issue doesn't occur.

If it's changed to menu.avr_boot_processor=Processor the issue does occur.

EDIT 2017-07-06: I checked with Arduino IDE 1.8.3 and the issue still occurs after following the steps above..

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions