I investigated this a little, since I am new to ARM microcontrollers.
The 32L100CDISCOVERY kit offers the following features:
STM32L100RCT6 microcontroller
MCU 32-bit ARM Cortex M3 RISC 256KB Flash 2.5V/3.3V 64-Pin LQFP Tray
That MCU is Cortex M3.
a quote from this page:
https://en.wikipedia.org/wiki/ARM_Cortex-M"Conceptually the Cortex-M4 is a Cortex-M3 plus DSP instructions, and optional floating-point unit (FPU).
A core with an FPU is known as Cortex-M4F."
That makes me think, that to support the STM32L1 MCU,
in the best case FPC ARM embedded should have command line switches to optionally turn off:
1) generating of instructions that use the FPU
2) generating of instructions that do DSP
example: --no-fpu --no-dsp
And if not, I'd hope that I could (in the source of FPC-ARM):
{$UNDEF DSP}
{$UNDEF FPU}
since the text on the linked wikipedia page claims that the Cortex-M4 MCU (which the STM32L4 is) is nothing more than Cortex-M3 with added features: DSP (and optionally, also FPU).
So, the main issue is to either find suitable command line switches, or if not available, then hopefully just using a conditional directive to disable generating DSP and FPU instructions.
An additional issue is the constant definitions for any integrated peripherals.
I have previous experience about Atmel AVR 8-bit MCUs.
For them, a definition file for integrated peripherals is available.
But how to find a similar file for the STM32L100RCT6 microcontroller ?
Do I need to install some C/C++ IDE for ARM development and the definition file (probably a .h file if it is meant to be used with C/C++ languages) should install as part of such IDE; if so, which IDE would be a good choice (hopefully including the necessary program to transfer the ARM executable to my development board that is equipped with the "Embedded ST-LINK/V2 debugger/programmer" (interface ?)
For Atmel AVR I just used avrdude to transfer the AVR executable from PC to a board with Atmel AVR MCU.
Does a similar separate tool exist for the ARM board with Embedded ST-LINK/V2 debugger/programmer as well ?