Skip to content

2.7.0

Latest
Compare
Choose a tag to compare
@FDelporte FDelporte released this 03 Oct 10:04
· 0 commits to develop since this release
2.7.0
0a9d28b
  • Libraries are loaded depending on the platform, by calling BoardInfoHelper.runningOnRaspberryPi().
  • BoardModel has been extended with 2Gb Raspberry Pi 5, Raspberry Pi Pico 2, and extra board codes for the Compute Module 4.
  • Allowing configuration of the shutdown hook. It's disabled by default.
  • Issue #354: Gracefully handle UnsatisfiedLinkError on newAutoContext.
  • Issue #368: Mock providers don't seem to be loaded on an non-RPi system.
  • Issue #369: WARN noise in the log about Ignoring providers on every startup.
    • Removed unnecessary String concatenations in logging statements.
    • Reduced log output and reviewed warn levels to reduce to info where more applicable.
  • Issue #383: Increase amount of write bytes to SPI devices over 65535. spiWrite has been modified to write data in chunks of 4096 bytes so it can handle larger messages.
  • Issue #388: I2C writeRead method compares written to writeOffset instead of writeSize.

Because of the changes in the loading of the mock providers, if you want to load them on a Raspberry Pi board, you need to use the following context builder:

var pi4j = Pi4J.newContextBuilder().autoDetectMockPlugins().build();

Thanks to contributions by @ylexus, @mores, @taartspi, @eitch, @fdelporte.

All changes: 2.6.1...2.7.0