remove mentions of discontinued scripts

This commit is contained in:
proddy
2024-11-22 11:03:17 +01:00
parent 9fbb28ee33
commit c80ec368a9
4 changed files with 6 additions and 14 deletions

View File

@@ -104,7 +104,7 @@ print("# Entity/Register Mapping")
print()
print("!!! note")
print()
print(" This file has been auto-generated. Do not edit.")
print(" This file has been auto-generated. Do not modify.")
print()
for device_type, devices in grouped_by(entities, device_type_key):

View File

@@ -2,9 +2,7 @@
#
# Builds the dump CSV files, modbus headers and documentation.
# To be run before a release with
# sh ./scripts/generate_csv_and_headers.sh
#
# Called by /scripts/generate_csv_and_headers.sh
# build dummy modbus_entity_parameters.hpp so it compiles
cat >./src/modbus_entity_parameters.hpp <<EOL
@@ -12,7 +10,7 @@ cat >./src/modbus_entity_parameters.hpp <<EOL
#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

View File

@@ -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

View File

@@ -2,7 +2,7 @@
#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