rasProject_01 / weSweetHome
R. 240
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. This file will among other values set the PLATFORM variable.The latter can also be set directly as PLATFORM = raspberry_03 e.g.. raspberry_04 is the default by the way.
The mechanism used is calculated make includes and calculated C includes (organised by this file config.h).