继续把 interp_execute.cc、interp_queue.cc、interp_find.cc 等 LinuxCNC 源文件纳入直接编译/链接路径,逐步删除临时 convert_g() wrapper 行为
结论:已将核心 LinuxCNC interpreter 源接入 standalone native 编译链接路径,移除 minimal runtime 中的手写 convert_g 行为,并通过 native probe 验证。
This commit is contained in:
27
wasm-port/vendor/linuxcnc/src/emc/linuxcnc.h
vendored
Normal file
27
wasm-port/vendor/linuxcnc/src/emc/linuxcnc.h
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
/********************************************************************
|
||||
* Description: linuxcnc.h
|
||||
* Common defines used in many emc2 source files.
|
||||
*
|
||||
*
|
||||
* Author: Petter Reinholdtsen
|
||||
* License: LGPL Version 2
|
||||
* System: Any
|
||||
*
|
||||
* Copyright (c) 2021 All rights reserved.
|
||||
********************************************************************/
|
||||
|
||||
#ifndef __LINUXCNC_LINUXCNC_H
|
||||
#define __LINUXCNC_LINUXCNC_H
|
||||
|
||||
/* LINELEN is used throughout for buffer sizes, length of file name strings,
|
||||
etc. Let's just have one instead of a multitude of defines all the same. */
|
||||
#define LINELEN 255
|
||||
|
||||
/* Used in a number of places for sprintf() buffers. */
|
||||
#define BUFFERLEN 80
|
||||
|
||||
/* Imperial/Metric conversion */
|
||||
#define MM_PER_INCH 25.4
|
||||
#define INCH_PER_MM (1.0/MM_PER_INCH)
|
||||
|
||||
#endif /* LINUXCNC_H */
|
||||
Reference in New Issue
Block a user