From 7b0f56a09c027d1459a14bbb8657e7aa3a5b1483 Mon Sep 17 00:00:00 2001 From: Hokeun Kim Date: Tue, 21 Apr 2026 12:16:24 +0200 Subject: [PATCH] Update README with MacOS cross compiler toolchain instructions Added installation instructions for arm-none-eabi-gcc on MacOS and updated log level in Makefile. --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f9b083e..cd6ac45 100644 --- a/README.md +++ b/README.md @@ -94,6 +94,21 @@ nix develop This creates a new shell in which the cross-compiler is available. **IMPORTANT**: Don't forget to run ``nix develop`` again when you return to your project in a new shell. +#### MacOS + +On Mac, you need to install the full toolchain for `arm-none-eabi-gcc` using the following HomeBrew command. + +```bash +brew install --cask gcc-arm-embedded +``` + +**IMPORTANT** You should not install the arm-none-eabi-gcc formula. If you accidentally did this, you can uninstall the formula and install the full toolchain like this: + +```bash +brew uninstall arm-none-eabi-gcc +brew install --cask gcc-arm-embedded +``` + ## 2. Start Using this Repository The RIOT OS sources are provided as a submodule of the new repository, to fetch them do: @@ -166,7 +181,7 @@ This will display any output your program generates using, for example, `printf` You can also get debug output from the `reactor-uc` runtime by changing the following line in the `Makefile`: ``` -CFLAGS += -DLF_LOG_LEVEL_ALL=LF_LOG_LEVEL_ERR +CFLAGS += -DLF_LOG_LEVEL_ALL=LF_LOG_LEVEL_ERROR ``` to