Download FreeRTOS with the OTA library
You can clone or download FreeRTOS from
GitHub
For information about setting up and running the OTA demo application, see Over-the-air updates demo application.
Important
-
In this topic, the path to the FreeRTOS download directory is referred to as
.freertos
-
Space characters in the
path can cause build failures. When you clone or copy the repository, make sure the path you that create doesn't contain space characters.freertos
-
The maximum length of a file path on Microsoft Windows is 260 characters. Long FreeRTOS download directory paths can cause build failures.
-
Because the source code may contain symbolic links, if you're using Windows to extract the archive, you may have to:
-
Enable Developer Mode
or, -
Use a console that is elevated as administrator.
In this way, Windows can properly create symbolic links when it extracts the archive. Otherwise, symbolic links will be written as normal files that contain the paths of the symbolic links as text or are empty. For more information, see the blog entry Symlinks in Windows 10!
. If you use Git under Windows, you must enable Developer Mode or you must:
-
Set
core.symlinks
to true with the following command:git config --global core.symlinks true
-
Use a console that is elevated as administrator whenever you use a git command that writes to the system (for example, git pull, git clone, and git submodule update --init --recursive).
-