{"id":58734,"library":"stm32f1xx-hal","title":"STM32F1xx HAL","description":"Hardware Abstraction Layer for the STM32F1xx family of microcontrollers.","status":"active","version":"0.11.0","language":"rust","source_language":null,"source_url":"https://github.com/stm32-rs/stm32f1xx-hal","tags":["embedded","stm32","hal","cortex-m"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nstm32f1xx-hal = \"0.11.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add stm32f1xx-hal","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"stm32f1xx_hal","correct":"use stm32f1xx_hal::prelude::*;"}],"quickstart":{"code":"#![no_std]\n#![no_main]\n\nuse stm32f1xx_hal::prelude::*;\nuse cortex_m_rt::entry;\n\n#[entry]\nfn main() -> ! {\n    let dp = stm32f1xx_hal::stm32::Peripherals::take().unwrap();\n    let mut rcc = dp.RCC.constrain();\n    let mut gpioc = dp.GPIOC.split(&mut rcc.apb2);\n    gpioc.pc13.into_push_pull_output(&mut gpioc.crh);\n    loop {}\n}","lang":"rust","description":"Blinking an LED on PC13 (typical on STM32F1 blue pill)."},"warnings":[{"fix":"Add a memory.x linker script and compile for thumbv7m-none-eabi target.","message":"Requires specific target and memory.x file.","severity":"gotcha","affected_versions":">=0.10.0"}],"env_vars":null,"search_vec":"'abstract':4 'cortex':16 'cortex-m':15 'embed':12 'famili':9 'hal':2,14 'hardwar':3 'layer':5 'm':17 'microcontrol':11 'stm32':13 'stm32f1xx':1,8","created_at":"2026-06-16T16:36:33.708946+00:00","updated_at":"2026-06-16T16:36:33.708946+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/stm32-rs/stm32f1xx-hal","github":"https://github.com/stm32-rs/stm32f1xx-hal","docs":"https://docs.rs/stm32f1xx-hal/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}