From 111d00617f5b7ebdc938de6c74c1af3601b15d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Fri, 3 Nov 2023 08:26:58 +0100 Subject: [PATCH] S3: Fix the number of GPIO pins (#898) --- CHANGELOG.md | 1 + esp-hal-common/src/soc/esp32s3/gpio.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9ab9126c..70adf1ee5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - ESP32-C2/C3 examples: fix build error (#899) +- ESP32-S3: Fix GPIO interrupt handler crashing when using GPIO48. (#898) ### Removed diff --git a/esp-hal-common/src/soc/esp32s3/gpio.rs b/esp-hal-common/src/soc/esp32s3/gpio.rs index fec3a915d..483fc3cff 100644 --- a/esp-hal-common/src/soc/esp32s3/gpio.rs +++ b/esp-hal-common/src/soc/esp32s3/gpio.rs @@ -52,7 +52,7 @@ use crate::{ peripherals::GPIO, }; -pub const NUM_PINS: usize = 48; +pub const NUM_PINS: usize = 49; pub type OutputSignalType = u16; pub const OUTPUT_SIGNAL_MAX: u16 = 256;