rasProject_01 / weSweetHome  R. 116 2026-05-14
process control       /     RasPi software         by   weinert-automation
Loading...
Searching...
No Matches
config.h File Reference

Organising platform specific includes for the make process. More...

Detailed Description

Organising platform specific includes for the make process.

Revision history

The different Raspberry types, like Pi1, 3, 4, Zero (0) and 5 can be handled transparently to the control programs. This is done by a make variable TARGET identifying a concrete target machine, i.e. the targets make include makeTarg_<TARGET>_settings.mk, like config_raspberry_00.h to config_raspberry_05.h.
This respective file will among other values set the PLATFORM variable. The latter can also be set directly as PLATFORM = raspberry_03 e.g.. The default is raspberry_04.

The mechanism used is calculated make includes and calculated C includes (organised by this file config.h).