Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

hkustenterprize/RM2025-Internal-Template

Repository files navigation

RM2025-Internal-Template

This is the template project for RM2025 Internal competition.

Quick start guide

To use this template, clone the template in your terminal with:

git clone git@github.com:hkustenterprize/RM2025-Internal-Template.git

enter the directory with:

cd RM2025-Internal-Template

compile with Makefile

make -j

Structure

  • The directory ./Drivers and ./Middlewares contains the HAL drivers generated by CubeMX, you may ignore them.
  • The directory ./RM2025-Internal-Core contains the drivers. You may ignore the FreeRTOS and diagnostic directories as we have already set them up for you.
  • You have to implement your own drivers, such as rc or motors driver in ./RM2025-Internal-Core\Drivers
  • You may use the drivers in the Core directory developed by you and implement applications of the tasks in ./Core\Src and ./Core\Inc
  • Within ./Core/Inc/AppConfig.h, you could enable/disable certain drivers and configure them. Port configurations had been configured according to the Internal board design.
  • Tasks are created in ./Core/Src/UserTask.cpp. You may set initializing code here
  • Most of your code may happen in ./RM2025-Internal-Core/Drivers and ./Core/Src.

Wish good luck.