Step 3 : Acquisition of software packages ========================================= .. tab-set:: .. tab-item:: Acquisition of software packages * In this program, you are going to learn .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow * How to ? .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow Topics in this section, * :ref:`Steps for Acquisition of software packages ` .. _Rt-Thread_qemu_ARM-vexpress-A9_step3_0: .. tab-set:: .. tab-item:: Acquisition Steps * Configure the environment variable using below command: .. code-block:: c $ source ~/.env/env.sh * Now use "scons --menuconfig" command to enter menuconfig, and you could select the online packages by this time. .. code-block:: c $ 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: .. code-block:: c [*] [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: .. code-block:: c $ pkgs --update .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow