Merge branch 'dev'

This commit is contained in:
proddy
2025-12-31 21:26:15 +01:00
parent eaa277fef0
commit 28135c225b
385 changed files with 40221 additions and 38187 deletions

9
scripts/generate_csv_and_headers.sh Executable file → Normal file
View File

@@ -1,9 +1,14 @@
#!/bin/sh
#
# Builds the dump_*.csv files, modbus headers and modbus documentation.
# Run as `sh scripts/generate_csv_and_headers.sh` from the root of the repository.
##
## IMPORTANT NOTE!
## This script is not used anymore. It is kept for reference only.
## It has been replaced with two pio targets: build_modbus and build_standalone.
##
# create a dummy modbus_entity_parameters.hpp so the first pass compiles
cat >./src/core/modbus_entity_parameters.hpp <<EOL
#include "modbus.h"
@@ -56,4 +61,4 @@ echo "test telegram_dump" | ./emsesp | python3 ./scripts/strip_csv.py > ./docs/d
ls -al ./src/core/modbus_entity_parameters.hpp
ls -al ./docs/Modbus-Entity-Registers.md
ls -al ./docs/dump_entities.csv
ls -al ./docs/dump_telegrams.csv
ls -al ./docs/dump_telegrams.csv