Fujitsu FR Release
CrossCore SOFTUNE Workbench V6
Release consists of the RTOS sources and three sample projects - see
Release description for details.
Main projects folder also contain
[MB91270] - IO-map files for used microcontroller
Makefile - script for make all projects
Makefile.mb91 - common part GNU make
scmRTOS.wps - SOFTUNE main workspace file
Each sample located in separate folder.
Structure of test project folder (folders are in brackets '[]'):
[Debug]
[ABS] - executable product[s]
[LST] - listings and other temporary text files
[OBJ] - objects and other intermediate files
[OPT] - options for SOFTUNE tools
[SRC] - test project sources
slon.dat - SOFTUNE data file
slon.prj - SOFTUNE project file
Makefile - main script for GNU make
slon is test project name.
Structure of the RTOS folder:
scmRTOS
Common - common RTOS sources
FR - portable part
See Distribution section and below about release using manners.
There are several ways to build any sample.
The first is to use FR Family SOFTUNE Workbench.
Just launch IDE, open appropriate workspace (scmRTOS.wps file ) and build the project.
Another way is to employ GNU make
build system and GNU sed for prepare
dependents lists. This GNU utilities for Win32 can download from
UnxUtils project.
To use GNU make:
- download and install GNU make;
- download and install GNU sed;
- launch GNU make by typing tool name in command line in the folder
where Makefile file (make main script) located.
make will build the project.
If user want to use his own build system he has to specify the following
command-line options for various tools:
-g
-w 2
-I "SRC"
-I "..\MB91270"
-O 0
-linf ON
-lsrc ON
-lsec ON
-lcros OFF
-linc ON
-lexp OBJ
-pl 60
-pw 100
-tab 8
-cwno
-cpu MB91F272
-g
-w 1
-I "..\MB91270"
-I "SRC"
-I "..\scmRTOS\FR"
-I "..\scmRTOS\Common"
-O 4
-K SPEED
-K SHORTADDRESS
-B
-K SCHEDULE
-K A1
-K SARG
-K EOPT
-K LIB
-K UNROLL
-c
-cwno
-cpu MB91F272
-Ja
-g
-AL 2
-ra RAM_AREA=0x0003D800/0x0003FFFF
-ro ROM_AREA=0x000C0000/0x000FFFFF
-sc INIT/Data+DATA/Data+SSTACK/Data+USTACK/Data=RAM_AREA
-sc CODE/Code+@INIT/Const+CONST/Const=ROM_AREA
-sc INTVECT/Const=0x000FFC00
-check_rora
-check_locate
-m "$PRJ_PATH$\Debug\LST\$PRJ_NAME$.mp1"
-pl 60
-pw 132
-alin "$PRJ_PATH$\Debug\LST"
-alout "$PRJ_PATH$\Debug\LST"
-Xals
-Xalr
-na
-w 1
-cwno
-a
-cpu MB91F272
-l lib911if.lib
-o "$PRJ_PATH$\Debug\ABS\$PRJ_NAME$.abs"
"$PRJ_PATH$\Debug\OBJ\hwinit.obj"
"$PRJ_PATH$\Debug\OBJ\main.obj"
"$PRJ_PATH$\Debug\OBJ\vectors.obj"
"$PRJ_PATH$\Debug\OBJ\Start91270.obj"
"$PRJ_PATH$\Debug\OBJ\mb91270.obj"
"$PRJ_PATH$\Debug\OBJ\OS_Kernel.obj"
"$PRJ_PATH$\Debug\OBJ\OS_Services.obj"
"$PRJ_PATH$\Debug\OBJ\usrlib.obj"
"$PRJ_PATH$\Debug\OBJ\OS_Target_cpp.obj"
"$PRJ_PATH$\Debug\OBJ\OS_Target_asm.obj"
Note
where $PRJ_PATH$ - path to folder with project,
$PRJ_NAME$ - is test project name.