### CMSIS-DAP v2 Windows Driver (.inf) Configuration Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/DAP/html/group__DAP__ConfigUSB__gr.html A sample Windows driver installation file (.inf) for CMSIS-DAP v2 devices, specifying version information, manufacturer details, device installation sections, and GUIDs for automatic driver setup on Windows 7 and later. ```APIDOC [Version] Signature = "$Windows NT$" Class = USBDevice ClassGUID = {88BAE032-5A81-49f0-BC3D-A4FF138216D6} Provider = %ManufacturerName% DriverVer = 04/13/2016, 1.0.0.0 CatalogFile.nt = CMSIS_DAP_v2_x86.cat CatalogFile.ntx86 = CMSIS_DAP_v2_x86.cat CatalogFile.ntamd64 = CMSIS_DAP_v2_amd64.cat ; ========== Manufacturer/Models sections =========== [Manufacturer] %ManufacturerName% = Devices, NTx86, NTamd64 [Devices.NTx86] %DeviceName% = USB_Install, USB\VID_c251&PID_f000 [Devices.NTamd64] %DeviceName% = USB_Install, USB\VID_c251&PID_f000 ; ========== Class definition =========== [ClassInstall32] AddReg = ClassInstall_AddReg [ClassInstall_AddReg] HKR,,,,%ClassName% HKR,,NoInstallClass,,1 HKR,,IconPath,0x10000,"%%SystemRoot%%\System32\setupapi.dll,-20" HKR,,LowerLogoVersion,,5.2 ; =================== Installation =================== [USB_Install] Include = winusb.inf Needs = WINUSB.NT [USB_Install.Services] Include = winusb.inf Needs = WINUSB.NT.Services [USB_Install.HW] AddReg = Dev_AddReg [Dev_AddReg] HKR,,DeviceInterfaceGUIDs,0x10000,"{CDB3B5AD-293B-4663-AA36-1AAE46463776}" ; =================== Strings =================== [Strings] ClassName = "Universal Serial Bus devices" ManufacturerName = "KEIL - Tools By ARM" DeviceName = "CMSIS-DAP v2" ``` -------------------------------- ### Application Execution Steps Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Projects/STM32H7S78-DK/Applications/NetXDuo/Nx_WebServer_wifi/readme.html General instructions for building, loading, and running the application on the target hardware. ```Application Execution To make the program work: 1. Open your preferred toolchain. 2. Rebuild all files and load your image into target memory. 3. Run the application. ``` -------------------------------- ### JavaScript Initialization and Search Box Setup Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/NN/html/globals_n.html This snippet demonstrates common JavaScript patterns used in web documentation for initialization and search functionality. It includes document ready handlers for UI setup and search box configuration. ```javascript $(document).ready(initResizable); $(window).load(resizeHeight); $(document).ready(function() { searchBox.OnSelectItem(0); }); var searchBox = new SearchBox("searchBox", "search",false,'Search'); $(document).ready(function(){initNavTree('globals_n.html','');}); ``` -------------------------------- ### CMake Project Setup Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/DSP/html/Examples_2ARM_2arm__signal__converge__example_2CMakeLists_8txt.html Defines the minimum required CMake version and sets the project name and version. This is a standard starting point for CMake projects. ```cmake cmake_minimum_required(VERSION 3.14) project(arm_signal_convergence_example VERSION 0.1) ``` -------------------------------- ### Page Initialization and Search Setup Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/Core_A/html/globals_g.html JavaScript code for initializing the document ready state, handling window resizing, and setting up the search box functionality for the documentation page. ```javascript $(document).ready(initResizable); $(window).load(resizeHeight); $(document).ready(function() { searchBox.OnSelectItem(0); }); var searchBox = new SearchBox("searchBox", "search",false,'Search'); ``` -------------------------------- ### RTOS Kernel Initialization and Thread Creation Example Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/RTOS2/html/group__CMSIS__RTOS__KernelCtrl.html Demonstrates the initialization of the CMSIS-RTOS kernel, creation of the main application thread, and starting the RTOS scheduler. This is a typical setup for an embedded RTOS application. ```c #include "RTE_Components.h" #include CMSIS_device_header #include "cmsis_os2.h" /*----------------------------------------------------------------------------* * Application main thread *----------------------------------------------------------------------------*/ void app_main (void *argument) { // ... for (;;) { } } int main (void) { // System Initialization SystemCoreClockUpdate(); // ... osKernelInitialize(); // Initialize CMSIS-RTOS osThreadNew(app_main, NULL, NULL); // Create application main thread osKernelStart(); // Start thread execution for (;;) { } } ``` -------------------------------- ### Page Initialization and Search Setup Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/Core/html/globals_defs_a.html Initializes page elements, resizes layout, and sets up the search functionality for the documentation. This script handles common web page interactions for navigation and search. ```javascript $(document).ready(initResizable); $(window).load(resizeHeight); $(document).ready(function() { searchBox.OnSelectItem(0); }); var searchBox = new SearchBox("searchBox", "search",false,'Search'); $(document).ready(function(){initNavTree('globals_defs_a.html','');}); ``` -------------------------------- ### Install Prerequisites on Debian/Ubuntu Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Middlewares/ST/netxduo/addons/azure_iot/azure-sdk-for-c/sdk/samples/iot/docs/how_to_iot_hub_samples_linux.md Installs essential build tools, Git, and OpenSSL required for the Azure SDK setup on Debian/Ubuntu-based Linux systems. This command updates the package list and installs necessary development packages. ```bash sudo apt-get update sudo apt-get install build-essential curl unzip tar pkg-config git openssl libssl-dev ``` -------------------------------- ### C Example: Create, Start, and Stop CMSIS-RTOS Timer Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/RTOS/html/group__CMSIS__RTOS__TimerMgmt.html Demonstrates the typical workflow for using CMSIS-RTOS timers. It shows how to create a timer, start it with a specified delay, and then stop it. This example highlights the use of osTimerCreate, osTimerStart, and osTimerStop functions. ```c #include "cmsis_os.h" void Timer_Callback (void const *arg); // prototype for timer callback function void TimerStop_example (void) { osTimerId id; // timer id osStatus status; // function return status // Create periodic timer exec = 1; id = osTimerCreate(osTimer(Timer2), osTimerPeriodic, NULL); // define timer osTimerStart(id, 1000); // start timer status = osTimerStop(id); // stop timer if (status != osOK) { // Timer could not be stopped } // Example of starting again osTimerStart(id, 1000); // start timer again } ``` -------------------------------- ### Page Initialization and Search Setup Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/NN/html/globals_func.html JavaScript code for initializing page elements, handling window resizing, and setting up the search functionality within the documentation interface. ```JavaScript $(document).ready(initResizable); $(window).load(resizeHeight); $(document).ready(function() { searchBox.OnSelectItem(0); }); var searchBox = new SearchBox("searchBox", "search",false,'Search'); ``` -------------------------------- ### Start CLI for Examples Matching Keywords (PowerShell) Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Middlewares/ST/threadx/test/ports/README.md Starts CLI environments for Azure RTOS examples matching specific keywords, such as 'TX ' (for ThreadX) and 'Cortex M7'. From the CLI, commands like 'realclean', 'clean', 'build', and 'test' can be executed. ```PowerShell pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','Cortex M7' -StartCLI ``` -------------------------------- ### JavaScript Initialization and Search Setup Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/SVD/html/index.html This snippet includes common JavaScript code used for initializing UI elements like resizable windows and setting up a search box functionality within a web-based documentation environment. ```javascript $(document).ready(initResizable); $(window).load(resizeHeight); $(document).ready(function() { searchBox.OnSelectItem(0); }); ``` ```javascript var searchBox = new SearchBox("searchBox", "search",false,'Search'); ``` -------------------------------- ### Signal Convergence Example Setup Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/DSP/html/arm_signal_converge_example_f32_8c-example.html Defines the state variables, input/output buffers, and instance structures required for the LMS normalization signal convergence example. Includes external declarations for test data and coefficients. ```c /* Global variables for LMS normalization example */ /* State buffer for LMS filter */ extern float32_t lmsStateF32[NUMTAPS + BLOCKSIZE]; /* Error output buffer */ extern float32_t errOutput[TEST_LENGTH_SAMPLES]; /* Instance structure for LMS normalization */ extern arm_lms_norm_instance_f32 lmsNorm_instance; /* External declarations for test data and coefficients */ extern float32_t testInput_f32[TEST_LENGTH_SAMPLES]; extern float32_t lmsNormCoeff_f32[32]; extern const float32_t FIRCoeff_f32[32]; /* Declare I/O buffers */ float32_t wire1[BLOCKSIZE]; float32_t wire2[BLOCKSIZE]; float32_t wire3[BLOCKSIZE]; float32_t err_signal[BLOCKSIZE]; ``` -------------------------------- ### Application Build and Run Steps Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Projects/NUCLEO-H7S3L8/Applications/USBX/Ux_Device_HID_CDC_ACM/readme.html Outlines the general procedure for building and running the application after the debug configuration is set up. This includes rebuilding all files, loading the image into target memory, and starting the application execution. ```text Open your preferred toolchain Rebuild all files and load your image into target memory Run the application ``` -------------------------------- ### JavaScript Initialization and Search Setup Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/Driver/html/globals_defs_n.html Contains JavaScript code for document ready events, search box initialization, and navigation tree setup. These snippets are part of the documentation's interactive features. ```javascript $(document).ready(initResizable); $(window).load(resizeHeight); $(document).ready(function() { searchBox.OnSelectItem(0); }); ``` ```javascript var searchBox = new SearchBox("searchBox", "search",false,'Search'); ``` ```javascript $(document).ready(function(){initNavTree('globals_defs_n.html','');}); ``` -------------------------------- ### CMSIS-DSP Global Variables (d) Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/DSP/html/globals_vars_d.html Lists global variables starting with 'd' in the CMSIS-DSP library. Includes 'doBitReverse' from FFT example and 'dualCoefficients' from SVM example. ```c doBitReverse : [arm_fft_bin_example_f32.c](arm__fft__bin__example__f32_8c.html#a4d2e31c38e8172505e0a369a6898657d) dualCoefficients : [arm_svm_example_f32.c](arm__svm__example__f32_8c.html#a6bee216b9b7e7b8d18687cd692e26a8a) ``` -------------------------------- ### Document Ready and Initialization Scripts Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/Core/html/globals_vars.html JavaScript code snippets for document ready events, search box initialization, and navigation tree setup, commonly found in web-based documentation. ```javascript $(document).ready(initResizable); $(window).load(resizeHeight); $(document).ready(function() { searchBox.OnSelectItem(0); }); ``` ```javascript var searchBox = new SearchBox("searchBox", "search",false,'Search'); ``` ```javascript $(document).ready(function(){initNavTree('globals_vars.html','');}); ``` -------------------------------- ### Install OpenSSL on Linux Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Middlewares/ST/netxduo/addons/azure_iot/azure-sdk-for-c/sdk/samples/iot/README.md Installs OpenSSL and its development headers on Linux systems using apt-get. OpenSSL is required for secure communication protocols. ```bash sudo apt-get install openssl libssl-dev ``` -------------------------------- ### Application Execution Steps Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Projects/NUCLEO-H7S3L8/Applications/ThreadX/Tx_LowPower/readme.html General steps to build, load, and run the application after configuring the development environment. ```shell 1. Open your preferred toolchain 2. Rebuild all files and load your image into target memory 3. Run the application ``` -------------------------------- ### RTOS Timer Creation and Start Example Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/RTOS/html/group__CMSIS__RTOS__TimerMgmt.html Demonstrates defining, creating, and starting RTOS timers for both one-shot and periodic execution. It shows how to associate callback functions and pass arguments to them. ```c #include "cmsis_os.h" void start_machine(void const *argument); void toggle_power(void const *argument); // Define timers [osTimerDef](group__CMSIS__RTOS__TimerMgmt.html#ga1c720627e08d1cc1afcad44e799ed492)(one_shot, start_machine); [osTimerDef](group__CMSIS__RTOS__TimerMgmt.html#ga1c720627e08d1cc1afcad44e799ed492)(periodic, toggle_power); [osTimerId](cmsis__os_8h.html#ab8530dd4273f1f5382187732e14fcaa7) one_shot_id, periodic_id; void TimerCreate_example (void) { // Create one-shot timer one_shot_id = [osTimerCreate](group__CMSIS__RTOS__TimerMgmt.html#gaedd312bfdca04e0b8162b666e09a1ae6)([osTimer](group__CMSIS__RTOS__TimerMgmt.html#ga1b8d670eaf964b2910fa06885e650678)(one_shot), [osTimerOnce](group__CMSIS__RTOS__TimerMgmt.html#gadac860eb9e1b4b0619271e6595ed83d9ad21712f8df5f97069c82dc9eec37b951), (void *)0); // creates a one-shot timer // Create periodic timer periodic_id = [osTimerCreate](group__CMSIS__RTOS__TimerMgmt.html#gaedd312bfdca04e0b8162b666e09a1ae6)([osTimer](group__CMSIS__RTOS__TimerMgmt.html#ga1b8d670eaf964b2910fa06885e650678)(periodic), [osTimerPeriodic](group__CMSIS__RTOS__TimerMgmt.html#gadac860eb9e1b4b0619271e6595ed83d9ab9c91f9699162edb09bb7c90c11c8788), (void *)5); // creates a periodic timer // Start timers [osTimerStart](group__CMSIS__RTOS__TimerMgmt.html#ga27a797a401b068e2644d1125f22a07ca)(one_shot_id, 500); [osTimerStart](group__CMSIS__RTOS__TimerMgmt.html#ga27a797a401b068e2644d1125f22a07ca)(periodic_id, 1500); } ``` -------------------------------- ### JavaScript Page Initialization and Search Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/Driver/html/globals_defs_s.html Contains JavaScript code snippets for initializing the document ready state, handling window load events, setting up search functionality, and navigating search results. These are common patterns in web-based documentation generated by tools like Doxygen. ```javascript $(document).ready(initResizable); $(window).load(resizeHeight); ``` ```javascript $(document).ready(function() { searchBox.OnSelectItem(0); }); ``` ```javascript var searchBox = new SearchBox("searchBox", "search",false,'Search'); ``` ```javascript $(document).ready(function(){initNavTree('globals_defs_s.html','');}); ``` -------------------------------- ### Install Git on Linux Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Middlewares/ST/netxduo/addons/azure_iot/azure-sdk-for-c/sdk/samples/iot/README.md Installs the Git version control system on Linux using apt-get. Git is crucial for cloning repositories and managing source code. ```bash sudo apt-get install git ``` -------------------------------- ### Windows WinUSB GUID for CMSIS-DAP v2 Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/DAP/html/group__DAP__ConfigUSB__gr.html Provides the WinUSB GUID necessary for automatic driver installation of CMSIS-DAP v2 enabled debug adapters on Microsoft Windows (version 8 and above). ```APIDOC {CDB3B5AD-293B-4663-AA36-1AAE46463776} ``` -------------------------------- ### Page Initialization and Search Box Setup Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/Driver/html/functions_vars_l.html JavaScript code for initializing page elements, handling window resizing, and setting up the search box functionality. ```JavaScript $(document).ready(initResizable); $(window).load(resizeHeight); $(document).ready(function() { searchBox.OnSelectItem(0); }); ``` ```JavaScript var searchBox = new SearchBox("searchBox", "search",false,'Search'); ``` -------------------------------- ### Start CLI for Examples Matching Names (PowerShell) Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Middlewares/ST/threadx/test/ports/README.md Opens an interactive command-line interface (CLI) with the environment set for examples matching specific names, like 'Cortex M4' and 'ARM compiler v6'. This facilitates direct interaction with specific example builds. ```PowerShell pwsh -Command .\azrtos_cicd.ps1 -MatchName 'Cortex M4','ARM compiler v6' -StartCli ``` -------------------------------- ### Page Initialization and Search Setup Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/Core/html/globals_defs.html JavaScript code for initializing page elements, handling window resizing, and setting up the search functionality. This code is typically found in generated web documentation. ```javascript $(document).ready(initResizable); $(window).load(resizeHeight); $(document).ready(function() { searchBox.OnSelectItem(0); }); var searchBox = new SearchBox("searchBox", "search",false,'Search'); $(document).ready(function(){ initNavTree('globals_defs.html',''); }); ``` -------------------------------- ### Install CMake on Linux (Ubuntu 18.04/20.04) Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Middlewares/ST/netxduo/addons/azure_iot/azure-sdk-for-c/sdk/samples/iot/README.md Installs CMake version 3.10 or higher on Ubuntu 18.04 or 20.04 using apt-get. CMake is a cross-platform build system generator. ```bash sudo apt-get install cmake ``` -------------------------------- ### Page Initialization and Search Setup Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/DSP/html/globals_b.html JavaScript code for document ready events, window resizing, and search box initialization. ```javascript $(document).ready(initResizable); $(window).load(resizeHeight); $(document).ready(function() { searchBox.OnSelectItem(0); }); ``` ```javascript var searchBox = new SearchBox("searchBox", "search",false,'Search'); ``` ```javascript $(document).ready(function(){initNavTree('globals\_b.html','');}); ``` -------------------------------- ### JavaScript UI and Search Initialization Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/Core/html/globals_d.html Handles document ready events, search box initialization, and navigation tree setup for the documentation interface. These snippets manage the dynamic behavior of the generated documentation pages. ```JavaScript $(document).ready(initResizable); $(window).load(resizeHeight); $(document).ready(function() { searchBox.OnSelectItem(0); }); var searchBox = new SearchBox("searchBox", "search",false,'Search'); $(document).ready(function(){initNavTree('globals_d.html','');}); ``` -------------------------------- ### Install Linux Build Tools Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Middlewares/ST/netxduo/addons/azure_iot/azure-sdk-for-c/sdk/samples/iot/README.md Installs essential build tools on Debian/Ubuntu-based Linux systems using apt-get. This includes compilers, archiving utilities, and network tools required for software development. ```bash sudo apt-get update sudo apt-get install build-essential curl zip unzip tar pkg-config ``` -------------------------------- ### JavaScript Search Initialization Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/DSP/html/dir_abd1d8a41d439a254a6d729f0d888b04.html Initializes the search functionality for the documentation website, including setting up the search box and handling item selection. ```javascript var searchBox = new SearchBox("searchBox", "search",false,'Search'); ``` ```javascript $(document).ready(function() { searchBox.OnSelectItem(0); }); ``` -------------------------------- ### Install GCC Multilib on Ubuntu Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Middlewares/ST/threadx/ports_smp/linux/gnu/readme_threadx.txt This command installs the necessary GCC multilib packages on Ubuntu systems, which is a prerequisite for building ThreadX SMP with GNU GCC tools. ```bash sudo apt-get install gcc-multilib ``` -------------------------------- ### Install CMake on Linux (Ubuntu 16.04) Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Middlewares/ST/netxduo/addons/azure_iot/azure-sdk-for-c/sdk/samples/iot/README.md Installs a specific version of CMake (e.g., 3.18.3) on Ubuntu 16.04 by downloading and executing a shell script. This method is used when apt-get provides an older version. ```bash wget https://cmake.org/files/v3.18/cmake-3.18.3-Linux-x86_64.sh # Use latest version. sudo ./cmake-3.18.3-Linux-x86_64.sh --prefix=/usr # When prompted to include the default subdirectory, enter `n` so to install in `/usr/local`. ``` -------------------------------- ### Page Initialization and Search Setup Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/DSP/html/globals_m.html JavaScript code used for initializing the document ready state, handling window resizing, and setting up the search box functionality for the documentation interface. ```javascript $(document).ready(initResizable); $(window).load(resizeHeight); $(document).ready(function() { searchBox.OnSelectItem(0); }); var searchBox = new SearchBox("searchBox", "search",false,'Search'); ``` -------------------------------- ### JavaScript Initialization and Search Setup Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/DSP/html/arm__variance__example_2Abstract_8txt.html This snippet demonstrates common JavaScript patterns used in web-based documentation for initializing UI elements and search functionality. It includes document ready handlers and search box configurations. ```javascript $(document).ready(initResizable); $(window).load(resizeHeight); $(document).ready(function() { searchBox.OnSelectItem(0); }); var searchBox = new SearchBox("searchBox", "search",false,'Search'); ``` -------------------------------- ### Install vcpkg and Paho MQTT on Linux Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Middlewares/ST/netxduo/addons/azure_iot/azure-sdk-for-c/sdk/samples/iot/README.md Clones the vcpkg repository, checks out a specific commit, bootstraps it, and then installs the curl, cmocka, and paho-mqtt libraries for Linux. These are dependencies for Azure IoT C SDK. ```bash git clone https://github.com/Microsoft/vcpkg.git cd vcpkg git checkout # Checkout the vcpkg commit per vcpkg-commit.txt above. ./bootstrap-vcpkg.sh ./vcpkg install --triplet x64-linux curl cmocka paho-mqtt ``` -------------------------------- ### JavaScript Initialization and Search Setup Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/Driver/html/globals_n.html Contains common JavaScript code used for document ready events, search box initialization, and navigation tree setup within the documentation. ```javascript $(document).ready(initResizable); $(window).load(resizeHeight); $(document).ready(function() { searchBox.OnSelectItem(0); }); var searchBox = new SearchBox("searchBox", "search",false,'Search'); $(document).ready(function(){initNavTree('globals_n.html','');}); ``` -------------------------------- ### Install vcpkg and Paho MQTT on Windows Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Middlewares/ST/netxduo/addons/azure_iot/azure-sdk-for-c/sdk/samples/iot/README.md Clones the vcpkg repository, checks out a specific commit, bootstraps it, and then installs the curl (with winssl), cmocka, and paho-mqtt libraries for Windows. Update the triplet per your system configuration. ```powershell git clone https://github.com/Microsoft/vcpkg.git cd vcpkg git checkout # Checkout the vcpkg commit per vcpkg-commit.txt above. .\bootstrap-vcpkg.bat .\vcpkg.exe install --triplet x64-windows-static curl[winssl] cmocka paho-mqtt # Update triplet per your system. ``` -------------------------------- ### JavaScript Initialization and Search Setup Source: https://github.com/stmicroelectronics/x-cube-azrtos-h7rs/blob/main/Drivers/CMSIS/Documentation/DSP/html/arm__fir__example_2ARMCM4__FP__config_8txt.html This snippet includes common JavaScript patterns for document ready events, search box initialization, and navigation tree setup, typical in web-based documentation generated by tools like Doxygen. ```javascript var searchBox = new SearchBox("searchBox", "search",false,'Search'); $(document).ready(function() { searchBox.OnSelectItem(0); }); $(document).ready(function(){ initNavTree('arm__fir__example_2ARMCM4__FP__config_8txt.html',''); }); $(document).ready(initResizable); $(window).load(resizeHeight); ```