kopia lustrzana https://github.com/meshtastic/firmware
add proper RAK variant and change pathspec
rodzic
ceb884cf18
commit
11c3ca541f
|
@ -42,6 +42,8 @@
|
||||||
#define HW_VENDOR meshtastic_HardwareModel_NRF52840DK
|
#define HW_VENDOR meshtastic_HardwareModel_NRF52840DK
|
||||||
#elif defined(ARDUINO_NRF52840_PPR)
|
#elif defined(ARDUINO_NRF52840_PPR)
|
||||||
#define HW_VENDOR meshtastic_HardwareModel_PPR
|
#define HW_VENDOR meshtastic_HardwareModel_PPR
|
||||||
|
#elif defined(RAK2560)
|
||||||
|
#define HW_VENDOR meshtastic_HardwareModel_RAK2560
|
||||||
#elif defined(RAK4630)
|
#elif defined(RAK4630)
|
||||||
#define HW_VENDOR meshtastic_HardwareModel_RAK4631
|
#define HW_VENDOR meshtastic_HardwareModel_RAK4631
|
||||||
#elif defined(TTGO_T_ECHO)
|
#elif defined(TTGO_T_ECHO)
|
||||||
|
|
|
@ -21,4 +21,4 @@ debug_tool = jlink
|
||||||
;upload_protocol = jlink
|
;upload_protocol = jlink
|
||||||
extra_scripts =
|
extra_scripts =
|
||||||
${env.extra_scripts}
|
${env.extra_scripts}
|
||||||
../firmware/variants/rak2560/create_uf2.py
|
./variants/rak2560/create_uf2.py
|
|
@ -16,10 +16,11 @@
|
||||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _VARIANT_RAK4630_
|
#ifndef _VARIANT_RAK2560_
|
||||||
#define _VARIANT_RAK4630_
|
#define _VARIANT_RAK2560_
|
||||||
|
|
||||||
#define RAK4630
|
#define RAK4630
|
||||||
|
#define RAK2560
|
||||||
|
|
||||||
/** Master clock frequency */
|
/** Master clock frequency */
|
||||||
#define VARIANT_MCK (64000000ul)
|
#define VARIANT_MCK (64000000ul)
|
||||||
|
|
Ładowanie…
Reference in New Issue