Skip to content

Commit fbe2b4e

Browse files
author
twhoekstra
committed
Updated README.md
1 parent f2e7a29 commit fbe2b4e

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,40 @@ source code into a binary program RP2040’s processors can understand. `build-e
105105
to build code native to your own machine — this is needed for some internal tools in MicroPython and the SDK. You can
106106
install all of these via `apt` from the command line. Anything you already have installed will be ignored by `apt`
107107

108+
Linux:
109+
```shell
110+
sudo apt update
111+
sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi build-essential
112+
```
113+
114+
Macos
115+
```shell
116+
brew update
117+
brew install cmake
118+
xcode-select --install
119+
```
120+
121+
Install `gcc-arm-none-eabi`
122+
https://developer.arm.com/downloads/-/gnu-rm
123+
124+
Add to PATH
125+
```shell
126+
sudo nano /etc/paths
127+
```
128+
For example the path could be: /Applications/ARM/bin
129+
130+
The /etc/paths file is a list of paths to search. It should now look something like:
131+
```
132+
/usr/local/bin
133+
/System/Cryptexes/App/usr/bin
134+
/usr/bin
135+
/bin
136+
/usr/sbin
137+
/sbin
138+
/Applications/ARM/bin
139+
```
140+
141+
108142
```bash
109143
git clone https://github.com/twhoekstra/nb2211-micropython.git
110144
cd nb2211-micropython/

0 commit comments

Comments
 (0)