mirror of
https://github.com/meshtastic/firmware.git
synced 2025-08-04 12:44:40 +00:00
32 lines
648 B
C
32 lines
648 B
C
#pragma once
|
|
|
|
#define ARCH_RP2040
|
|
|
|
#ifndef HAS_BUTTON
|
|
#define HAS_BUTTON 1
|
|
#endif
|
|
#ifndef HAS_TELEMETRY
|
|
#define HAS_TELEMETRY 1
|
|
#endif
|
|
#ifndef HAS_SCREEN
|
|
#define HAS_SCREEN 1
|
|
#endif
|
|
#ifndef HAS_WIRE
|
|
#define HAS_WIRE 1
|
|
#endif
|
|
#ifndef HAS_SENSOR
|
|
#define HAS_SENSOR 1
|
|
#endif
|
|
#ifndef HAS_RADIO
|
|
#define HAS_RADIO 1
|
|
#endif
|
|
|
|
#if defined(RPI_PICO)
|
|
#define HW_VENDOR meshtastic_HardwareModel_RPI_PICO
|
|
#elif defined(RAK11310)
|
|
#define HW_VENDOR meshtastic_HardwareModel_RAK11310
|
|
#elif defined(SENSELORA_RP2040)
|
|
#define HW_VENDOR meshtastic_HardwareModel_SENSELORA_RP2040
|
|
#elif defined(RP2040_LORA)
|
|
#define HW_VENDOR meshtastic_HardwareModel_RP2040_LORA
|
|
#endif |