[LinuxCNC/linuxcnc Issue#242] loadrt command line parameters fail on hal_ppmc.c

未分类 bolang 4个月前 (10-15) 37次浏览

Issue #242 | 状态: 已关闭 | 作者: jmelson | 创建时间: 2017-03-06


hal/drivers/halppmc.c has had 5 command line parameters since 2014. the first one in the c source works fine (portaddr). The rest of them no longer work, at least in a fresh source clone / make.

Specifically, if you use this command line :
loadrt halppmc portaddr=”0x378″ timestamp=”0x00″

you get this error :

timestamp=0x00: Invalid type character `*’

and the driver never even gets to load.

Anyone can test this without any Pico Systems hardware. Just select minimillV from the sample configs under by_interface/pico/minimillV and it will either give the above error or it will show it going through the list of possible EPP bus devices and then quit. (The latter is normal when not having the ppmc hardware present.)

My apologies for being so out of date, the previous build from source I have been using is 2.7.0~pre0, where this problem is not seen. Checking the history on the local repo, I see that hal_ppmc.c has not been changed since 2014, so the problem is not caused by a recent change to the hal driver file.

Jon

原始Issue: https://github.com/LinuxCNC/linuxcnc/issues/242

喜欢 (0)