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
a39a596b
Commit
a39a596b
authored
Sep 20, 2021
by
Seon Rozenblum
Committed by
Damien George
Sep 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
esp32/machine_pin: Block out IO16 and IO17 when using SPIRAM on ESP32.
Fixes issue #7819.
parent
35fb90bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
ports/esp32/machine_pin.c
ports/esp32/machine_pin.c
+10
-0
No files found.
ports/esp32/machine_pin.c
View file @
a39a596b
...
...
@@ -84,8 +84,13 @@ STATIC const machine_pin_obj_t machine_pin_obj[] = {
{{
&
machine_pin_type
},
GPIO_NUM_13
},
{{
&
machine_pin_type
},
GPIO_NUM_14
},
{{
&
machine_pin_type
},
GPIO_NUM_15
},
#if CONFIG_ESP32_SPIRAM_SUPPORT
{{
NULL
},
-
1
},
{{
NULL
},
-
1
},
#else
{{
&
machine_pin_type
},
GPIO_NUM_16
},
{{
&
machine_pin_type
},
GPIO_NUM_17
},
#endif
{{
&
machine_pin_type
},
GPIO_NUM_18
},
{{
&
machine_pin_type
},
GPIO_NUM_19
},
{{
NULL
},
-
1
},
...
...
@@ -518,8 +523,13 @@ STATIC const machine_pin_irq_obj_t machine_pin_irq_object[] = {
{{
&
machine_pin_irq_type
},
GPIO_NUM_13
},
{{
&
machine_pin_irq_type
},
GPIO_NUM_14
},
{{
&
machine_pin_irq_type
},
GPIO_NUM_15
},
#if CONFIG_ESP32_SPIRAM_SUPPORT
{{
NULL
},
-
1
},
{{
NULL
},
-
1
},
#else
{{
&
machine_pin_irq_type
},
GPIO_NUM_16
},
{{
&
machine_pin_irq_type
},
GPIO_NUM_17
},
#endif
{{
&
machine_pin_irq_type
},
GPIO_NUM_18
},
{{
&
machine_pin_irq_type
},
GPIO_NUM_19
},
{{
NULL
},
-
1
},
...
...
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