768 views
in System Integration by
HI, I would like some advice on how to start the project on start up without the file being mounted from a sharing folder on a PC, I know there is a way of doing this through the rc.local command, do I store the binary file on the SD Card of the Pi then? I am then unsure of how to call it from the SD Card on start-up, I have installed the Pi OS Bullseye Lite

Thanks

Jonny

1 Answer

0 votes
by

Hi Jonny,

you can copy the binary (after compiling and linking) from your shared build folder into the desired folder of your Raspberry Pi files system. Then it will be available there after reboot without having the need to mount your development folder of your PC.

To copy the binary from your share folder directly to your home folder, use

cp /home/pi/share/Application/Project/EmbeddedWizard-RasPi-4B /home/pi

Concerning the autostart options, let me refer to the Raspberry Pi forums - as this topic is not related to Embedded Wizard GUI applications.

Best regards,

Manfred.

by

Hi Manfred, 

Thanks for the quick reply and help but I am now getting another error code  

mount error(111): could not connect to 192.168.0.XXXUnable to find suitable address. 

I am not quite sure what could be causing this as i am connected to the Pi via Putty so I know I am using the correct IP address

With regards to your reply above, does that mean I still have to create a network shared folder to the Pi (Getting Started with Pi) and then take a copy of that binary file to then put it in my home folder for the Pi to use? 

Thanks 

Jonny

by
Hi Jonny,

did you use the correct IP address? Can you try to ping the desired address?

To answer your question: There is no need to have the shared network folder once you have copied the binary to the Rasberry Pi target. The shared network folder is only used during development.

Best regards,

Manfred.

Ask Embedded Wizard - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...