mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-05-04 15:45:04 -04:00
Work on ESP32 compatibility
This commit is contained in:
parent
9ba4ceaa12
commit
8a51a03a24
3 changed files with 154 additions and 126 deletions
9
Config.h
9
Config.h
|
@ -4,7 +4,7 @@
|
|||
#define CONFIG_H
|
||||
|
||||
#define MAJ_VERS 0x01
|
||||
#define MIN_VERS 0x14
|
||||
#define MIN_VERS 0x15
|
||||
|
||||
#define PLATFORM_AVR 0x90
|
||||
#define PLATFORM_ESP32 0x80
|
||||
|
@ -45,8 +45,6 @@
|
|||
const int pin_led_rx = 12;
|
||||
const int pin_led_tx = 13;
|
||||
|
||||
const long serial_baudrate = 115200;
|
||||
|
||||
#define CONFIG_UART_BUFFER_SIZE 6144
|
||||
#define CONFIG_QUEUE_SIZE 6144
|
||||
#define CONFIG_QUEUE_MAX_LENGTH 250
|
||||
|
@ -61,8 +59,6 @@
|
|||
const int pin_led_rx = 12;
|
||||
const int pin_led_tx = 13;
|
||||
|
||||
const long serial_baudrate = 115200;
|
||||
|
||||
#define CONFIG_UART_BUFFER_SIZE 2048
|
||||
#define CONFIG_QUEUE_SIZE 2048
|
||||
#define CONFIG_QUEUE_MAX_LENGTH 80
|
||||
|
@ -77,8 +73,6 @@
|
|||
const int pin_led_rx = 2;
|
||||
const int pin_led_tx = 4;
|
||||
|
||||
const long serial_baudrate = 921600;
|
||||
|
||||
#define CONFIG_UART_BUFFER_SIZE 6144
|
||||
#define CONFIG_QUEUE_SIZE 6144
|
||||
#define CONFIG_QUEUE_MAX_LENGTH 250
|
||||
|
@ -90,6 +84,7 @@
|
|||
#define eeprom_addr(a) (a+EEPROM_OFFSET)
|
||||
|
||||
// MCU independent configuration parameters
|
||||
const long serial_baudrate = 115200;
|
||||
const int lora_rx_turnaround_ms = 50;
|
||||
|
||||
// SX1276 RSSI offset to get dBm value from
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue