mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-28 17:49:08 +03:00
remove mentions of discontinued scripts
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
#
|
||||
# Update modbus parameters from entity definitions.
|
||||
# This script generates c++ code for the modbus parameter definitions.
|
||||
#
|
||||
# Usage:
|
||||
# - first, dump all entities to csv by running 'sh ./scripts/dump_entities.sh'
|
||||
# - then run 'cat ../dump_entities.csv | python3 update_modbus_registers.py > ../src/modbus_entity_parameters.hpp'
|
||||
# from the "scripts" folder
|
||||
# OR
|
||||
# run `sh ./scripts/update_modbus_registers.sh` from the root folder
|
||||
# Called by /scripts/generate_csv_and_headers.sh
|
||||
|
||||
import fileinput
|
||||
import csv
|
||||
@@ -118,7 +112,7 @@ cpp_file_template = Template('''#include "modbus.h"
|
||||
#include "emsdevice.h"
|
||||
|
||||
/*
|
||||
* This file is auto-generated by the update_modbus_registers.sh script. Do not modify.
|
||||
* This file is auto-generated. Do not modify.
|
||||
*/
|
||||
|
||||
// clang-format off
|
||||
|
||||
Reference in New Issue
Block a user