Skip to content

Latest commit

 

History

History
76 lines (52 loc) · 3.27 KB

README.md

File metadata and controls

76 lines (52 loc) · 3.27 KB

README for ARM-Microcontroller Repository

ARM-Microcontroller

This repository is a collection of my personal notes and projects related to STM32, GD32, and MG32 microcontrollers. It is organized into three main directories and may not be fully complete.

Repository Structure

  • STM32
    • Contains projects and libraries for STM32 microcontrollers.
  • GD32
    • Contains projects and libraries for GD32 microcontrollers.
  • MG32
    • Contains projects and libraries for MG32 microcontrollers.

Getting Started

Prerequisites

To work with the projects in this repository, you may need:

  • Keil MDK: Integrated Development Environment for ARM microcontrollers. Download Keil MDK
  • STM32CubeMX: Optional but useful for generating initialization code for STM32. Download STM32CubeMX
  • STM32CubeIDE: Alternative to Keil MDK that integrates CubeMX functionality. Download STM32CubeIDE
  • Visual Studio Code: Useful for editing and debugging code, but not necessary. Download VS Code

Installation

  1. Clone this repository:
    git clone https://github.com/Yen-Lung-Huang/ARM-Microcontroller.git
  2. Initialize submodules:
    cd ARM-Microcontroller
    git submodule update --init --recursive --remote

Project Setup

Refer to the Notion Page for detailed instructions on setting up Keil projects and tips for efficient development.

Tips and Best Practices

  • Using VS Code with Keil: Enhances your coding and debugging experience. Video Tutorial.
  • Auto-Alignment in Keil: Improves code readability. Use Artistic Style for formatting.
    1. Download Artistic Style.
    2. Copy Astyle.exe to the Keil installation directory.
    3. Configure Keil to use Artistic Style via the Tools menu.

Troubleshooting

Common Issues

Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add new feature').
  5. Push to the branch (git push origin feature-branch).
  6. Open a pull request.

Contact

For any questions or suggestions, please open an issue or contact the repository owner.


For further details and tips, visit the Notion Page.