[fpc-pascal] fpc-arm-embedded bin doesn't run

turro75 valerio.turrini at gmail.com
Thu Feb 19 00:02:53 CET 2015


ok,

as I told in the previous post, I 'm now able to run and debug code with the
trunk fpc (3.1.1).
I just made some minor changes in t_embed.pas in order to automatically
create also the bin and call size. 
Debugging works "fine" (not yet tested a complex program) with gdb --tui.
Working in lazarus is fine just be sure to use -g only.
Debugging using lazarus seems not possible until some changes in the IDE
happen.

I'm in trouble now with the library stm32f103fw.pas since it expects some
structures and variables not anymore defined in the rtl unit : SCB,NVIC and
SysTick , I managed to create them in the file and then I'm able to compile
and run a simple blink program. unfortunately I had to create my delay
routine as interrupt wasn't working.

My problem now is that stm32f103fw.pas was probably made with 2.6.x when
only four units were available,
anybody have an updated, almost complete library for stm32f103 ? 



--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/fpc-arm-embedded-bin-doesn-t-run-tp5720985p5721038.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list