# ACNC **Repository Path**: mirrors/ACNC ## Basic Information - **Project Name**: ACNC - **Description**: ACNC —— Ada 语言实现的 G 代码解析器和 CNC 控制器 构建指令 G代码查看器 在同一目录中下载和安装 GNAT 和 GtkAda 包 启动 GPS(GNAT 程序设 - **Primary Language**: Ada - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: https://www.oschina.net/p/acnc - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2018-09-24 - **Last Updated**: 2026-02-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ACNC A G-code parser and CNC controller (in Ada) For more info: http://blog.adacore.com/make-with-ada-arm-cortex-m-cnc-controller ## Build instructions ### Gcode Viewer - Download and install the [GNAT and GtkAda packages](http://libre.adacore.com/download/configurations) in the same directory - Start GPS (GNAT Programing Studio) - Open the project file gcode_viewer/gcode_viewer.gpr - Use the "Build all" button to compile - use the "Run Main: main_gtkada" button to start the application ### CNC controller on the STM32F4 Discovery - Make sure to get all the Git submodules "$ git submodules update" - Download and install the [GNAT for ARM package](http://libre.adacore.com/download/configurations) - Start GPS (GNAT Programing Studio) - Open the project file stm32f4-disco_controller/stm32f4_disco_CNC_controller.gpr - Use the "Build all" button to compile - use the "Flash to board" button to program the STM32F4 Discovery board