Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a09f67

Browse files
committed
update
1 parent 11a4b26 commit 8a09f67

File tree

8 files changed

+96
-37
lines changed

8 files changed

+96
-37
lines changed

.vscode/launch.json

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,35 @@
11
{
2-
// Use IntelliSense to learn about possible attributes.
3-
// Hover to view descriptions of existing attributes.
4-
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
52
"version": "0.2.0",
63
"configurations": [
7-
84
{
95
"name": "Debug",
10-
"type": "gdb",
6+
"type": "cppdbg",
117
"request": "launch",
12-
"target": "./bin/executable",
8+
"program": "${workspaceRoot}/bin/main",
9+
"args": [],
10+
"stopAtEntry": false,
1311
"cwd": "${workspaceRoot}",
14-
"valuesFormatting": "parseText"
12+
"environment": [],
13+
"externalConsole": false,
14+
"MIMode": "gdb",
15+
"miDebuggerPath": "/usr/bin/gdb", // Update this path if necessary
16+
"setupCommands": [
17+
{
18+
"description": "Enable pretty-printing for gdb",
19+
"text": "-enable-pretty-printing",
20+
"ignoreFailures": true
21+
}
22+
],
23+
"preLaunchTask": "build",
24+
"logging": {
25+
"moduleLoad": false,
26+
"trace": false,
27+
"engineLogging": false,
28+
"programOutput": true,
29+
"exceptions": true
30+
},
31+
"valuesFormatting": "parseText",
32+
"targetArchitecture": "x86_64" // Add this line
1533
}
1634
]
1735
}

.vscode/tasks.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "shell",
6+
"label": "CMake: configure",
7+
"command": "cmake",
8+
"args": [
9+
"-S",
10+
".",
11+
"-B",
12+
"build"
13+
],
14+
"group": {
15+
"kind": "build",
16+
"isDefault": true
17+
},
18+
"problemMatcher": [],
19+
"detail": "CMake configure task"
20+
},
21+
{
22+
"type": "shell",
23+
"label": "CMake: build",
24+
"command": "cmake",
25+
"args": [
26+
"--build",
27+
"build"
28+
],
29+
"group": {
30+
"kind": "build",
31+
"isDefault": true
32+
},
33+
"problemMatcher": [],
34+
"detail": "CMake build task"
35+
},
36+
{
37+
"type": "shell",
38+
"label": "CMake: clean",
39+
"command": "cmake",
40+
"args": [
41+
"--build",
42+
"build",
43+
"--target",
44+
"clean"
45+
],
46+
"problemMatcher": [],
47+
"detail": "CMake clean task"
48+
}
49+
]
50+
}

FreeRTOS

Submodule FreeRTOS updated 282 files

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# CNC Machine Controller UI
22

3-
Welcome to the **CNC Machine Controller UI** project! This project is designed to provide a user-friendly and efficient interface for controlling CNC machines using the [LVGL (Light and Versatile Graphics Library)](https://lvgl.io/) in C. The UI features a persistent vertical navigation menu, dynamic footer buttons, and multiple interactive pages to enhance operator interaction and machine control.
3+
Welcome to the **CNC Machine Controller UI** project!
4+
5+
This project is designed to provide a user-friendly and efficient interface for controlling CNC machines using the [LVGL (Light and Versatile Graphics Library)](https://lvgl.io/) in C.
6+
7+
The UI features a persistent vertical navigation menu, dynamic footer buttons, and multiple interactive pages to enhance operator interaction and machine control.
48

59
---
610

@@ -53,12 +57,14 @@ Welcome to the **CNC Machine Controller UI** project! This project is designed t
5357

5458
The CNC Machine Controller UI aims to provide operators with a comprehensive and intuitive interface to manage and monitor CNC machine operations. Key features include:
5559

56-
- **Persistent Vertical Navigation Menu**: Located on the far right, inspired by FANUC's design, ensuring consistent access to all UI pages.
60+
- **Persistent Vertical Navigation Menu**: Located on the far right, ensuring consistent access to all UI pages.
5761
- **Dynamic Footer Buttons**: A footer with 10 buttons where the middle 8 adapt based on the active page, providing relevant controls and actions.
5862
- **Multiple Interactive Pages**: Including Status, Visualization, Programs, Offsets, Diagnostics, Settings, Dashboard, and MDI (Manual Data Input).
5963
- **Modular Codebase**: Each UI component and page is encapsulated within its own module for maintainability and scalability.
6064
- **Consistent Styling**: Uniform look and feel across all UI elements, enhancing user experience.
6165

66+
![cncvis.png](attachment:cncvis.png)
67+
6268
---
6369

6470
## Directory Structure
@@ -124,7 +130,7 @@ The CNC Machine Controller UI aims to provide operators with a comprehensive and
124130
│ ├── fonts
125131
├── lvgl
126132
│ ├── (LVGL library files or submodule)
127-
├── Makefile
133+
├── CMakeLists.txt
128134
├── README.md
129135
```
130136

@@ -324,8 +330,9 @@ To get started with the CNC Machine Controller UI project, follow these steps:
324330

325331
1. **Clone the Repository**:
326332
```bash
327-
git clone https://github.com/yourusername/cnc-controller-ui.git
328-
cd cnc-controller-ui
333+
git clone https://github.com/agentdavo/uCNC-machineSimModule.git
334+
cd uCNC-machineSimModule
335+
329336
```
330337

331338
2. **Initialize and Update Submodules** (if applicable):
@@ -401,11 +408,6 @@ For questions, feedback, or support, please contact:
401408
## Acknowledgments
402409

403410
- **LVGL**: Thanks to the developers of LVGL for providing a powerful and flexible graphics library.
404-
- **FANUC**: Inspiration for the navigation menu design.
405411
- **Open Source Community**: For their continuous support and contributions to the CNC and embedded systems ecosystems.
406412

407413
---
408-
409-
*This README was last updated on `2024-10-13`.*
410-
411-
---

cncvis.png

18.8 KB
Loading

cncvis/mxml/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
cmake_minimum_required(VERSION 3.10)
33

44
# Project name and version
5-
project(libmxml VERSION 4.0.4 LANGUAGES C C)
5+
project(libmxml VERSION 4.0.4 LANGUAGES C)
66

77
set(MXML_VERSION ${PROJECT_VERSION})
88

lvgl

Submodule lvgl updated 2743 files

simulator.code-workspace

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"program": "${workspaceFolder}/bin/main",
9393
"args": [],
9494
"cwd": "${workspaceFolder}",
95-
"preLaunchTask": "Build",
95+
"preLaunchTask": "CMake: build",
9696
"stopAtEntry": false,
9797
"linux": {
9898
"MIMode": "gdb",
@@ -107,26 +107,15 @@
107107
},
108108
"setupCommands": [
109109
{
110-
"description": "Enable pretty-printing for gdb",
111-
"text": "-enable-pretty-printing",
112-
"ignoreFailures": true
110+
"description": "Enable pretty-printing for gdb",
111+
"text": "-enable-pretty-printing",
112+
"ignoreFailures": true
113113
},
114114
{
115-
"description": "Ignore stepping into system libraries",
116-
"text": "set auto-load-scripts off"
115+
"description": "Ignore stepping into system libraries",
116+
"text": "set auto-load-scripts off"
117117
}
118118
]
119-
},
120-
{
121-
"name": "Debug LVGL demo with LLVM",
122-
"type": "cppdbg",
123-
"request": "launch",
124-
"program": "${workspaceFolder}/bin/main",
125-
"args": [],
126-
"cwd": "${workspaceFolder}",
127-
"preLaunchTask": "Build",
128-
"stopAtEntry": false,
129-
"MIMode": "lldb"
130119
}
131120
]
132121
}

0 commit comments

Comments
 (0)