chore: upd
This commit is contained in:
2
Makefile
2
Makefile
@@ -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 ?= \
|
||||||
|
|||||||
4
config.c
4
config.c
@@ -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] = {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user