Step 3 : Acquisition of software packages
In this program, you are going to learn
How to ?
Topics in this section,
Configure the environment variable using below command:
$ source ~/.env/env.sh
Now use “scons –menuconfig” command to enter menuconfig, and you could select the online packages by this time.
$ scons --menuconfig
Select “RT-Thread online packages —>” from the menu.
Inside “RT-Thread online packages —>”, go to “miscellaneous packages”.
In “miscellaneous packages”, go to “samples: kernel and components samples” and press Enter.
In “samples: kernel and components samples”, go to “a kernel_samples package for rt-thread —>” and press ‘y’ to enable it.
In “a kernel_samples package for rt-thread —>”, enable “[kernel] semphore” as shown below:
[*] [kernel] semaphore
Then ‘save’ new configuration and ‘exit’.
Go back to “miscellaneous packages” and enable “Hello: A example package”
‘save’ new configuration and ‘exit’ from the menuconfig.
Once you have selected an online package, download the package to the packages folder in the BSP directory using the below command:
$ pkgs --update