rasProject_01 / weSweetHome  R. 240
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.

Copyright (c) 2018 Albrecht Weinert
weinert-automation.de a-weinert.de
/ / /\
/ /___ / \ |
\ /____\ /____\ | _|__
\ /\ / \ / \| |
\/ \/ \__/ \__/|_

Revision history

Rev. 255 29.10.2023
Rev. 150 18.06.2018 : minor, comments only
Rev. 209 22.07.2019 : work around a Doxygen bug (default Pi4)
Rev. 255 03.08.2023 : minor clarification

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).