Board File

From uGFX Wiki
Revision as of 14:44, 16 August 2014 by Inmarket (Talk | contribs)

Jump to: navigation, search

Certain modules have to communicate to hardware in order to fulfil their tasks. Those modules come with an additional driver layer. Each driver then needs a board file to talk to the actual hardware.
The board file needs to be provided by the user as it's implementation depends not only on the used underlying system (HAL), but also the actual hardware configuration (wiring).

Templates

Each driver provides a template of it's board file. Copying this file to your project directory and implementing the routines is all there is to do.

Supported Boards

Some boards have predefined hardware on them. Where they are a common board we provide a makefile (/boards/base/xxx/board.mk) which you can include into your own project makefile. This will then automatically include all the standard hardware drivers and board files. Additional pre-defined board files can also be found in /boards/addons.

Modules

The following modules require a board file: