saltyshiomix / nextron

⚡ Next.js + Electron ⚡
https://npm.im/nextron
MIT License
3.69k stars 215 forks source link

How can I use nextron to cross compile to Raspberry Pi and yocto? #400

Open remendes opened 9 months ago

remendes commented 9 months ago

Have anyone crosscompiled to ARM64 to be used in Raspberry PI?

I need to take my already developed NextJs app, cross compile to ARM64 for Raspberry PI and then add to my yocto toolchain so that I can build an installed image to my SBC. Raspiberry is a development platatform, as my goal is to use a custom ARM board.

I appreciate steps on how to do it....

bm777 commented 9 months ago

@remendes

I only used Qt/QML and C++ for a Yocto project, I never tried cross-compiling of JS app for ARM arch.

Maybe the same way we do for a Qt project, could work for node.js app.

I hope the analogy of Qt will help you in your approach.