Thanks to visit codestin.com
Credit goes to github.com

Skip to content

variant(WL): correct Oceanus-I module and EV I2C and SPI pins #2755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@

// SPI definitions
#ifndef PIN_SPI_SS
#define PIN_SPI_SS PA4
#define PIN_SPI_SS PA15
#endif
#ifndef PIN_SPI_SS1
#define PIN_SPI_SS1 PB2
#define PIN_SPI_SS1 PNUM_NOT_DEFINED
#endif
#ifndef PIN_SPI_SS2
#define PIN_SPI_SS2 PNUM_NOT_DEFINED
Expand All @@ -74,21 +74,21 @@
#define PIN_SPI_SS3 PNUM_NOT_DEFINED
#endif
#ifndef PIN_SPI_MOSI
#define PIN_SPI_MOSI PA7
#define PIN_SPI_MOSI PB5
#endif
#ifndef PIN_SPI_MISOSPI1_SCK
#define PIN_SPI_MISO PA6
#ifndef PIN_SPI_MISO
#define PIN_SPI_MISO PB4
#endif
#ifndef PIN_SPI_SCK
#define PIN_SPI_SCK PA5
#define PIN_SPI_SCK PB3
#endif

// I2C definitions
#ifndef PIN_WIRE_SDA
#define PIN_WIRE_SDA PA11
#define PIN_WIRE_SDA PB7
#endif
#ifndef PIN_WIRE_SCL
#define PIN_WIRE_SCL PA12
#define PIN_WIRE_SCL PB8
#endif

// Timer Definitions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@

#include "variant_WE_OCEANUS1.h"

// On-board LED pin number
#define LED_BUILTIN PA7

// On-board user button
#define USER_BTN PA0
#ifndef LED_BUILTIN
// On-board LED pin number
#define LED_BUILTIN PA7
#endif

#ifndef USER_BTN
// On-board user button
#define USER_BTN PA0
#endif