![]() |
rasProject_01 / weSweetHome
R. 146 2026-09-26
process control / RasPi software by weinert-automation
|
Configuration settings for Raspberry Pi zero. More...
Macros | |
| #define | GPIO2pin |
| GPIO [0..39] to pin number (1..40) lookup list. | |
| #define | PIN03 |
| SDA1 ( 0 on Pi1). | |
| #define | PIN05 |
| SCL ( 1 on Pi1). | |
| #define | PIN07 |
| GPCLK0. | |
| #define | PIN08 |
| TXDI. | |
| #define | PIN10 |
| RXDI. | |
| #define | PIN13 |
| (21 on Pi1) | |
| #define | PIN19 |
| MOSI | S. | |
| #define | PIN21 |
| MISO | P. | |
| #define | PIN23 |
| SCLK | I. | |
| #define | PIN24 |
| CE0 /. | |
| #define | PIN26 |
| CE1 /. | |
| #define | PIN27 |
| SDA0. | |
| #define | PIN28 |
| SCL0. | |
| #define | PIN2gpio |
| Pin number [0..43] to GPIO number lookup list. | |
| #define | stdUARTpath |
| Pi's standard UART. | |
Configuration settings for Raspberry Pi zero.
This file contains some platform (type) specific definitions. These settings influence the compilation and build process. Most of those settings can not be changed later at runtime.
With respect to I/O pins there is no difference between Pi4*, Pi0* and Pi3*; hence the defines in config_raspberry_04.h, config_raspberry_00.h and config_raspberry_03.h are the same.
Revision history
| #define GPIO2pin |
| #define PIN2gpio |
Pin number [0..43] to GPIO number lookup list.
Return values:
N.b.: [1..40] are: valid pin numbers, only.
Special pins list:
99 means not existent. N.b.: [1..40] are: valid pin numbers, only.
| #define stdUARTpath |
Pi's standard UART.
It is the one on the Pins 8 (GPIO14) for Tx and 10 (GPIO15) for Rx. Here it is set to the long year standard value /dev/serial0. As this seemed changed in some Raspbians, this macro definition can be overruled in a target specific include file.