mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-29 01:59:08 +03:00
Merge branch 'dev'
This commit is contained in:
9
scripts/generate_csv_and_headers.sh
Executable file → Normal file
9
scripts/generate_csv_and_headers.sh
Executable file → Normal 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
|
||||
Reference in New Issue
Block a user