• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

.github/11-Mar-2024-363245

cmake/11-Mar-2024-9679

common/11-Mar-2024-257,638107,929

docs/11-Mar-2024-1,3791,217

fonts/11-Mar-2024-187154

graphics/system_png/11-Mar-2024-

guix_studio/11-Mar-2024-191,933114,828

ports/11-Mar-2024-31,82818,269

samples/11-Mar-2024-860,235847,765

scripts/11-Mar-2024-2,0561,118

test/11-Mar-2024-11,126,58710,855,363

tutorials/11-Mar-2024-281,908276,011

.gitattributesD11-Mar-20241.1 KiB4033

.gitignoreD11-Mar-2024178 1412

CMakeLists.txtD11-Mar-20241.8 KiB6654

CONTRIBUTING.mdD11-Mar-20243.3 KiB7353

LICENSE.txtD11-Mar-20241.1 KiB2217

README.mdD11-Mar-20249.5 KiB152108

SECURITY.mdD11-Mar-2024739 2112

README.md

1# Eclipse ThreadX GUIX
2
3Eclipse ThreadX GUIX is a professional-quality package, created to meet the needs of embedded systems developers. Unlike alternative GUI solutions Eclipse ThreadX GUIX is small, fast, and easily ported to virtually any hardware configuration that’s capable of supporting graphical output. Eclipse ThreadX GUIX also delivers exceptional visual appeal and an intuitive and powerful API for application-level user interface development.
4
5Eclipse ThreadX GUIX Studio provides a complete, embedded graphical user interface (GUI) application design environment, facilitating the creation and maintenance of all graphical elements in the application’s GUI. Eclipse ThreadX GUIX Studio automatically generates C code that’s compatible with the Eclipse ThreadX GUIX library, ready to be compiled and run on the target.
6
7The Eclipse ThreadX GUIX Studio installer is available here: https://aka.ms/azrtos-guix-installer.
8
9Here are the key features and modules of GUIX:
10
11![GUIX Key Features](./docs/guix-features.png)
12
13## Getting Started
14
15GUIX as part of Eclipse ThreadX has been integrated to the semiconductor's SDKs and development environment. You can develop using the tools of choice from [NXP](https://www.nxp.com/design/software/embedded-software/azure-rtos-for-nxp-microcontrollers:AZURE-RTOS), [Renesas](https://github.com/renesas/azure-rtos) and [Microchip](https://mu.microchip.com/get-started-simplifying-your-iot-design-with-azure-rtos).
16
17We also [samples](https://github.com/eclipse-threadx/samples) using hero development boards from semiconductors you can build and test with.
18
19See [Overview of Eclipse ThreadX GUIX](https://github.com/eclipse-threadx/rtos-docs/blob/main/rtos-docs/guix/overview-guix.md) for the high-level overview.
20
21## Repository Structure and Usage
22
23### Directory layout
24
25    .
26    ├── cmake                   # CMakeList files for building the project
27    ├── common                  # Core GUIX files
28    ├── fonts                   # Fonts required by GUIX
29    ├── graphics                # Graphic assets
30    ├── ports                   # Architecture and compiler specific files
31    ├── samples                 # Sample codes
32    ├── tutorials               # More sample codes
33    ├── LICENSE.txt             # License terms
34    ├── LICENSE-HARDWARE.txt    # Licensed hardware from semiconductors
35    ├── CONTRIBUTING.md         # Contribution guidance
36    └── SECURITY.md             # Repo security guidance
37
38### Branches & Releases
39
40The master branch has the most recent code with all new features and bug fixes. It does not represent the latest General Availability (GA) release of the library. Each official release (preview or GA) will be tagged to mark the commit and push it into the Github releases tab, e.g. `v6.2-rel`.
41
42> When you see xx-xx-xxxx, 6.x or x.x in function header, this means the file is not officially released yet. They will be updated in the next release. See example below.
43```
44/**************************************************************************/
45/*                                                                        */
46/*  FUNCTION                                               RELEASE        */
47/*                                                                        */
48/*    _tx_initialize_low_level                          Cortex-M23/GNU    */
49/*                                                           6.x          */
50/*  AUTHOR                                                                */
51/*                                                                        */
52/*    Scott Larson, Microsoft Corporation                                 */
53/*                                                                        */
54/*  DESCRIPTION                                                           */
55/*                                                                        */
56/*    This function is responsible for any low-level processor            */
57/*    initialization, including setting up interrupt vectors, setting     */
58/*    up a periodic timer interrupt source, saving the system stack       */
59/*    pointer for use in ISR processing later, and finding the first      */
60/*    available RAM memory address for tx_application_define.             */
61/*                                                                        */
62/*  INPUT                                                                 */
63/*                                                                        */
64/*    None                                                                */
65/*                                                                        */
66/*  OUTPUT                                                                */
67/*                                                                        */
68/*    None                                                                */
69/*                                                                        */
70/*  CALLS                                                                 */
71/*                                                                        */
72/*    None                                                                */
73/*                                                                        */
74/*  CALLED BY                                                             */
75/*                                                                        */
76/*    _tx_initialize_kernel_enter           ThreadX entry function        */
77/*                                                                        */
78/*  RELEASE HISTORY                                                       */
79/*                                                                        */
80/*    DATE              NAME                      DESCRIPTION             */
81/*                                                                        */
82/*  09-30-2020      Scott Larson            Initial Version 6.1           */
83/*  xx-xx-xxxx      Scott Larson            Include tx_user.h,            */
84/*                                            resulting in version 6.x    */
85/*                                                                        */
86/**************************************************************************/
87```
88
89## Component dependencies
90
91The main components of Eclipse ThreadX are each provided in their own repository, but there are dependencies between them, as shown in the following graph. This is important to understand when setting up your builds.
92
93![dependency graph](docs/deps.png)
94
95> You will have to take the dependency graph above into account when building anything other than ThreadX itself.
96
97### Building and using the library
98
99Instruction for building the GUIX as static library using Arm GNU Toolchain and CMake. If you are using toolchain and IDE from semiconductor, you might follow its own instructions to use Eclipse ThreadX components as explained in the [Getting Started](#getting-started) section.
100
1011. Install the following tools:
102
103    * [CMake](https://cmake.org/download/) version 3.0 or later
104    * [Arm GNU Toolchain for arm-none-eabi](https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads)
105    * [Ninja](https://ninja-build.org/)
106
1071. Build the [ThreadX library](https://github.com/eclipse-threadx/threadx#building-and-using-the-library) as the dependency.
108
1091. Cloning the repo.
110
111    ```bash
112    $ git clone https://github.com/eclipse-threadx/guix.git
113    ```
114
1151. Define the features and addons you need in `gx_user.h` and build together with the component source code. You can refer to [`gx_user_sample.h`](https://github.com/eclipse-threadx/guix/blob/master/common/inc/gx_user_sample.h) as an example.
116
1171. Building as a static library
118
119    Each component of Eclipse ThreadX comes with a composable CMake-based build system that supports many different MCUs and host systems. Integrating any of these components into your device app code is as simple as adding a git submodule and then including it in your build using the CMake `add_subdirectory()`.
120
121    While the typical usage pattern is to include GUIX into your device code source tree to be built & linked with your code, you can compile this project as a standalone static library to confirm your build is set up correctly.
122
123    An example of building the library for Cortex-M4:
124
125    ```bash
126    $ cmake -Bbuild -GNinja -DCMAKE_TOOLCHAIN_FILE=cmake/cortex_m4.cmake .
127
128    $ cmake --build ./build
129    ```
130
131## Licensing
132
133License terms for using Eclipse ThreadX are defined in the LICENSE.txt file of this repo. Please refer to this file for all definitive licensing information.
134
135## Resources
136
137The following are references to additional Eclipse ThreadX resources:
138
139- **Product introduction**: https://github.com/eclipse-threadx/rtos-docs
140- **Product issues and bugs, or feature requests**: https://github.com/eclipse-threadx/guix/issues
141- **TraceX Installer**: https://aka.ms/azrtos-tracex-installer
142
143You can also check [previous questions](https://stackoverflow.com/questions/tagged/azure-rtos+guix) or ask new ones on StackOverflow using the `threadx` and `guix` tags.
144
145## Security
146
147Eclipse ThreadX provides OEMs with components to secure communication and to create code and data isolation using underlying MCU/MPU hardware protection mechanisms. It is ultimately the responsibility of the device builder to ensure the device fully meets the evolving security requirements associated with its specific use case.
148
149## Contribution
150
151Please follow the instructions provided in the [CONTRIBUTING.md](./CONTRIBUTING.md) for the corresponding repository.
152