VisUAL uses the same syntax as the Keil µVision software developed by ARM. However, some care must be taken when moving code written in VisUAL to Keil. The following changes will be required as a minimum:
AREA
- See the official Keil µVision User Guide for an example hereAREA
is an instruction and not a directive, otherwise you will get a compilation error.END
directive must be placed at the end of the file otherwise you will get a compilation error.
Provided that you are only using instructions from the list of supported instructions, simply remove the AREA
preamble and the code will work in VisUAL. If your code uses interrupts or multiple processor mods, this is not currently supported.
You may have to edit memory usage depending on the memory map configuration.