Skip to content
View nimaltd's full-sized avatar
😎
😎

Block or report nimaltd

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Nimaltd/README.md

👋 Hi, I'm Nima Askari

I'm an electronics engineer and embedded systems developer. For more than 20 years I've been writing C for STM32 microcontrollers, and most of that time has gone into one goal: making libraries that are actually easy to use.

I got tired of fighting messy drivers and overcomplicated code, so I started writing my own, cleaning them up, and sharing them with anyone who needs them.


💡 What I focus on

Lightweight, non-blocking, easy to drop in C libraries for STM32 (HAL and LL), covering storage, communication, sensors and general drivers. The idea is always the same: add the library to your project and have it working in minutes, not days.


🧰 stm32-installer

PyPI

Installing one of my libraries takes one command. stm32-installer copies the files into your project and adds the library to your CMake, STM32CubeIDE, Keil, IAR or Makefile project, backing up the project file first. Any library it needs comes with it, and an update keeps your settings.

pip install stm32-installer
stm32-installer nimaltd/stm32-installer-example

That one is stm32-installer-example, a small library made for trying the installer on: it builds in any STM32 project and blinks an LED without HAL_Delay().

Libraries you can install with it:

Library Description Install
seq Non blocking state sequencer and interrupt task queue for STM32 stm32-installer nimaltd/seq
ee24 Driver for 24xx I2C EEPROMs, 24C01 to 24C512, on the STM32 HAL stm32-installer nimaltd/ee24
spif Driver for SPI NOR flash, W25Qxx and compatible, on the STM32 HAL stm32-installer nimaltd/spif
osal OS abstraction layer for STM32: the same mutex and delay on bare metal, FreeRTOS and ThreadX stm32-installer nimaltd/osal
littlefs LittleFS by the littlefs project, ready for stm32-installer stm32-installer nimaltd/littlefs

The rest are moving to it one by one, and this list grows as they do.


🌬️ zephyr-installer

PyPI

The same one command for Zephyr and nRF Connect SDK. zephyr-installer makes the library a Zephyr module of your application, adds it to your CMakeLists.txt and switches it on in prj.conf, with its settings in Kconfig. Both installers read the same installer.yml, so one library can go into an STM32 project and a Zephyr application alike, and --uninstall takes it out again.

pip install zephyr-installer
zephyr-installer nimaltd/zephyr-installer-example

That one is zephyr-installer-example, a small library made for trying the installer on: it builds in any Zephyr application, native_sim included, with its settings in Kconfig.


🎁 Open source, for real

Every library I publish is free and open source. It's my way of giving something back to the embedded community that taught me so much over the years.

If a library saves you time, a ⭐ on the repo or a small donation on Ko-fi means a lot to me. It's a small thing for you, but it genuinely keeps me motivated to keep writing, documenting and maintaining these libraries.


🏆 Background

  • Over 20 years across embedded programming, electronics design and hardware testing
  • 🥉 Third place, National Skills Competition of Electronic Engineering, Iran, 2003
  • B.Sc. in Electronic Engineering, Chamran University, Rasht

🌐 Let's connect

GitHub YouTube Instagram LinkedIn Email Ko-fi


🙏 Thanks

Thanks for stopping by. If any of my work is useful to you, a star on the repo or a small donation helps more than you'd think, and I appreciate every bit of it. ⚙️

Pinned Loading

  1. zephyr-installer zephyr-installer Public

    One command installs C libraries into a Zephyr or nRF Connect SDK application, as Zephyr modules with their settings in Kconfig

    Python 2

  2. stm32-installer stm32-installer Public

    One command installs STM32 libraries into CMake, STM32CubeIDE, Keil, IAR and Makefile projects

    Python 7

  3. spif spif Public

    W25qxx, N25Qxx and other SPI FLASH driver for stm32 HAL

    C 721 174

  4. ee ee Public

    EEPROM emulation for stm32.

    C 471 92

  5. ee24 ee24 Public

    STM32 HAL driver for 24xx I2C EEPROMs, 24C01 to 24C512

    C 181 43

  6. atc atc Public

    AT-Command parser for STM32

    C 321 47