-
Notifications
You must be signed in to change notification settings - Fork 7.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TW#28143] Make MB_INST_MAX_SIZE configurable in menuconfig #2884
Comments
Thank you for your advice. The Modbus controller code has been updated and will be merged as soon as possible. |
@alisitsyn Thanks for your reply! |
@keelung-yang, In updated realization the MB_INST_MAX_SIZE is predefined to maximum value (65535 * 2) and removed from KConfig. It is responsibility of user to control range of register areas . |
esp-idf/components/freemodbus/modbus_controller/modbus_controller.c: The MB_INST_MAX_SIZE is changed to max value=(65535*2); Update support for coils read into freemodbus.c; TW#28143 Closes #2884
esp-idf/components/freemodbus/modbus_controller/modbus_controller.c: The MB_INST_MAX_SIZE is changed to max value=(65535*2); Update support for coils read into freemodbus.c; TW#28143 Closes espressif/esp-idf#2884 * Original commit: espressif/esp-idf@e3a786f
Our applications depended on modbus heavily. But MB_INST_MAX_SIZE (2048) is too small.
I know I can change it, but thus make esp-idf dirty locally. So it's better to make it configurable.
Lucky, a few code should be changed:
The text was updated successfully, but these errors were encountered: