Raspberry Pi: Pre-release firmware with improved pin initialization

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.


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


Thanks Julien

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



Thanks Julien,

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