-
Notifications
You must be signed in to change notification settings - Fork 0
Building the samples
This library comes with a few samples (only two by the moment, the other ones are under development). This samples have been implemented in order to get familiarized with the library source more easily.
The build process is quite simple as Zephyr gives us plenty of tools to simplify this process, to build a sample simply go to its root directory and execute:
west build -b <BOARD>
Choose the board that best fits your needs and try to build, I don't know exactly how many boards are supported considering the driver dependences used by this module, which in this case is just the UART driver, but this driver itself has multiple working modes, polling, interrupt, ..., and some of them would not be supported depending on your choice.
NOTE: if you have building errors like:
error: #error "Additional UART is mandatory to communicate with the modem"means that your board does not have a
DT_NODELABEL
nameduart1
or960x
in the device tree. So create a simple overlay in order to satisfy such label.
NOTE: this library ONLY supports polling and interrupt modes and has been tested using an NXP FRDM-K64F baord with the RockBLOCK 9602 (MK2) transceiver, see the test section to see more information about this.
Now, if you want to flash the firmware to the board, just type:
west flash
You can see more information about the west
tool in the official Zephyr documentation.