Compare commits

..

1 Commits

Author SHA1 Message Date
4a391756b4 chore: upd 2025-03-02 18:01:37 +06:00
3 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ TARGET_MCU_PACKAGE ?= CH32V203C8T6
CH32V003FUN ?= ./ch32v003fun/ch32v003fun CH32V003FUN ?= ./ch32v003fun/ch32v003fun
MINICHLINK ?= ./ch32v003fun/minichlink MINICHLINK ?= ./ch32v003fun/minichlink
PREFIX ?= riscv64-none-elf PREFIX ?= riscv64-elf
NEWLIB ?= /usr/riscv64-none-elf/include/ NEWLIB ?= /usr/riscv64-none-elf/include/
INCLUDE_DIRS ?= \ INCLUDE_DIRS ?= \

View File

@@ -2,8 +2,8 @@
// Node config definition // Node config definition
node_config_t NODE_CONFIG = {.id = "ch32-node-1", node_config_t NODE_CONFIG = {.id = "ch32-node-1",
.name = "test node 1, broken usb", .name = "Greenhouse node 1",
.location = "dunno yet"}; .location = "Greenhouse"};
// RS485 devices definition // RS485 devices definition
const rs485_device_t RS485_DEVICES[RS485_DEVICE_COUNT] = { const rs485_device_t RS485_DEVICES[RS485_DEVICE_COUNT] = {

View File

@@ -29,7 +29,7 @@ typedef struct {
} rs485_device_t; } rs485_device_t;
// Network configuration // Network configuration
#define MQTT_SERVER_IP {192, 168, 102, 100} #define MQTT_SERVER_IP {192, 168, 102, 1}
#define MQTT_PORT 1883 #define MQTT_PORT 1883
// MQTT configuration // MQTT configuration