Skip to content

mesa_modbus: remove deprecated framework, superseded by hm2_modbus - #4530

Open
grandixximo wants to merge 1 commit into
LinuxCNC:masterfrom
grandixximo:mesa-modbus-removal
Open

grandixximo wants to merge 1 commit into
LinuxCNC:masterfrom
grandixximo:mesa-modbus-removal

Conversation

@grandixximo

Copy link
Copy Markdown
Contributor

Implements the developer meeting decision: remove the old mesa_modbus framework from master, hm2_modbus is the way forward.

The framework (modcompile + mesa_modbus.c.tmpl + .mod samples) was deprecated in #4386 in favor of hm2_modbus with mesambccc-compiled MBCCB files. The 2.9 branch retains it (see #4396), so existing configurations keep working there with documentation and migration support.

This removes:

  • src/hal/drivers/mesa-hostmot2/modbus/ (modcompile.py, template, samples, README)
  • the mesa_modbus driver doc and modcompile(1) man page
  • build rules, debian packaging entries, docs pipeline entries (po4a.cfg, docs index, Master_Documentation, component list)

Two cross-references that pointed at the removed pages are fixed (mesambccc SEE ALSO, hm2_pktuart example), and a migration note is added to the 2.10 section of updating-linuxcnc.adoc. The note links to the 2.9 docs for the removed pages, following the existing precedent of the 2.8 upgrade link in the same file.

The "Parts from mesa_modbus.c.tmpl" attribution comment in hm2_modbus.c stays, it is historical credit, not a reference to live code.

Per the developer meeting decision, remove the mesa_modbus framework (modcompile + mesa_modbus.c.tmpl driver template) from master entirely. It was deprecated in 46074f8 in favor of the hm2_modbus driver with mesambccc-compiled MBCCB files, and the 2.9 branch retains it, so existing configurations keep documentation and migration support there.

Remove the modbus source directory with its samples and README, the mesa_modbus driver doc and modcompile man page, the build rules, debian packaging entries, docs pipeline entries, and fix the two cross-references that pointed at the removed pages. A migration note is added to the 2.10 section of updating-linuxcnc.adoc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant