news
Programming Leftovers
-
Adafruit ☛ Smalltalk on macOS and Linux
Rui Carmo has added a Smalltalk page to his Tao of Mac resources. It lists implementations of the language with notes on each one.
The first entry is Samaltak. It’s a Smalltalk system with its own development tools. The user interface is drawn by the GPU. It uses green threads. That means the language runtime schedules them, not the operating system.
-
Qt
-
Qt ☛ C-RUN Runtime Analysis in Stand-Alone Mode
C-RUN is a runtime analysis tool which works as an add-on to IAR Embedded Workbench for ARM. C-RUN can detect possible errors such as overflow, boundary errors and memory usage errors.
-
Qt ☛ Cross-Platform Build Tools for Arm | IAR
The IAR Build Tools for Arm are available with support for GNU/Linux (Ubuntu and Red Hat) and Windows. These tools offer leading code quality, outstanding optimizations for size and speed, and fast build times.
Supporting implementation in cross platform-based frameworks for automated application build and test processes, the tools enable large-scale deployments of critical software building and testing. This video gives a quick overview of the IAR Build Tools for Arm in action. -
Qt ☛ Dealing With Non-Reentrant Functions in RTOS-Based Designs
If shared functions only use local variables, they are generally reentrant (assuming the compiler itself generates reentrant code).
Conversely, a non-reentrant function is one that uses one or more global variables to keep track of the state of the function. The online documentation for the IAR toolchain provides a list of non-reentrant functions as shown in Figure 1.
-
Qt ☛ How to Validate a Build Toolchain According to IEC 61508, ISO 26262, EN 50716 and IEC 62304
We offer certified versions of the build chain in IAR Embedded Workbench for Arm, RISC-V, STM8, Renesas RX, RL78 and RH850 for use in safety-critical applications according to IEC 61508, ISO 26262, EN 50716 and IEC 62304. In this article, we will take a look at what the certification means and how you can take advantage of the certification in your own projects. The included functional safety services can actually be valuable whether you are formally certifying your application or not.
-
Qt ☛ Basics of Using the Preprocessor
Anyone who has ever read a piece of C source code has seen them—the preprocessor directives. For example, you can find include directives (#include) at the beginning of most source files. The preprocessor is a system that rewrites the source before the actual compiler sees it. Clearly, this is a very powerful tool—the downside is that you could accidentally shoot yourself in the foot.
-
Qt ☛ The Benefits of Multicore Debugging
The IAR Embedded Workbench for Arm has the ability to debug multicore devices in a synchronized way. In this article you will learn more about multicore debugging in general and especially how IAR Embedded Workbench for Arm handles it.
Why multicore debugging?
Today, the demand for complex applications are increasing and it’s a clear trend that multicore devices are becoming more and more popular thanks to this. And as we all know “If we develop it, debugging will come”. By using multicore devices it’s possible to load balance, take advantage in different strength of different architectures, and it will possibly lower the product cost to have one multicore device rather than multiple devices.
-
Qt ☛ Master C/C++ Stack Usage and Get More From Your Device
In this article, we will take a look at the stack usage analysis functionality available in the IAR Embedded Workbench and introduce some techniques on how to calculate the maximum stack usage of your application at building time, as well as track the signs of stack pointer at runtime.
-
Qt ☛ Detecting Stack Overflows in RTOS-Based Designs - Part 2
-
Qt ☛ Using C Standard Library Time and Clock Functions
In the C standard, there is a defined library on time and date declared in "time.h". The library is not limited to embedded applications, and widely used in order to obtain information about time and date. This library is supported by IAR Embedded Workbench, and in this article we will take a look at how to use it in the toolchain.
-
Qt ☛ Safety-Certified Tools Make the Difference
The combination of hardware with a known history, application software, diagnostic software, and safety-certified development tools is a powerful enabler for developers of safety-critical applications. It allows them to start development quickly and achieve end product certification efficiently, saving both time and money. This article examines the benefits of using a certified development and build chain.
-