Introduction to Embedded Linux Part 7 - Enable WiFi Networking with Yocto | Digi-Key Electronics

Описание к видео Introduction to Embedded Linux Part 7 - Enable WiFi Networking with Yocto | Digi-Key Electronics

Linux is a powerful operating system that can be compiled for a number of platforms and architectures. One of the biggest draws is its ability to be customized for an application. Tools like Buildroot, OpenWRT, and Yocto Project help us create custom Linux distributions for embedded systems.

In this video series, we will explore Buildroot and the Yocto Project. We also demonstrate how you might develop applications for embedded Linux. We will not dive into the specifics of how each of these systems work but give you a good starting place so you can read or watch more advanced material about working with embedded Linux.

See this written tutorial if you would like to review the commands issued in this tutorial for the Yocto Project: https://www.digikey.com/en/maker/proj...

In the previous episode (   • Introduction to Embedded Linux Part 6...  ), we wrote a custom application that reads data from a temperature sensor over I2C.

This episode, we enable WiFi networking. As the STM32MP157D-DK1 does not have an onboard wireless module, we must add our own module. We accomplish this by using a USB WiFi dongle. Additionally, we must include specific driver modules/drivers to work with the adapter.
We are using a TP-Link TL-WN725N WiFi adapter. Note that not all WiFi adapters will work with Linux! It will likely require some trial and error to find an adapter and specific drivers to make WiFi work correctly with your board.

This site allows you to look up chipsets and see if they might work with Linux: http://linux-wless.passys.nl/

We use the bitbake menuconfig option to select which modules we want to include in our image. We then copy this configuration file to our custom layer (that we created in Part 4    • Introduction to Embedded Linux Part 4...  ). This allows us to include WiFi support for the rtl8188eu chipset any time we include our custom layer.
Note that we need to modify our .bbappend kernel recipe to include the new defconfig (default configuration) file as well as modify the IMAGE_INSTALL variable to tell bitbake to include a variety of packages (firmware, modules, networking tools) in our image.

Once we build our image, we flash it to an SD card and boot our STM32MP157D-DK1. We use the networking tools to connect to a local network (e.g. using ifconfig and wpa_supplicant). This forms the basis for creating a Linux-based IoT device!

Product Links:
https://www.digikey.com/en/products/d...

Related Videos:
   • STM32MP1 workshop - 1 Introduction an...  

Related Project Links:
https://www.digikey.com/en/maker/proj...

Related Articles:
https://forum.digikey.com/c/eewiki/li...

Learn more:
Maker.io - https://www.digikey.com/en/maker
Digi-Key’s Blog – TheCircuit https://www.digikey.com/en/blog
Connect with Digi-Key on Facebook   / digikey.electronics  
And follow us on Twitter   / digikey  

Комментарии

Информация по комментариям в разработке