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
7d607bfd
Unverified
Commit
7d607bfd
authored
Aug 13, 2023
by
Me No Dev
Committed by
GitHub
Aug 13, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8512 from P-R-O-C-H-Y/SPI_SPI-pins_fix
SPI - fix attach pin for ESP32-S3
parents
369e974e
bd40349c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
.github/ISSUE_TEMPLATE/Issue-report.yml
.github/ISSUE_TEMPLATE/Issue-report.yml
+1
-0
cores/esp32/esp32-hal-spi.c
cores/esp32/esp32-hal-spi.c
+4
-4
No files found.
.github/ISSUE_TEMPLATE/Issue-report.yml
View file @
7d607bfd
...
...
@@ -41,6 +41,7 @@ body:
options
:
-
latest master (checkout manually)
-
latest development Release Candidate (RC-X)
-
v2.0.11
-
v2.0.10
-
v2.0.9
-
v2.0.8
...
...
cores/esp32/esp32-hal-spi.c
View file @
7d607bfd
...
...
@@ -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