Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using units on ARM #67

Open
quartexNOR opened this issue May 9, 2018 · 1 comment
Open

Using units on ARM #67

quartexNOR opened this issue May 9, 2018 · 1 comment

Comments

@quartexNOR
Copy link

quartexNOR commented May 9, 2018

While I havent studied the code in depth, I would imagine that using fpc/lazarus on ARM (Raspberry PI 3b, Tinkerboard, ODroid) together with a corresponding CEF build for ARM should work?
I find freepascal very useful on Linux and it takes the grunt out of otherwise boring and tedious tasks.

Being able to drop running chrome in kiosk mode and instead use our own binaries would allow us to fine-tune how our kiosk website interacts with the underlying OS.

  • Have you tried to compile and use your units under ARM?
  • Do you see any conflicts in doing this? Calling methods (cdecl / stdcall? Im honestly not sure what ARM uses).
  • Would you investigate or see if this is possible? Since you have more experience with the system I hope you would. I dont mind the work, but its a delicate process even on windows - so venturing into linux on a different chipset is a challenge.

Hope you could comment and perhaps give it a go? Having a truly universal set of units for CEF3 that runs on all major chipsets would be a tremendous boon.

@dliw
Copy link
Owner

dliw commented May 11, 2018

CEF supports ARM since version 3.2840. As fpCEF primarily is a header translation, I see no reason why it should not work on ARM. AFAIK Free Pascal uses the default ABI for ARM Linux, so cdecl calling convention should be fine.

I did not find any prebuild CEF binaries for ARM, so the first step would be to compile CEF for your ARM target and make sure it works as expected (e.g. by executing cefclient).

At the moment I have no plans to work on ARM support. I don't have access to ARM Linux hardware and also my top priority is to update fpCEF to the latest CEF version ASAP. However, if you manage to make it work, I will happily include any changes needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants