-
Notifications
You must be signed in to change notification settings - Fork 504
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
This guide probably only works for Linux #540
Comments
It should work fine on WIndows and MacOS. On MacOS you'll need to use gdb rather than lldb, but you can install arm-none-eabi-gdb or gdb-multiarch on MacOS. On Windows what error are you getting? Have you followed the "Setting up a development environment" part of the book? here for the STM32 version or here for the nRF version. It has different instructions for Linux, Windows, and MacOS. If there is some error in the description of how to get set up on one of those operating systems, that's a bug that we'll need to fix - it should work on all three. |
Mac doesn't use GDB anymore. Apple prefers LLDB now.
For Windows 11, I run into different problems, but we can solve those later. |
On macOS with Apple Silicon (M1, M2 etc.), one needs to install architecture specific Details are at its formula: |
Thank you, this worked. 05-led-roulette % arm-none-eabi-gdb target/thumbv7em-none-eabihf/debug/led-roulette |
Glad it helped. Sure I will update and raise a PR. Thanks. |
Should be fixed after #541. Thank you everybody! |
I tried using an M1 Mac and a Windows laptop to complete this tutorial.
Neither worked.
MacOS uses LLDB instead of GDB. LLDB breaks immediately when connecting to the GDB server:
thread #1, stop reason = signal SIGTRAP
Windows can't even connect to the GDB server using:
arm-none-eabi-gdb ../../target/thumbv7em-none-eabihf/debug/led-roulette
I have not tried on Linux yet but it probably only works there.
The text was updated successfully, but these errors were encountered: