mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-08-06 05:14:35 -04:00
Heltec Mesh Pocket added
Removed the hardcoded Board model so it now compiles with Arduino CLI using 'compiler.cpp.extra_flags=-DBOARD_MODEL=BOARD_HELTEC_MESHP' `
This commit is contained in:
parent
43aa2f60c8
commit
b943303d51
14 changed files with 6 additions and 32 deletions
|
@ -1,11 +0,0 @@
|
|||
#include "Bluetooth.h"
|
||||
|
||||
#if MCU_VARIANT == MCU_NRF52
|
||||
bool SerialBT_init = false;
|
||||
#endif
|
||||
|
||||
uint32_t bt_pairing_started = 0;
|
||||
uint8_t dev_bt_mac[BT_DEV_ADDR_LEN];
|
||||
char bt_da[BT_DEV_ADDR_LEN];
|
||||
char bt_dh[BT_DEV_HASH_LEN];
|
||||
char bt_devname[11];
|
|
@ -1,5 +1,4 @@
|
|||
// Copyright (C) 2024, Mark Qvist
|
||||
|
||||
// This program is free software: you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License as published by
|
||||
// the Free Software Foundation, either version 3 of the License, or
|
||||
|
@ -12,7 +11,7 @@
|
|||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#include "board_config.h"
|
||||
|
||||
#if MCU_VARIANT == MCU_ESP32
|
||||
#if HAS_BLUETOOTH == true
|
||||
#include "BluetoothSerial.h"
|
||||
|
|
2
Boards.h
2
Boards.h
|
@ -14,8 +14,6 @@
|
|||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
//#define BOARD_MODEL BOARD_HELTEC_MESHP
|
||||
//#define BOARD_MODEL BOARD_HELTEC_MESHP
|
||||
#include "board_config.h"
|
||||
|
||||
#include "Interfaces.h"
|
||||
#include "ROM.h"
|
||||
|
||||
|
|
2
Config.h
2
Config.h
|
@ -12,7 +12,7 @@
|
|||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#include "board_config.h"
|
||||
|
||||
#include "ROM.h"
|
||||
#include "Boards.h"
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#include "board_config.h"
|
||||
|
||||
#include <FS.h>
|
||||
#include <SPIFFS.h>
|
||||
#include <WiFi.h>
|
||||
|
|
2
Device.h
2
Device.h
|
@ -12,10 +12,8 @@
|
|||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#include "board_config.h"
|
||||
|
||||
#include <Ed25519.h>
|
||||
|
||||
#if MCU_VARIANT == MCU_ESP32
|
||||
#include "mbedtls/md.h"
|
||||
#include "esp_ota_ops.h"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#include "board_config.h"
|
||||
|
||||
#include <Adafruit_GFX.h>
|
||||
|
||||
#define DISP_W 128
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#include "board_config.h"
|
||||
|
||||
#ifndef FRAMING_H
|
||||
#define FRAMING_H
|
||||
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#include "board_config.h"
|
||||
|
||||
const unsigned char bm_cable [] PROGMEM = {
|
||||
0x00, 0x00, 0x00, 0x1c, 0x00, 0x38, 0x07, 0xfc, 0x08, 0x38, 0x10, 0x1c, 0x10, 0x00, 0x08, 0x00,
|
||||
|
|
1
Input.h
1
Input.h
|
@ -12,7 +12,6 @@
|
|||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#include "board_config.h"
|
||||
#ifndef INPUT_H
|
||||
#define INPUT_H
|
||||
|
||||
|
|
1
Power.h
1
Power.h
|
@ -12,7 +12,6 @@
|
|||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#include "board_config.h"
|
||||
|
||||
#if BOARD_MODEL == BOARD_TBEAM || BOARD_MODEL == BOARD_TBEAM_S_V1
|
||||
#include <XPowersLib.h>
|
||||
|
|
|
@ -13,9 +13,7 @@
|
|||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
//#define BOARD_MODEL BOARD_HELTEC_MESHP // MeshPocket
|
||||
//BD
|
||||
#include "board_config.h"
|
||||
//BD
|
||||
|
||||
#include <Arduino.h>
|
||||
#include <SPI.h>
|
||||
#include "Utilities.h"
|
||||
|
|
|
@ -4,9 +4,6 @@
|
|||
// Modifications and additions copyright 2024 by Mark Qvist & Jacob Eva
|
||||
// Obviously still under the MIT license.
|
||||
|
||||
//BD
|
||||
#include "board_config.h"
|
||||
//BD
|
||||
#include "Radio.hpp"
|
||||
#include "src/misc/ModemISR.h"
|
||||
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
#include "board_config.h"
|
||||
|
||||
#include "Radio.hpp"
|
||||
#include "Config.h"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue