Skip to content

Commit

Permalink
Update architecture.h add Minewsemi ME25LS01 LR1110 breakout ME25LE01…
Browse files Browse the repository at this point in the history
…_V1.0 and fix buzzer (#4472)

* Update architecture.h

* Update variant.h

* Update variant.h

* Update architecture.h

* Update architecture.h

* Delete src/platform/nrf52/architecture.h

* Add files via upload

* Update architecture.h

* Update architecture.h

* Update architecture.h
  • Loading branch information
markbirss authored Aug 16, 2024
1 parent 8517675 commit 0ebdc7a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/platform/nrf52/architecture.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
#define HW_VENDOR meshtastic_HardwareModel_WIO_WM1110
#elif defined(TRACKER_T1000_E)
#define HW_VENDOR meshtastic_HardwareModel_TRACKER_T1000_E
#elif defined(ME25LS01)
#define HW_VENDOR meshtastic_HardwareModel_ME25LS01
#elif defined(PRIVATE_HW) || defined(FEATHER_DIY)
#define HW_VENDOR meshtastic_HardwareModel_PRIVATE_HW
#else
Expand Down Expand Up @@ -116,4 +118,4 @@
#if !defined(PIN_SERIAL_RX) && !defined(NRF52840_XXAA)
// No serial ports on this board - ONLY use segger in memory console
#define USE_SEGGER
#endif
#endif
4 changes: 2 additions & 2 deletions variants/ME25LS01-4Y10TD/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ extern "C" {
#define VBAT_AR_INTERNAL AR_INTERNAL_3_0

// Buzzer
#define BUZZER_EN_PIN -1
#define PIN_BUZZER (0 + 25)

#ifdef __cplusplus
}
Expand All @@ -136,4 +136,4 @@ extern "C" {
* Arduino objects - C++ only
*----------------------------------------------------------------------------*/

#endif // _VARIANT_ME25LS01_4Y10TD_
#endif // _VARIANT_ME25LS01_4Y10TD_
4 changes: 2 additions & 2 deletions variants/ME25LS01-4Y10TD_e-ink/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ static const uint8_t SCK = PIN_SPI_SCK;
#define VBAT_AR_INTERNAL AR_INTERNAL_3_0

// Buzzer
#define BUZZER_EN_PIN -1
#define PIN_BUZZER (0 + 25)

#ifdef __cplusplus
}
Expand All @@ -159,4 +159,4 @@ static const uint8_t SCK = PIN_SPI_SCK;
* Arduino objects - C++ only
*----------------------------------------------------------------------------*/

#endif // _VARIANT_ME25LS01_4Y10TD__
#endif // _VARIANT_ME25LS01_4Y10TD__

0 comments on commit 0ebdc7a

Please sign in to comment.