Re: [fpc-pascal] Generating RTL Units for STM32 Processors

2018-02-27 Thread Christo Crause
On 28 Feb 2018 4:22 am, "R0b0t1" wrote: I will be following up with you off list, since you do not seem to mind. I'm also interested in the general topic of incorporating embedded controllers (avr at the moment) into fpc. It would be useful to me if I could follow at least

Re: [fpc-pascal] Generating RTL Units for STM32 Processors

2018-02-27 Thread R0b0t1
On Tue, Feb 27, 2018 at 2:43 AM, Michael Ring wrote: > The process is completely automated and is based on converting the header > files that come in the CMSIS packages of the processors. > Excellent! What about the startup assembly files? I see an equivalent, it is

Re: [fpc-pascal] Generating RTL Units for STM32 Processors

2018-02-27 Thread Michael Ring
What are you planing to implement? Do you need the RAM and FLASH of the stm32l432 or the low power features? If not then I'd suggest to start wit a more simple CPU like the STM32F303K8 or, if you are okay with standard size nucleo boards the STM32F401RE or STM32F411RE are a good choice. On

Re: [fpc-pascal] Generating RTL Units for STM32 Processors

2018-02-27 Thread Michael Ring
The process is completely automated and is based on converting the header files that come in the CMSIS packages of the processors. I will send you the file for that chip via pm, you will also have to tweak compiler/systems/t_embed.pas compiler/arm/cpuinfo.pas but this is pretty

[fpc-pascal] Generating RTL Units for STM32 Processors

2018-02-27 Thread R0b0t1
Hello list, I'd like some pointers on generating the RTL files for a processor I am interested in, the STM32L432KC (which is available for ~$15 with JTAG on a "Nucleo" board from STMicroelectronics). The CMSIS (Cortex Microcontroller Software Interface Standard) files, as they come from STM, use