{"id":71349,"date":"2022-10-03T12:31:16","date_gmt":"2022-10-03T12:31:16","guid":{"rendered":"https:\/\/electronicsmaker.com\/?p=71349"},"modified":"2022-10-03T12:31:18","modified_gmt":"2022-10-03T12:31:18","slug":"stm32-hotspot-by-popular-demand-a-new-github-for-unofficial-projects","status":"publish","type":"post","link":"https:\/\/electronicsmaker.com\/stm32-hotspot-by-popular-demand-a-new-github-for-unofficial-projects","title":{"rendered":"STM32 Hotspot, by popular demand, a new GitHub for unofficial projects"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"438\" src=\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2022\/10\/stm32_hotspot_hero-1024x438.jpg\" alt=\"\" class=\"wp-image-71350\" srcset=\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2022\/10\/stm32_hotspot_hero-1024x438.jpg 1024w, https:\/\/electronicsmaker.com\/wp-content\/uploads\/2022\/10\/stm32_hotspot_hero-300x128.jpg 300w, https:\/\/electronicsmaker.com\/wp-content\/uploads\/2022\/10\/stm32_hotspot_hero-768x329.jpg 768w, https:\/\/electronicsmaker.com\/wp-content\/uploads\/2022\/10\/stm32_hotspot_hero-750x321.jpg 750w, https:\/\/electronicsmaker.com\/wp-content\/uploads\/2022\/10\/stm32_hotspot_hero.jpg 1140w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p>ST is unveiling STM32 Hotspot today on GitHub, which comprises repositories developed by ST employees for demos or example features that are not part of the official ST GitHub page or the traditional STM32Cube ecosystem on ST.com. Developers now have access to more code examples to help them implement a significantly broader range of new functionalities. There are 27 repositories today, with more on the way. All projects comply with standard ST licensing rules, meaning that any developers can reuse our source code on an STM32 project without worrying about copyright restrictions or copyleft regulations that would compromise commercial projects. Moreover, while STM32 Hotspot doesn\u2019t accept third-party submissions, we strongly encourage forking or cloning projects locally and customizing them.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">The official ST GitHub vs. STM32 Hotspot<\/h4>\n\n\n\n<p><strong>Why is the official ST GitHub so popular?<\/strong><\/p>\n\n\n\n<p>Most STM32 developers are already familiar with ST\u2019s official GitHub page. It contains more than 450 repositories, from standard STM32Cube MCU packages for all current STM32 microcontroller series to expansion packages for specific applications. For instance, ST published four machine learning programs last year on the official GitHub channel. It ensured developers could reduce their time to market when using our sensors and our code for movement recognition. Similarly, ST released its X-CUBE-AZRTOS on GitHub last April to hasten developments on Azure RTOS. The code serves as implementation examples for features like FileX, ThreadX, or USBX, among others.<\/p>\n\n\n\n<p><strong>Why did so many users want an STM32 Hotspot?<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft size-large\"><img decoding=\"async\" width=\"300\" height=\"158\" src=\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2022\/10\/NB2209STM32HotspotGithub_web_1_1_1-300x158-1.jpg\" alt=\"\" class=\"wp-image-71351\"\/><\/figure><\/div>\n\n\n\n<p>All projects on the official ST GitHub page undergo rigorous inspection and receive extensive support. However, the projects on the official ST GitHub are just a fraction of what our prolific employees come up with. Regional offices and many of our divisions write applications for trade shows or to meet a customer\u2019s demand. Many teams conceive small validation programs or test applications showcasing specific features. However, ST developers don\u2019t share them because they were never meant to go through official distribution channels. The STM32 Hotspot solves this by opening a new avenue for innovation and creativity. By providing projects as-is, authors don\u2019t have to commit as much to specific programs, and users get more code to assist them.<\/p>\n\n\n\n<p>STM32 Hotspot is also a direct answer to the many people that reach out to our teams during trade shows or through the course of normal operations to request that we share our smaller projects. The new GitHub page is thus a hub between ST engineers and our community. By default, projects on STM32 Hotspot don\u2019t allow users to submit issues and pull requests. However, some authors may choose to adopt a more active role and accept them. We have also put processes in place to protect our community. All repositories go through a FOSS evaluation to ensure users can download, modify, and use the source code in commercial applications without exposing themselves to copyright infringement.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">STM32 Hotspot and machine learning<\/h4>\n\n\n\n<p><strong>Example: Machine Learning and Bluetooth on an STM32WB<\/strong><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright size-large\"><img decoding=\"async\" width=\"300\" height=\"169\" src=\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2022\/10\/AI-Lic-300x169-1.gif\" alt=\"\" class=\"wp-image-71352\"\/><\/figure><\/div>\n\n\n\n<p>Among the many repositories available on STM32 Hotspot, we wanted to highlight two. The first one, STM32WB-BLE-AI-MotionSense, combines AI and RF by running a machine learning application on an STM32WB. The system can distinguish between walking, running, or staying put. It then sends the result over Bluetooth to the ST BLE Sensor application on iOS or Android. The project comes with predefined models that run on the STM32WB5MM-DK board, which uses the ISM330DHCX, an inertial sensor with a machine learning core. The code thus shows how AI at the edge can run powerful models on a device like an STM32WB, thanks to the processing capabilities available on the sensor.<\/p>\n\n\n\n<p>The Readme file comes with an installation guide. Users can follow the steps to install and run the application. They also get a pre-trained Keras model. However, developers can use this repository to load their models and data. The project itself then becomes a playground for testing pre-trained networks. However, if using custom models, it is critical to adjust the sensor capture settings to reflect the training dataset. The repository also helps implement a wireless stack to transmit data efficiently using Bluetooth LE.<\/p>\n\n\n\n<p><strong>Example: An STM32U5 and a MEMS with a Machine Learning Core<\/strong><\/p>\n\n\n\n<p>The other project is a fall detection system running on the B-U585I-IOT02A Discovery kit, the B-U585I-IOT02A-ISM330DHCX-FreeFall-Detection. The board uses an ISM330DHCX accelerometer and gyroscope with a finite state machine and a machine learning core. Hence, the repository still uses the sensor\u2019s AI capabilities to run a free-fall detection. However, this use case runs on an STM32U5 and is closer to a commercial application. The code itself doesn\u2019t claim to be production ready, but it offers a solid foundation. If the system detects a free-fall, it turns the board\u2019s green LED on. Developers can thus start with this project to implement a similar feature in their product.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ST is unveiling STM32 Hotspot today on GitHub, which comprises repositories developed by ST employees for demos or example features that are not part of the official ST GitHub page or the traditional STM32Cube ecosystem on ST.com. Developers now have access to more code examples to help them implement a significantly broader range of new [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":71350,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[134,8,3747],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>STM32 Hotspot, by popular demand, a new GitHub for unofficial projects - Electronics Maker<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/electronicsmaker.com\/stm32-hotspot-by-popular-demand-a-new-github-for-unofficial-projects\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"STM32 Hotspot, by popular demand, a new GitHub for unofficial projects - Electronics Maker\" \/>\n<meta property=\"og:description\" content=\"ST is unveiling STM32 Hotspot today on GitHub, which comprises repositories developed by ST employees for demos or example features that are not part of the official ST GitHub page or the traditional STM32Cube ecosystem on ST.com. Developers now have access to more code examples to help them implement a significantly broader range of new [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/electronicsmaker.com\/stm32-hotspot-by-popular-demand-a-new-github-for-unofficial-projects\" \/>\n<meta property=\"og:site_name\" content=\"Electronics Maker\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-03T12:31:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-03T12:31:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2022\/10\/stm32_hotspot_hero.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1140\" \/>\n\t<meta property=\"og:image:height\" content=\"488\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"Electronics Maker\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"3 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/electronicsmaker.com\/#website\",\"url\":\"https:\/\/electronicsmaker.com\/\",\"name\":\"Electronics Maker\",\"description\":\"Electronics Magazine\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/electronicsmaker.com\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/electronicsmaker.com\/stm32-hotspot-by-popular-demand-a-new-github-for-unofficial-projects#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/electronicsmaker.com\/wp-content\/uploads\/2022\/10\/stm32_hotspot_hero.jpg\",\"width\":1140,\"height\":488},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/electronicsmaker.com\/stm32-hotspot-by-popular-demand-a-new-github-for-unofficial-projects#webpage\",\"url\":\"https:\/\/electronicsmaker.com\/stm32-hotspot-by-popular-demand-a-new-github-for-unofficial-projects\",\"name\":\"STM32 Hotspot, by popular demand, a new GitHub for unofficial projects - Electronics Maker\",\"isPartOf\":{\"@id\":\"https:\/\/electronicsmaker.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/electronicsmaker.com\/stm32-hotspot-by-popular-demand-a-new-github-for-unofficial-projects#primaryimage\"},\"datePublished\":\"2022-10-03T12:31:16+00:00\",\"dateModified\":\"2022-10-03T12:31:18+00:00\",\"author\":{\"@id\":\"https:\/\/electronicsmaker.com\/#\/schema\/person\/df9e9cfbf590f29e49716824dd7d81f9\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/electronicsmaker.com\/stm32-hotspot-by-popular-demand-a-new-github-for-unofficial-projects\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/electronicsmaker.com\/#\/schema\/person\/df9e9cfbf590f29e49716824dd7d81f9\",\"name\":\"Electronics Maker\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/electronicsmaker.com\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a4af77a4fcb00c5dfc7c1ca124a492b4?s=96&d=mm&r=g\",\"caption\":\"Electronics Maker\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/posts\/71349"}],"collection":[{"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/comments?post=71349"}],"version-history":[{"count":1,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/posts\/71349\/revisions"}],"predecessor-version":[{"id":71353,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/posts\/71349\/revisions\/71353"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/media\/71350"}],"wp:attachment":[{"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/media?parent=71349"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/categories?post=71349"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/electronicsmaker.com\/wp-json\/wp\/v2\/tags?post=71349"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}