-
-
Notifications
You must be signed in to change notification settings - Fork 140
Setting up target projects
The project is split into the base FFBoard code and in a Target
subfolder are different target projects for different hardware.
These subprojects have to reference folders in the parent project.
To link a source folder choose "new/folder" and "advanced" and select the FFBoard source folder you want to link into the subproject. Then you can select the linked folder as a source location.
For the headers use a relative path with ../../../
prefix.
Convert path to relative
Add as source
Add header paths as relative
- enable float for printf
- disable -fno-rtti
Some constants and defines to be set in the target headers.
Also take good care of the flash/ram linker settings for the eeprom emulation. Look at the official targets for examples.
Important settings:
FreeRTOS tick function: enable "USE_TICK_HOOK" for freertos and delete the function vApplicationTickHook
inside freertos.c that gets generated.
The default task creates the mainclass. So it needs to have enough memory for that.