Versions earlier than the RX850 Ver.3.14 only support up to the PM+ Ver.5.21,
and cannot be registered with the PM+ Ver.6.00 or later.
However, building can be executed as follows even with the PM+ Ver.6.00 or later.
(1) Changing path
Specify the following two paths as the "RX850 installation directory (default: C:\NECTools32)" from the menu bar of PM+.
- Path to RX850 library
Select [Linker Options...] from the [Tools] menu, open the [Library] tab, and then specify a path to the library.
Example:
In 32-register mode ... C:\NECTools32\lib850\r32
In 26-register mode ... C:\NECTools32\lib850\r26
In 22-register mode ... C:\NECTools32\lib850\r22
- Path to RX850 include file
Select [Compiler Options...] from the [Tools] menu, open the [Preprocessor] tab,
and then specify a path to the include file.
Example:
C:\NECTools32\inc850
(2) Creating information file to be output by CF850
Create an information file to be output by the CF850, in either of the following ways.
- Executing CF850 on command line
Example:
> C:\NECTools32\bin\cf850 -cpu 3134 "-devpath=C:\Program Files\NEC Electronics Tools\DEV" -i sit.s -d sys.h sys.cf
- Executing CF in build preprocessing
Select [Build Settings...] from the [Build] menu of the PM+, open the [Build Preprocessing] tab,
and then register the execution command of the CF850.
Example: Registered command
C:\NECTools32\bin\cf850 -cpu 3134 "-devpath=C:\Program Files\NEC Electronics Tools\DEV" -i sit.s -d sys.h sys.cf
(3) Register the information file created in Step (2) to the source file.
Example: Register the information file to ProjectWindow of the PM+
| Example: sit.s | | → | ProjectWindow |
| | | Drop | |