Skip to content

Conversation

@bettio
Copy link
Collaborator

@bettio bettio commented Aug 7, 2023

Return meaningful tagged tuples instead of just error atom.

Fixes #656

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later

@bettio bettio added platform:esp32 ESP32 platform specific peripherals related to peripheral support such as SPI, I2C, etc... blocking labels Aug 7, 2023
@bettio bettio marked this pull request as draft August 7, 2023 21:43
@bettio bettio marked this pull request as ready for review August 7, 2023 22:13
@bettio bettio force-pushed the improve-spi-errors branch from 8f5a559 to 53b2dd6 Compare August 8, 2023 18:49
@bettio bettio changed the title ESP32/SPI: improve error result ESP32/SPI: make errors informative Aug 8, 2023
@bettio bettio changed the title ESP32/SPI: make errors informative ESP32/SPI: informative errors Aug 8, 2023
Return meaningful tagged tuples instead of just `error` atom.

Signed-off-by: Davide Bettio <davide@uninstall.it>
@bettio bettio force-pushed the improve-spi-errors branch from 53b2dd6 to 6884cf7 Compare August 8, 2023 22:37
@bettio bettio merged commit 96fbf6c into atomvm:master Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocking peripherals related to peripheral support such as SPI, I2C, etc... platform:esp32 ESP32 platform specific

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some SPI driver errors are uninformative

2 participants