Low Level MicroEJ Core Engine API implementation over ThreadX.
This component implements the LLMJVM Low Level API for MicroEJ Platforms connected to a Board Support Package based on Eclipse ThreadX RTOS.
See the MicroEJ documentation for a description of the LLMJVM functions:
-
These sources can be included in the VEE Port with the method you prefer, by using this repository as a submodule or by doing a copy of the sources in the VEE Port repository.
-
Implement the MicroEJ time functions, as described in microej_time.h.
-
The
LLMJVM_IMPL_scheduleRequestschedule request function in LLMJVM_ThreadX.c uses a software timer. In order to correctly schedule MicroEJ threads, check the following elements in the ThreadX configuration file:TX_TIMER_TICKS_PER_SECOND: can depend on the application, if it needs a 1 ms precision then the tick rate would be 1000 Hz, the recommended value is between 100 Hz and 1000 Hz.
None.
This Abstraction Layer implementation can be validated in the target Board Support Package using the MicroEJ Core Validation Platform Qualification Tools project.
Here is a non exhaustive list of tested environments:
- Hardware
- STMicroelectronics STM32F746-DISCOVERY
- STMicroelectronics STM32U5G9J-DK2
- Compilers / development environments:
- IAR Embedded Workbench 8.50.6
- IAR Embedded Workbench 9.30.1
- IAR Embedded Workbench 9.60.4
- ThreadX RTOS versions:
- 6.1
- 6.2
- 6.4.1
This Abstraction Layer implementation is MISRA-compliant (MISRA C:2012) with some noted exception. It has been verified with Cppcheck v2.13. Here is the list of deviations from MISRA standard:
| Deviation | Category | Justification |
|---|---|---|
| Rule 5.5 | Required | Intentional usage of macros to define native functions. |
| Rule 8.4 | Required | A compatible declaration is defined in headers provided by the VEE Port. |
- MicroEJ Architecture
7.xor higher. - ThreadX RTOS
6.1or higher.
N/A.
None.
Copyright 2021-2025 MicroEJ Corp. All rights reserved. Use of this source code is governed by a BSD-style license that can be found with this software.