Skip to content

Nrf52 win#58

Open
NW-Lab wants to merge 8 commits intoralphwetzel:mainfrom
NW-Lab:nrf52_win
Open

Nrf52 win#58
NW-Lab wants to merge 8 commits intoralphwetzel:mainfrom
NW-Lab:nrf52_win

Conversation

@NW-Lab
Copy link
Contributor

@NW-Lab NW-Lab commented Jan 18, 2026

hello

I was able to build nRF52 on Windows.

Thank you

Copilot AI review requested due to automatic review settings January 18, 2026 06:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds Windows build support for nRF52 MCU targets. The nrf52 case is moved from the "Not tested!" section and given its own platform-specific build logic that detects Visual Studio installations and configures the build commands accordingly.

Changes:

  • Extracted nrf52 from the untested MCU types group into its own dedicated case handler
  • Added Windows-specific logic to detect and use Microsoft Visual Studio build tools for nrf52 compilation
  • Maintained non-Windows platforms using the existing runthis command pattern

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

`CALL "${process.env["ProgramFiles"]}\\Microsoft Visual Studio\\18\\Community\\VC\\Auxiliary\\Build\\vcvars64.bat"`,
`@echo ${cmd}`,
`${cmd}`,
]
Copy link

Copilot AI Jan 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing trailing comma in the array literal. JavaScript requires commas between array elements. Add a comma after the closing bracket on this line.

Copilot uses AI. Check for mistakes.
`CALL "${process.env["ProgramFiles"]}\\Microsoft Visual Studio\\2022\\Community\\VC\\Auxiliary\\Build\\vcvars${x_win}.bat"`,
`@echo ${cmd}`,
`${cmd}`,
]
Copy link

Copilot AI Jan 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing trailing comma in the array literal. JavaScript requires commas between array elements. Add a comma after the closing bracket on this line.

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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