How to install NRF Command line tools on Ubuntu

If this error looks familiar to you, probably after installing zephyr and setting west environment you forget about last step which is nrf tools. In this article I will show you how to manually install „nRF Command Line Tools” on linux systems. The nRF Command Line Tools is a necessary tool for development, programming and […]

Stack, heap and memory management in microcontrollers

In this article I’ll do my best to explain as simply as possible how memory management in microcontrollers works, what are „stack” and „heap” areas, and what’s the difference between them. Let’s start with a general diagram presenting how „uC” RAM memory is divided into diffrent arreas: Starting from the bottom, which is the beginning […]

What is function prototype in C

In C language function prototype is just information for the compiler about the existence of a function. It also provides basic information about its name, returning type, and list of accepted arguments. Let’s see it in an example: #include <stdio.h>void print_hello_msg(void); // This is prototype for the print_hello_msg functionint main(){ print_hello_msg(); return 0;}void print_hello_msg(void){ printf(„Hello […]

Declaration vs Definition

In this article, I will explain two most important concepts in C language that are very often confused by beginner embedded developers. I will explain what each of them means and what is the key difference, so from now on you won’t confuse them