The Embedded Studio for RISC-V development environment from Segger Microcontroller offers real-time memory management in the new release 6. This allows response times to be reduced when allocating and releasing memory and also fulfills hard real-time requirements when developing in C++.
html" title="https://www.elektroniknet.de/schwerpunkte/elektronik-leser-testen/embedded-studio-von-segger-mit-top-bewertung.184028.html">Embedded Studio for RISC-V, Version 6, from Segger Microcontroller now uses real-time memory management which improves efficiency and response time when allocating and freeing up memory, satisfying requirements for hard real-time in applications written in C++. The new version supports all common RISC-V 32-bit and 64-bit cores, including but not limited to RV64I, RV64E, RV64GC, RV32I, RV32IMA, RV32IMAC, RV32IMAF, RV32IMAFC, RV32G, RV32GC, RV32E, RV32EMA, RV32EMAC
»C++ applications require a lot of memory allocation and deallocation behind the scenes, often without the programmer being aware of it«, says Rolf Segger, founder of Segger Microcontroller. »C++ applications especially see an enormous benefit from our new real-time heap manager. Embedded Studio is the first toolchain that I know of that guarantees fast, constant-time heap operations. These responses are extremely fast, bringing true real-time to embedded systems programmed in C++.«
In addition, Embedded Studio now provides embedded developers with a C++17 Compiler and C++17 Standard Library, combining the efficiency and compact code of Segger's emRun runtime and emFloat floating-point libraries.
The package includes generic container templates (such as sets, vectors, lists, queues, stacks, maps), standard algorithms (sorting, searching, transformations), function objects, iterators, localization, strings and streams, and utility functions for everyday use cases.
To support common embedded use cases even on resource-constrained targets, the C++ library is available in a »no-throw« configuration, avoiding overhead associated with exceptions.
Embedded Studio also comes with the Segger Linker, which is optimized to keep C++ applications small by removing the code duplication frequently encountered with template libraries.