Raspberry Pi: Pre-release firmware with improved pin initialization


#1

Based on comments in the community I made changes to the firmware running on the Raspberry Pi to leave alone pins used by other software on the device.

All pins are no longer initialized as inputs on start, and only pins with a call to pinMode are reset to inputs on exit for safety.

You can use 0.5.1-pi.13 pre-release firmware on the Web IDE or compile with particle flash my_pi --target 0.5.1-pi.13 with the CLI.

If I get good feedback for this change I’ll make the new release the default for the Raspberry Pi.


Disable specific PIN for use by other hardware
RPi 1 Model B USB root hub becomes permanently disabled after step "Claiming device"
Particle Agent breaks I2S functionality on Raspberry Pi Zero and 3
Raspberry Pi Zero w/IoT Hat (No Connectivity)
#2

Great work! I can confirm the proper working of this pre-release in combination with the “Adafruit MAX98357 I2S Class-D Mono Amp” from Adafruit, see https://learn.adafruit.com/adafruit-max98357-i2s-class-d-mono-amp/raspberry-pi-usage

Thanks a lot!
Edge / Sven


#3

Thanks Julien

All working well on 0.5.1-pi.14 - same device as Edge

Regards

Julian


#4

Thanks Julien,

Confirming that works for use with the Desktop-Pi daughter card from Element14 on an RPi 3 Model B running Raspbian Jessie.

Cabletie