MicroEJ C module: LLTRACE SystemView and LLMJVM_MONITOR SystemView.
This module implements the LLTRACE and LLMJVM_MONITOR Low Level APIs for a MicroEJ VEE Port with SystemView integrated.
LLTRACE and LLMJVM_MONITOR implementations are required to use the Event Tracing with the Trace API, see the related documentation:
See also the MicroEJ documentation for a description of the LLTRACE and LLMJVM_MONITOR functions:
This implementation has a configuration file, LLTRACE_sysview_configuration.h.
-
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.
-
The configuration file
LLTRACE_sysview_configuration.hstores default values of the abstraction layer configuration. If you want to update a configuration, please edit or create the fileveeport_configuration.hand set the desired value. This setting overwrites the content ofLLTRACE_sysview_configuration.h. If your VEE Port does not print logs using printf, the trace redirection macroLLTRACE_SYSVIEW_LOGcan be updated inveeport_configuration.h.
N/A
Here is a non exhaustive list of tested environments:
- Hardware
- STMicroelectronics STM32U5G9 custom board.
- Compilers / Integrated Development Environments:
- IAR Embedded Workbench 9.60.4
- SEGGER SystemView versions:
- V3.58
- V3.60e
This 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 8.4 | Required | A compatible declaration is defined in headers provided by the VEE Port. |
| Rule 8.7 | Advisory | API function, external linkage mandatory. |
| Rule 8.9 | Advisory | Define here for code readability even if it called once in this file. |
| Rule 17.7 | Required | The use of returned values of debug traces is not necessary |
| Rule 21.6 | Required | The Standard Library input/output is only used for debug purpose by default. |
- MicroEJ Architecture
8.xor higher. - SEGGER SystemView V3.58 or higher.
- C module com.microej.clibrary.thirdparty.systemview
2.0.0or higher.
N/A
None.
Copyright 2017-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.