-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't bulid firmware on Windows/Powershell #70
Comments
Tried on WSL/Linux and on it I get this other error:
generation of project worked fine but west is not recognizing the build command |
Hello @felipejfc, I didn't try to use it on Windows, but I can guess how to solve the problem in your original message. Thank you for reporting this, will work on it. |
I have just merged some changes related to this. Unfortunately, it will not work on Windows for now, as some paths are hardcoded. A good issue to work on. Though on WSL it probably should work, if nRF SDK is installed as VSCode would(see this). If not - please tell how the SDK was installed and where it is located(do you build other firmwares with this install, or only use it for this project?). |
Is building the firmware on powershell supposed to work? I get the error that template is not defined on all examples:
go run .\cmd\zigbee\main.go --config .\examples\factory_reset\zigbee.yaml firmware build 2024/06/18 12:39:43 generator.go:106: Device: "nrf52840dongle_nrf52840", selected bootloader: "nrf52_legacy", forced bootloader: false 2024/06/18 12:39:43 main.go:46: generate base: write app src: write template: execute source template "main.c.tpl": template: main.c.tpl:34:4: executing "main.c.tpl" at <maybeRenderExtender .Template "top_level" (sensorCtx 0 $.Device nil .)>: error calling maybeRenderExtender: extender template "peripherals/buttons" is not defined exit status 1
go run .\cmd\zigbee\main.go --config .\examples\battery_measurement\zigbee.yaml firmware build 2024/06/18 12:40:52 generator.go:106: Device: "arduino_nano_33_ble", selected bootloader: "arduino", forced bootloader: false 2024/06/18 12:40:52 main.go:46: generate base: write app src: write template: execute source template "main.c.tpl": template: main.c.tpl:34:4: executing "main.c.tpl" at <maybeRenderExtender .Template "top_level" (sensorCtx 0 $.Device nil .)>: error calling maybeRenderExtender: extender template "peripherals/adc" is not defined exit status 1
The text was updated successfully, but these errors were encountered: