https://github.com/ikajdan/stm32-library-template
A template for developing STM32 libraries
https://github.com/ikajdan/stm32-library-template
embedded firmware microcontroller stm32 stm32-library
Last synced: 4 months ago
JSON representation
A template for developing STM32 libraries
- Host: GitHub
- URL: https://github.com/ikajdan/stm32-library-template
- Owner: ikajdan
- License: other
- Created: 2025-02-15T14:15:39.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2025-02-15T14:40:56.000Z (12 months ago)
- Last Synced: 2025-07-23T23:45:24.089Z (6 months ago)
- Topics: embedded, firmware, microcontroller, stm32, stm32-library
- Language: C
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# STM32 Library Template
This repository provides a basic template for developing STM32 libraries. It includes a structured directory layout, placeholder configuration files, and source code files to streamline the development process.
## Directory Structure
```
ikajdan-stm32_library_template/
├── Inc/
│ ├── template.h # Template library header file
│ ├── template_conf.h # Configuration header file
└── Src/
├── template.c # Template library source file
└── template_conf.c # Configuration source file
```
## Files Overview
### `Inc/template.h`
- Declares public function prototypes, macros, and variables for the library.
- Includes the configuration file `template_conf.h`.
### `Inc/template_conf.h`
- Contains configuration settings and definitions for the library.
- Provides macros and type definitions for customization.
### `Src/template.c`
- Implements the functions declared in `template.h`.
- Contains placeholders for private and public functions.
### `Src/template_conf.c`
- Implements configurable parameters defined in `template_conf.h`.
- Manages configurable variables and settings.
## Usage
1. Modify `template_conf.h` to configure the library according to your requirements.
2. Implement specific functions inside `template.c`.
3. Include `template.h` in your main project files to use the library.
## License
This project is licensed under the CC0 1.0 Universal License. See the [LICENSE](LICENSE.md) file for details.