SWPACK: Error #35 while compiling FS_Config.c
Information in this knowledgebase article applies to:
I updated the Keil Middleware pack to version 6.3.0 (or later) and tried to build my application. I received the following error message from the compiler:
compiling FS_Config.c... C:\Keil_v5\ARM\PACK\Keil\MDK-Middleware\6.3.0\FileSystem\Include\fs_config.h(26): error: #35: #error directive: "Standard file I/O library retarget requires ::Compiler:I/O:File software component from the 'Keil.ARM_Compiler' Pack!" #error "Standard file I/O library retarget requires ::Compiler:I/O:File software component from the 'Keil.ARM_Compiler' Pack!" RTE\File_System\FS_Config.c: 0 warnings, 1 error
How can I solve this problem?
Since Keil Middleware pack version 6.3.0, some middleware components (like flash file system) require the Keil Compiler pack to retarget the System IO functions. You can download and install the Keil::ARM_Compiler pack like every other software pack in the Pack Installer window. Be sure to press the green Check for Updates button in the Pack Installer to see all new packs.
In the µVision window Manage Run-Time Environment, you can then select the I/O channels for File, STDERR, STDIN, STDOUT, and TTY. Please see pages 45 and 46 of the Getting Started manual with the link below.
Last Reviewed: Monday, March 12, 2018
of your data.