diff --git a/nanoFramework.Hardware.Esp32.sln b/nanoFramework.Hardware.Esp32.sln
index 661fc72..0023896 100644
--- a/nanoFramework.Hardware.Esp32.sln
+++ b/nanoFramework.Hardware.Esp32.sln
@@ -9,6 +9,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
nanoFramework.Hardware.Esp32.DELIVERABLES.nuspec = nanoFramework.Hardware.Esp32.DELIVERABLES.nuspec
nanoFramework.Hardware.Esp32.nuspec = nanoFramework.Hardware.Esp32.nuspec
NuGet.Config = NuGet.Config
+ README.md = README.md
version.json = version.json
EndProjectSection
EndProject
diff --git a/nanoFramework.Hardware.Esp32/Sleep.cs b/nanoFramework.Hardware.Esp32/Sleep.cs
index 76ea95d..89b9366 100644
--- a/nanoFramework.Hardware.Esp32/Sleep.cs
+++ b/nanoFramework.Hardware.Esp32/Sleep.cs
@@ -77,6 +77,12 @@ public enum WakeupCause
///
/// Gpio pins that can be used for wakeup.
+ ///
+ /// ESP32: 0, 2, 4, 12-15, 25-27, 32-39
+ /// ESP32-S2: 0-21
+ /// ESP32-S3: 0-21
+ /// ESP32-C6: 0-7
+ /// ESP32-H2: 7-14
///
[Flags]
public enum WakeupGpioPin : UInt64
@@ -88,91 +94,199 @@ public enum WakeupGpioPin : UInt64
///
/// Gpio Pin 1 used for wakeup.
+ /// ESP32, ESP32_S2, ESP32_S3, ESP32-C6 only
///
Pin0 = 1,
///
/// Gpio Pin 2 used for wakeup.
+ /// ESP32_S2, ESP32_S3, ESP32-C6 only
+ ///
+ Pin1 = (UInt64)1 << 1,
+
+ ///
+ /// Gpio Pin 2 used for wakeup.
+ /// ESP32, ESP32_S2, ESP32_S3, ESP32-C6 only
///
Pin2 = (UInt64)1 << 2,
+ ///
+ /// Gpio Pin 3 used for wakeup.
+ /// ESP32_S2, ESP32_S3, ESP32-C6 only
+ ///
+ Pin3 = (UInt64)1 << 3,
+
///
/// Gpio Pin 4 used for wakeup.
+ /// ESP32, ESP32_S2, ESP32_S3, ESP32-C6 only
///
Pin4 = (UInt64)1 << 4,
+ ///
+ /// Gpio Pin 5 used for wakeup.
+ /// ESP32_S2, ESP32_S3, ESP32-C6 only
+ ///
+ Pin5 = (UInt64)1 << 5,
+
+ ///
+ /// Gpio Pin 6 used for wakeup.
+ /// ESP32_S2, ESP32_S3, ESP32-C6 only
+ ///
+ Pin6 = (UInt64)1 << 6,
+
+ ///
+ /// Gpio Pin 7 used for wakeup.
+ /// ESP32_S2, ESP32_S3, ESP32-C6, ESP32_H2 only
+ ///
+ Pin7 = (UInt64)1 << 7,
+
+ ///
+ /// Gpio Pin 8 used for wakeup.
+ /// ESP32_S2, ESP32_S3, ESP32_H2 only
+ ///
+ Pin8 = (UInt64)1 << 8,
+
+ ///
+ /// Gpio Pin 9 used for wakeup.
+ /// ESP32_S2, ESP32_S3, ESP32_H2 only
+ ///
+ Pin9 = (UInt64)1 << 9,
+
+ ///
+ /// Gpio Pin 10 used for wakeup.
+ /// ESP32_S2, ESP32_S3, ESP32_H2 only
+ ///
+ Pin10 = (UInt64)1 << 10,
+
+ ///
+ /// Gpio Pin 11 used for wakeup.
+ /// ESP32_S2, ESP32_S3, ESP32_H2 only
+ ///
+ Pin11 = (UInt64)1 << 11,
+
///
/// Gpio Pin 12 used for wakeup.
+ /// ESP32, ESP32_S2, ESP32_S3, ESP32_H2 only
///
Pin12 = (UInt64)1 << 12,
///
/// Gpio Pin 13 used for wakeup.
+ /// ESP32, ESP32_S2, ESP32_S3, ESP32_H2 only
///
Pin13 = (UInt64)1 << 13,
///
/// Gpio Pin 14 used for wakeup.
+ /// ESP32, ESP32_S2, ESP32_S3, ESP32_H2 only
///
Pin14 = (UInt64)1 << 14,
///
/// Gpio Pin 15 used for wakeup.
+ /// ESP32, ESP32_S2, ESP32_S3 only
///
Pin15 = (UInt64)1 << 15,
+ ///
+ /// Gpio Pin 16 used for wakeup.
+ /// ESP32_S2, ESP32_S3 only
+ ///
+ Pin16 = (UInt64)1 << 16,
+
+ ///
+ /// Gpio Pin 17 used for wakeup.
+ /// ESP32_S2, ESP32_S3 only
+ ///
+ Pin17 = (UInt64)1 << 17,
+
+ ///
+ /// Gpio Pin 18 used for wakeup.
+ /// ESP32_S2, ESP32_S3 only
+ ///
+ Pin18 = (UInt64)1 << 18,
+
+ ///
+ /// Gpio Pin 19 used for wakeup.
+ /// ESP32_S2, ESP32_S3 only
+ ///
+ Pin19 = (UInt64)1 << 19,
+
+ ///
+ /// Gpio Pin 20 used for wakeup.
+ /// ESP32_S2, ESP32_S3 only
+ ///
+ Pin20 = (UInt64)1 << 20,
+
+ ///
+ /// Gpio Pin 21 used for wakeup.
+ /// ESP32_S2, ESP32_S3 only
+ ///
+ Pin21 = (UInt64)1 << 21,
+
///
/// Gpio Pin 25 used for wakeup.
+ /// ESP32 only
///
Pin25 = (UInt64)1 << 25,
///
/// Gpio Pin 26 used for wakeup.
+ /// ESP32 only
///
Pin26 = (UInt64)1 << 26,
///
/// Gpio Pin 27 used for wakeup.
+ /// ESP32 only
///
Pin27 = (UInt64)1 << 27,
///
/// Gpio Pin 32 used for wakeup.
+ /// ESP32 only
///
Pin32 = (UInt64)1 << 32,
///
/// Gpio Pin 33 used for wakeup.
+ /// ESP32 only
///
Pin33 = (UInt64)1 << 33,
///
/// Gpio Pin 34 used for wakeup.
+ /// ESP32 only
///
Pin34 = (UInt64)1 << 34,
///
/// Gpio Pin 35 used for wakeup.
+ /// ESP32 only
///
Pin35 = (UInt64)1 << 35,
///
/// Gpio Pin 36 used for wakeup.
+ /// ESP32 only
///
Pin36 = (UInt64)1 << 36,
///
/// Gpio Pin 37 used for wakeup.
+ /// ESP32 only
///
Pin37 = (UInt64)1 << 37,
///
/// Gpio Pin 38 used for wakeup.
+ /// ESP32 only
///
Pin38 = (UInt64)1 << 38,
///
/// Gpio Pin 39 used for wakeup.
+ /// ESP32 only
///
Pin39 = (UInt64)1 << 39
}