Пт янв 24, 2020 13:11:14
Пт янв 24, 2020 15:36:03
Пт мар 13, 2020 07:51:09
Porting To Another Hardware Platform
In general, the motivation is to provide a simple and well defined project structure to allow a fast an easy porting to another platform. This project comes with several examples of hardware platforms, e.g. the LoRaMote or the MoteII. The hardware platform implementations are available at the directory 'src/boards'. If you want to add a new hardware platform, you have to perform the following tasks:
Add a new directory at 'src/boards' with the specific hardware platform name
Implement at least the following drivers respectively files according to your platform:
board.c/.h
gpio-board.c/.h
pinName-board.h
pinName-ioe.h
rtc-board.c/.h
spi-board.c/.h
sx1272-board.c/.h
You may need to adapt the implementations of the generic abstraction layer in directory 'src/system'
You may need to add a new standard peripheral library for your platform into the directory 'src/boards/mcu'. This includes the file 'utilities.c'
Пт ноя 26, 2021 13:35:17