![]() |
rasProject_01 / weSweetHome
R. 102 2025-10-31
process control / RasPi software by weinert-automation
|
Organising platform specific includes for the make process. More...
#include "arch/config_raspberry_03.h"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).