Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
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
arduino-esp32
Commits
1a209a0c
Commit
1a209a0c
authored
Aug 11, 2023
by
Jan Prochazka
Committed by
me-no-dev
Sep 04, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix attach pin for S3
parent
d0635d00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
cores/esp32/esp32-hal-spi.c
cores/esp32/esp32-hal-spi.c
+4
-4
No files found.
cores/esp32/esp32-hal-spi.c
View file @
1a209a0c
...
...
@@ -240,7 +240,7 @@ void spiAttachMOSI(spi_t * spi, int8_t mosi)
return
;
}
if
(
mosi
<
0
)
{
#if CONFIG_IDF_TARGET_ESP32S2
|| CONFIG_IDF_TARGET_ESP32S3
#if CONFIG_IDF_TARGET_ESP32S2
if
(
spi
->
num
==
FSPI
)
{
mosi
=
35
;
}
else
{
...
...
@@ -277,7 +277,7 @@ void spiDetachSCK(spi_t * spi, int8_t sck)
return
;
}
if
(
sck
<
0
)
{
#if CONFIG_IDF_TARGET_ESP32S2
|| CONFIG_IDF_TARGET_ESP32S3
#if CONFIG_IDF_TARGET_ESP32S2
if
(
spi
->
num
==
FSPI
)
{
sck
=
36
;
}
else
{
...
...
@@ -314,7 +314,7 @@ void spiDetachMISO(spi_t * spi, int8_t miso)
return
;
}
if
(
miso
<
0
)
{
#if CONFIG_IDF_TARGET_ESP32S2
|| CONFIG_IDF_TARGET_ESP32S3
#if CONFIG_IDF_TARGET_ESP32S2
if
(
spi
->
num
==
FSPI
)
{
miso
=
37
;
}
else
{
...
...
@@ -351,7 +351,7 @@ void spiDetachMOSI(spi_t * spi, int8_t mosi)
return
;
}
if
(
mosi
<
0
)
{
#if CONFIG_IDF_TARGET_ESP32S2
|| CONFIG_IDF_TARGET_ESP32S3
#if CONFIG_IDF_TARGET_ESP32S2
if
(
spi
->
num
==
FSPI
)
{
mosi
=
35
;
}
else
{
...
...
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