Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2012-09

stellaris launchpad

5 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Luca Olivetti

As you may already know, ti is launching a development board for the stellaris microcontroller

https://estore.ti.com/Stellaris-LaunchPad.aspx

Currently I don't have any use for it, but for $4.99 with free shipping I could buy one (or two) just for playing with it, especially if I could program it in pascal instead of C.

A while ago there was a thread here regarding freepascal and the stellaris:

http://lists.freepascal.org/lists/fpc-devel/2011-August/thread.html#25333

but I don't know the outcome. Is it currently possible to develop software for that mcu with freepascal?

Bye

Luca

Reply by email

Daniël Mantione
to Luca Olivetti

Op Sun, 16 Sep 2012, schreef Luca Olivetti:

but I don't know the outcome. Is it currently possible to develop software for that mcu with freepascal?

As far as I know the Cortex M series cannot run generic ARM code; it only understands the Thumb2 instruction set.

Daniël

Reply by email

Florian Klaempfl
to Daniël Mantione
Daniël Mantione wrote 10 lines
Op Sun, 16 Sep 2012, schreef Luca Olivetti: > but I don't know the outcome. Is it currently possible to develop > software > for that mcu with freepascal? As far as I know the Cortex M series cannot run generic ARM code; it only understands the Thumb2 instruction set.

FPC supports Thumb-2 code generation and arm-embedded supports also some stellaris types (LM3S* types) so it should be possible with little effort to compile programs with FPC for this device. But maybe Jeppe can say more.

Reply by email

Jeppe Græsdal Johansen
to Florian Klaempfl
Florian Klaempfl wrote 16 lines
Am 16.09.2012 17:53, schrieb Daniël Mantione: > > > Op Sun, 16 Sep 2012, schreef Luca Olivetti: > >> but I don't know the outcome. Is it currently possible to develop >> software >> for that mcu with freepascal? > > As far as I know the Cortex M series cannot run generic ARM code; it > only understands the Thumb2 instruction set. FPC supports Thumb-2 code generation and arm-embedded supports also some stellaris types (LM3S* types) so it should be possible with little effort to compile programs with FPC for this device. But maybe Jeppe can say more.

I also preordered the board, but as far as I can see it shouldn't be too hard to add. It's a Cortex-M4F which has floating point support(for 32bit single math only).

The hardware floating point is the only thing not supported by FPC currently.

Reply by email