Compare commits
1 Commits
3adc6f3b28
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
4a391756b4
|
2
Makefile
2
Makefile
@@ -5,7 +5,7 @@ TARGET_MCU_PACKAGE ?= CH32V203C8T6
|
||||
CH32V003FUN ?= ./ch32v003fun/ch32v003fun
|
||||
MINICHLINK ?= ./ch32v003fun/minichlink
|
||||
|
||||
PREFIX ?= riscv64-none-elf
|
||||
PREFIX ?= riscv64-elf
|
||||
NEWLIB ?= /usr/riscv64-none-elf/include/
|
||||
|
||||
INCLUDE_DIRS ?= \
|
||||
|
||||
4
config.c
4
config.c
@@ -2,8 +2,8 @@
|
||||
|
||||
// Node config definition
|
||||
node_config_t NODE_CONFIG = {.id = "ch32-node-1",
|
||||
.name = "test node 1, broken usb",
|
||||
.location = "dunno yet"};
|
||||
.name = "Greenhouse node 1",
|
||||
.location = "Greenhouse"};
|
||||
|
||||
// RS485 devices definition
|
||||
const rs485_device_t RS485_DEVICES[RS485_DEVICE_COUNT] = {
|
||||
|
||||
@@ -29,7 +29,7 @@ typedef struct {
|
||||
} rs485_device_t;
|
||||
|
||||
// Network configuration
|
||||
#define MQTT_SERVER_IP {192, 168, 102, 100}
|
||||
#define MQTT_SERVER_IP {192, 168, 102, 1}
|
||||
#define MQTT_PORT 1883
|
||||
|
||||
// MQTT configuration
|
||||
|
||||
Reference in New Issue
Block a user