Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

Cross compiling for Raspberry with .... 9 years 1 month ago #6927

  • Bernard
  • Bernard's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 0
Hello,
I just begin with codeTyphon and I have a project.
Before spending time I want to be sure if is it possible to cross compile from windows 8 to RaspberryPi 2 an application witch is able to :
- use physical digital inputs and outputs of the Raspberry card
- make video capture from a logitech webcam
- save picture on SD card or USB key / hard disque
- send pictures via FTP to an Internet Server.
Thank you

Please Log in or Create an account to join the conversation.

Cross compiling for Raspberry with .... 9 years 1 month ago #6928

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Sir
Windows to RaspberryPi 2 ability is in LAB CT 5.3
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Cross compiling for Raspberry with .... 9 years 1 month ago #6929

  • FredyCC
  • FredyCC's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Database/Developer
  • Posts: 60
  • Thank you received: 10
Hi BernardB

For such points that you mention it, I recommend installing CT in a greater distribution (mint, ubuntu, etc) and try to achieve what you mention for the compilation is fast.

"Use physical digital inputs and outputs of the Raspberry card" Surely you will need some extra library to achieve interact with the physical ports.

"Make video capture from a logitech webcam" You will need to settle the appropriate driver and prove that any additional software can correctly access the camera, to spare you unnecessary trouble.

"Save picture on SD card or USB key / hard disque" I think there is no major problem with this, could have without the necessary permissions for your application to run.

"Send pictures via FTP to an Internet Server" There are several components to achieve this without much trouble in my opinion for Lazarus.

If you have not tried before compile for raspberry with CT, I recommend splitting your project to achieve your ultimate goal if you want to integrate everything later.

I suggest raspberry pi 2 claim to be much faster.

I've never tried the remote debugging, it might be more useful in some cases to interact with the physical ports.

Regards

Please Log in or Create an account to join the conversation.

Cross compiling for Raspberry with .... 9 years 1 month ago #6933

  • avra
  • avra's Avatar
  • Visitor
  • Visitor

BernardB wrote: - use physical digital inputs and outputs of the Raspberry card

forum.lazarus.freepascal.org/index.php/topic,20991.0.html
forum.lazarus.freepascal.org/index.php/t...16157.html#msg116157
wiki.lazarus.freepascal.org/Lazarus_on_R...iringPi_c_library.29

- make video capture from a logitech webcam

wiki.freepascal.org/5dpo
forum.lazarus.freepascal.org/index.php/t...g67886.html#msg67886
Not tested with Pi but it should work if your webcam is compatible with v4l. Try to get webcam working with Raspbian first before trying with Typhon, and before that you could set up Debian pc and try everything there first.

- save picture on SD card or USB key / hard disque

yes

- send pictures via FTP to an Internet Server.

yes

Please Log in or Create an account to join the conversation.

Cross compiling for Raspberry with .... 9 years 1 month ago #6934

  • Bernard
  • Bernard's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 0
Many thanks for all, I'll have a look to the differents links and after I'll decide if I run or not !!

Please Log in or Create an account to join the conversation.

Cross compiling for Raspberry with .... 9 years 3 weeks ago #6976

  • Alfred
  • Alfred's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 5
Hello Sternas and others,

I would like to report back that CT 5.30 crosscompiles flawless for my RPi2 !
Console and GUI !!
Download RPi2 library, download RPi2 toolchain, build FPC and off you go ...

Thanks very much, Alfred.

ps:
Also Android works 100% !
The following user(s) said Thank You: avra

Please Log in or Create an account to join the conversation.

Cross compiling for Raspberry with .... 9 years 3 weeks ago #6977

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
Thanks Sir
have fun
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1