HyEnD-OS for easy interfacing with STM32
How To Use:
-
Setup
- Clone this Project into a well known folder (Like HyEnD_OS), relative to your eclipse workspace.
- Generate your eclipse-project with CubeMX with Clean Project Generation, as described below. Open it. Proceed in eclipse:
-
Add the HyEnD_OS Lib Folder to your Project
- Rightclick your Project and go to Properties
- Sources
- Navigate to "C/C++ General - Paths and Symbols" and click the "Source Location" Tab
- Click "Link Folder..." and tick the "Link to folder in the file system" box
- Hit the "Variables..." button and select the "WORKSPACE_LOC" for your Workspace Path, hit "OK"
- Now, after the "WORKSPACE_LOC", add the relative path to the Lib folder of this project. It could look like this: WORKSPACE_LOC/HyEnD_OS
- Hit "OK"
- Includes
- Click the "Includes" Tab
- Make sure that on the left under "Languages" the "GNU C" is selected
- Hit "Add...", then "Workspace..."
- Unfold your Project Folder. Select your HyEnD_OS LibFolder on the second-highest level; hit "OK", "OK"
- Hit "Apply and Close"; rebuild your project (If you get an error inside /connectivity/sd/ you might need to select Middleware -> FATFS -> SD CARD in your .ioc file first)
-
Confirm if HyEnD_OS Folder is added
- Navigate to "Resource - Linked Resources" and click the "Linked Resources" Tab
- You should find your linked Folder here. You may change it here, if needed
-
#include <OSUserInclude.h>
in your main and whererver else needed
Note:
Currently support for STM32F1xx and STM32F4xx.
Usefull stuff around Code Generation with CubeMX