sync master

This commit is contained in:
hathach
2026-02-02 19:12:21 +07:00
parent 1069753842
commit 5bb68e6125
+3 -8
View File
@@ -25,32 +25,27 @@
#ifndef _SYLDRA_H
#define _SYLDRA_H
#define _PINNUM(port, pin) ((port)*32 + (pin))
//------------------------------------------------------------------//
// LED
//------------------------------------------------------------------//
#define LEDS_NUMBER 1
#define LED_PRIMARY_PIN _PINNUM(0, 17) // AD10 LED
#define LED_PRIMARY_PIN PINNUM(0, 17) // AD10 LED
#define LED_STATE_ON 1
//------------------------------------------------------------------//
// BUTTON
//------------------------------------------------------------------//
#define BUTTONS_NUMBER 2
#define BUTTON_1 _PINNUM(0, 24) // AD20 -- DFU
#define BUTTON_2 _PINNUM(1, 00) // AD22 -- FRST
#define BUTTON_DFU PINNUM(0, 24) // AD20 -- DFU
#define BUTTON_DFU_OTA PINNUM(1, 00) // AD22 -- OTA
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
//-------------------------------------------------------------------//
// BLE OTA
//-------------------------------------------------------------------//
#define BLEDIS_MANUFACTURER "Ambraglow-&-localcc"
#define BLEDIS_MODEL "Syldra_dev_r1"
//--------------------------------------------------------------------+
// USB - using test PIDs
//--------------------------------------------------------------------+