Recent

Author Topic: Can/will lazarus compile code for intel galileo?  (Read 5281 times)

Michael Collier

  • Sr. Member
  • ****
  • Posts: 301
Can/will lazarus compile code for intel galileo?
« on: February 04, 2014, 07:10:41 pm »
I was wondering if lazarus is/will-be available for the Intel galileo board ?

https://www-ssl.intel.com/content/www/us/en/do-it-yourself/galileo-maker-quark-board.html




BlueIcaro

  • Hero Member
  • *****
  • Posts: 792
    • Blog personal
Re: Can/will lazarus compile code for intel galileo?
« Reply #1 on: February 04, 2014, 07:32:31 pm »
I don't know, but I'm interested on it. Because I like this board that use Intel Galilelo cpu.

http://arduino.cc/en/ArduinoCertified/IntelGalileo

/BlueIcaro

Michael Collier

  • Sr. Member
  • ****
  • Posts: 301
Re: Can/will lazarus compile code for intel galileo?
« Reply #2 on: February 04, 2014, 08:51:28 pm »
Hi BlueIcaro, it's the same board, Arduino and Intel both market it.

Michael Collier

  • Sr. Member
  • ****
  • Posts: 301
Re: Can/will lazarus compile code for intel galileo?
« Reply #3 on: February 06, 2014, 02:55:34 pm »
Looking at the architecture the Galileo board is x86 based so Lazarus/Free-Pascal already has some degree of compatability?

There have been attempts at installing Debian Linux on the Galileo, but seems to be problems with segmentation faults in libpthread. https://communities.intel.com/message/220080

With that problem aside,.. maybe its worth installing Debian on the Galileo and running similar install process outlined for raspberry pi from here http://www.michellcomputing.co.uk/blog/?p=72 (which I used myself with success prior to what looks like pre-compiled Lazarus for Pi being available)

Any thoughts? Can anyone see a reason why this definately won't work?



lenz

  • New Member
  • *
  • Posts: 17
Re: Can/will lazarus compile code for intel galileo?
« Reply #4 on: October 19, 2014, 04:13:43 pm »
Just to confirm, yes FreePascal/Lazarus can be used on Intel Galileo (Gen 1 and 2), at least when running Windows IoT. Some tweaks are required on RTL side, however, as even empty Win32 console application tries to link a couple of nonexistent DLL methods from Windows API and crashes silently. Once this is fixed, it is extremely easy to program that board and access its stuff such as GPIO, PWM, etc.

There is also SD-Card Linux Image for Intel Galileo that you can use (I haven't tried it yet), where accessing GPIO shouldn't be any different than on Raspberry PI.

Edit: it is also possible to cross-compile to Intel Galileo that is running aforementioned sd-card Linux image. In fact, Raspberry PI applications that use native Linux calls, when recompiled for linux-i386 target, work "out of the box" on Intel Galileo.
« Last Edit: November 11, 2014, 03:25:51 pm by lenz »

 

TinyPortal © 2005-2018