|
SBS (*Skyward Build System*) is the build system used to compile boardcore's entrypoints, which are written for Miosix and need to be compiled for a specific target board.
|
|
SBS (_Skyward Build System_) is the build system used to compile boardcore's entrypoints, which are written for Miosix and need to be compiled for a specific target board.
|
|
|
|
|
|
SBS lets you specify the target board and custom includes and defines for each entrypoint, as well as grouping useful drivers in a library to reuse them in different entrypoints.
|
|
SBS lets you specify the target board and custom includes and defines for each entrypoint, as well as grouping useful drivers in a library to reuse them in different entrypoints.
|
|
|
|
|
... | @@ -8,7 +8,7 @@ SBS lets you specify the target board and custom includes and defines for each e |
... | @@ -8,7 +8,7 @@ SBS lets you specify the target board and custom includes and defines for each e |
|
|
|
|
|
SBS's standard usage is building a board's firmware, which can be done with:
|
|
SBS's standard usage is building a board's firmware, which can be done with:
|
|
```sh
|
|
```sh
|
|
./sbs -b *entrypoint_name*
|
|
./sbs -b <entrypoint_name>
|
|
```
|
|
```
|
|
If you omit the `-b` option all entrypoints will be compiled.
|
|
If you omit the `-b` option all entrypoints will be compiled.
|
|
|
|
|
... | @@ -101,7 +101,7 @@ Since in boardcore we have many entrypoints to build, and we don't want to write |
... | @@ -101,7 +101,7 @@ Since in boardcore we have many entrypoints to build, and we don't want to write |
|
|
|
|
|
#### Standard MIOSIX build
|
|
#### Standard MIOSIX build
|
|
|
|
|
|
- **Makefile**: main Makefile, used to compile the *main.cpp*. Lists the files to compile (`SRC:=`), the libraries to include (`INCLUDE:=`) and the directories to include (`INCLUDE_DIRS:=`).
|
|
- **Makefile**: main Makefile, used to compile the _main.cpp_. Lists the files to compile (`SRC:=`), the libraries to include (`INCLUDE:=`) and the directories to include (`INCLUDE_DIRS:=`).
|
|
- **miosix/Makefile**: Makefile for the kernel sources.
|
|
- **miosix/Makefile**: Makefile for the kernel sources.
|
|
- **miosix/config/Makefile.inc**: specifies compiler flags, the target board and all board-specific configurations (Clock speed, linker script location, XRAM etc...).
|
|
- **miosix/config/Makefile.inc**: specifies compiler flags, the target board and all board-specific configurations (Clock speed, linker script location, XRAM etc...).
|
|
|
|
|
... | | ... | |