commit
b4f4331f26
1 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ git clone https://github.com/micropython/micropython.git
|
||||||
on the command line. This will create a new repository with the name `micropython`. Staying there, clone the `ulab` repository with
|
on the command line. This will create a new repository with the name `micropython`. Staying there, clone the `ulab` repository with
|
||||||
|
|
||||||
```
|
```
|
||||||
git clone https://github.com/v923z/micropython-ulab.git
|
git clone https://github.com/v923z/micropython-ulab.git ulab
|
||||||
```
|
```
|
||||||
|
|
||||||
Then you have to include `ulab` in the compilation process by editing `mpconfigport.h` of the directory of the port for which you want to compile, so, still on the command line, navigate to `micropython/ports/unix`, or `micropython/ports/stm32`, or whichever port is your favourite, and edit the `mpconfigport.h` file there. All you have to do is add a single line at the end:
|
Then you have to include `ulab` in the compilation process by editing `mpconfigport.h` of the directory of the port for which you want to compile, so, still on the command line, navigate to `micropython/ports/unix`, or `micropython/ports/stm32`, or whichever port is your favourite, and edit the `mpconfigport.h` file there. All you have to do is add a single line at the end:
|
||||||
|
|
@ -29,7 +29,7 @@ Then you have to include `ulab` in the compilation process by editing `mpconfigp
|
||||||
#define MODULE_ULAB_ENABLED (1)
|
#define MODULE_ULAB_ENABLED (1)
|
||||||
```
|
```
|
||||||
|
|
||||||
This line will inform the compiler that you want `ulab` in the resulting firmware. If you don't have the cross-compiler installed, your might want to do that now by executing
|
This line will inform the compiler that you want `ulab` in the resulting firmware. If you don't have the cross-compiler installed, your might want to do that now, for instance on Linux by executing
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt-get install gcc-arm-none-eabi
|
sudo apt-get install gcc-arm-none-eabi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue