@@ -4,7 +4,7 @@ In the `hwmapping.h` file we can list all the GPIOs that we need.
The `hwmapping.h` file can be found under: `skyward-boardcore/libs/miosix-kernel/arch/<your-arch>/<your-board>/interfaces_impl/`.
### Example
## Example
This example shows a simple hardware mapping file:
-`myspi`: this namespace is used to define the GPIOs related to an SPI bus, which are `sck`, `miso` and `mosi`.
-`mysensor`: it is a sensor that works via the SPI protocol, in fact in this namespace it is defined a chip select GPIO (`cs`). Moreover it defines another GPIO in order to receive interrupts from the sensor.