Skip to content

Fix flash variable case inconsistency in rp2040.mk#52

Closed
Copilot wants to merge 2 commits into49-menu-items-on-esp32-not-workingfrom
copilot/sub-pr-51
Closed

Fix flash variable case inconsistency in rp2040.mk#52
Copilot wants to merge 2 commits into49-menu-items-on-esp32-not-workingfrom
copilot/sub-pr-51

Conversation

Copy link
Copy Markdown

Copilot AI commented Feb 16, 2026

The rp2040.mk implementation was using $(FLASH) in uppercase on lines 35-36 while checking for flash in lowercase on line 1 and using lowercase for all other menu variables. This created a mismatch where the variable was checked but never properly referenced.

Changes:

  • Changed $(FLASH) to $(flash) in FS_START and FS_SIZE variable assignments (rp2040.mk:35-36)
  • Updated documentation example to use lowercase flash := 8388608_0 (docs/rp2040.md:35)

Now consistent with the lowercase convention used for all other menu variables: freq, opt, rtti, stackprotect, exceptions, dbgport, dbglvl, boot2, usbstack, ipbtstack, uploadmethod.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: jscrane <668422+jscrane@users.noreply.github.com>
Copilot AI changed the title [WIP] Address feedback on renaming menu variables Fix flash variable case inconsistency in rp2040.mk Feb 16, 2026
Copilot AI requested a review from jscrane February 16, 2026 11:02
@jscrane jscrane closed this Feb 16, 2026
@jscrane jscrane deleted the copilot/sub-pr-51 branch February 16, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants