Page 1 of 3

Can you provide an example of instructions how to configure Visual studio code with the operation of the board "buildroo

Posted: 2024-01-22 10:36
by Yurii
Can you provide an example of instructions how to configure Visual studio code with the operation of the board "buildroot".

Re: Can you provide an example of instructions how to configure Visual studio code with the operation of the board "buil

Posted: 2024-01-22 10:38
by Yurii
Need instructions on how to start developing and debugging a simple "Hello World" program on this board. You advertise this board as very advanced AI work! Can provide a detailed description like this example https://wiki.luckfox.com/Luckfox-Pico/CSI-Camera

Re: Can you provide an example of instructions how to configure Visual studio code with the operation of the board "buil

Posted: 2024-01-23 2:05
by Eng38
Hello,

You can indeed write Python code that runs directly on the development board, and you also have the option to cross-compile C programs on your host machine. Afterward, you would transfer the generated executable file to the development board for execution there.

For cross-compiling C programs, please refer to the tutorial: https://wiki.luckfox.com/Luckfox-Pico/L ... -c-program

Re: Can you provide an example of instructions how to configure Visual studio code with the operation of the board "buil

Posted: 2024-01-23 11:35
by Yurii
Good day.
I am using Buildroot 2023.02.6. I want to connect from visual studio code to the board via the SSH protocol.The SSH server is work. But it doesn't work from visual studio for me. Although everything worked with Linux. I need to debug the camera in real time. The camera only works in Buildroot.

Re: Can you provide an example of instructions how to configure Visual studio code with the operation of the board "buil

Posted: 2024-01-23 23:46
by Yurii
Can I compile the program immediately on the board?

Re: Can you provide an example of instructions how to configure Visual studio code with the operation of the board "buil

Posted: 2024-01-23 23:48
by Yurii
How can you debug a program in buildroot.
I compiled and downloaded the test program opencv-mobile. But I don't know how to debug it and quickly compile it. Is this possible?

Re: Can you provide an example of instructions how to configure Visual studio code with the operation of the board "buil

Posted: 2024-01-24 1:40
by Eng38
Yurii wrote: 2024-01-23 23:48 How can you debug a program in buildroot.
I compiled and downloaded the test program opencv-mobile. But I don't know how to debug it and quickly compile it. Is this possible?
If you need to use opencv-mobile on your development board, it's necessary to cross-compile the program on your host computer and then transfer the executable file to the development board for execution.

For cross-compilation, you will require the cross-compilation tools provided within the SDK. You should set up the SDK environment on your host machine first.

1. To establish the SDK environment on your computer, please refer to this guide:
https://wiki.luckfox.com/Luckfox-Pico/Luckfox-Pico-SDK
2. For instructions on running opencv-mobile on the board, consult the following resource which provides quick steps for deployment:
https://wiki.luckfox.com/Luckfox-Pico/L ... uick-steps

Re: Can you provide an example of instructions how to configure Visual studio code with the operation of the board "buil

Posted: 2024-01-24 7:41
by Yurii
Eng38 wrote: 2024-01-24 1:40
Yurii wrote: 2024-01-23 23:48 How can you debug a program in buildroot.
I compiled and downloaded the test program opencv-mobile. But I don't know how to debug it and quickly compile it. Is this possible?
If you need to use opencv-mobile on your development board, it's necessary to cross-compile the program on your host computer and then transfer the executable file to the development board for execution.

For cross-compilation, you will require the cross-compilation tools provided within the SDK. You should set up the SDK environment on your host machine first.

1. To establish the SDK environment on your computer, please refer to this guide:
https://wiki.luckfox.com/Luckfox-Pico/Luckfox-Pico-SDK
2. For instructions on running opencv-mobile on the board, consult the following resource which provides quick steps for deployment:
https://wiki.luckfox.com/Luckfox-Pico/L ... uick-steps
It all works for me, but.
I can only compile the app on my virtual machine and it's very frustrating. It turns out that board cannot be debugged in real time?

Re: Can you provide an example of instructions how to configure Visual studio code with the operation of the board "buil

Posted: 2024-01-24 7:44
by Yurii
That board cannot be debugged in real time?

Re: Can you provide an example of instructions how to configure Visual studio code with the operation of the board "buil

Posted: 2024-01-24 7:50
by Eng38
The buildroot system within the Luckfox Pico series development boards does not support direct compilation of applications on the board itself. Embedded systems typically have limited resources such as processing power, memory, and storage space; thus, attempting to compile programs directly on them can often be time-consuming. Consequently, using a more powerful host system for cross-compilation is the norm, which significantly enhances the compiling speed.

Therefore, if you wish to run an application on the development board, the first step is to set up a cross-compilation environment (an SDK) on your computer. Once that environment is established, you would cross-compile the program on your PC. Afterward, the resulting executable file should be transferred to the development board for execution.