4 ms·
That's great. Now what about motherboard and all the peripherals? I have to add special code when I port from rPi4 to rPi5, code like this (in Python) for some
by k_bx 2y ago
That's great. Now what about motherboard and all the peripherals?
I have to add special code when I port from rPi4 to rPi5, code like this (in Python) for some GPIO logic:
chip = None
try:
# rpi5
chip = gpiod.Chip("gpiochip4")
except FileNotFoundError as e:
# rpi4
chip = gpiod.Chip("gpiochip0")
Now imagine having to support whole zoo of N100-based machines from different manufacturers?
With Raspberry Pi, you can always expect to just buy more of your rPi device. I've seen people rely on Orange Pi only to find that it's out of stock and they need to port their code to rPi now.