Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
f9733705
Commit
f9733705
authored
May 20, 2021
by
Tomas Vanek
Committed by
Damien George
Dec 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
esp32/machine_pin: Make GPIO 26 usable for S2,S3 if SPIRAM not config'd.
Signed-off-by:
Tomas Vanek
<
vanekt@fbl.cz
>
parent
e9f88048
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
ports/esp32/machine_pin.c
ports/esp32/machine_pin.c
+10
-2
No files found.
ports/esp32/machine_pin.c
View file @
f9733705
...
...
@@ -177,7 +177,11 @@ STATIC const machine_pin_obj_t machine_pin_obj[] = {
{{
NULL
},
-
1
},
// 23 not a pin
{{
NULL
},
-
1
},
// 24 not a pin
{{
NULL
},
-
1
},
// 25 not a pin
{{
NULL
},
-
1
},
// 26 FLASH/PSRAM
#if CONFIG_SPIRAM
{{
NULL
},
-
1
},
// 26 PSRAM
#else
{{
&
machine_pin_type
},
GPIO_NUM_26
},
#endif
{{
NULL
},
-
1
},
// 27 FLASH/PSRAM
{{
NULL
},
-
1
},
// 28 FLASH/PSRAM
{{
NULL
},
-
1
},
// 29 FLASH/PSRAM
...
...
@@ -618,7 +622,11 @@ STATIC const machine_pin_irq_obj_t machine_pin_irq_object[] = {
{{
NULL
},
-
1
},
// 23 not a pin
{{
NULL
},
-
1
},
// 24 not a pin
{{
NULL
},
-
1
},
// 25 not a pin
{{
NULL
},
-
1
},
// 26 FLASH/PSRAM
#if CONFIG_SPIRAM
{{
NULL
},
-
1
},
// 26 PSRAM
#else
{{
&
machine_pin_irq_type
},
GPIO_NUM_26
},
#endif
{{
NULL
},
-
1
},
// 27 FLASH/PSRAM
{{
NULL
},
-
1
},
// 28 FLASH/PSRAM
{{
NULL
},
-
1
},
// 29 FLASH/PSRAM
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment