Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.

Solar-Gators/Sunrider-RearLightsFirmware-2022

 
 

Repository files navigation

Rear Lights Firmware

Getting started

Please make sure you are using STMCUBE IDE version 1.8.0

  1. Clone this repository with git clone https://github.com/John-Carr/RearLightsFirmware.git --recursive to ensure you clone the submodules.
  2. Import this project into STM Cube IDE
  3. Add the necessary include paths.
    • Go to File->Properties->C/C++ General->Paths and Symbols Properties
    • Under Languages select GNU C++
    • Select Add and then workspace and add the following Directories
      • RearLightsFirmware/Drivers/SolarGatorsBSP_STM/DataModules/inc
      • RearLightsFirmware/Drivers/SolarGatorsBSP_STM/Drivers/inc
      • RearLightsFirmware/Drivers/SolarGatorsBSP_STM/etl/include Select
    • Exclude the following directories and files from the both the release and debug builds
      • RearLightsFirmware/Drivers/SolarGatorsBSP_STM/etl/arduino
      • RearLightsFirmware/Drivers/SolarGatorsBSP_STM/etl/examples
      • RearLightsFirmware/Drivers/SolarGatorsBSP_STM/etl/test
      • RearLightsFirmware/Drivers/SolarGatorsBSP_STM/Drivers/HY28b.hpp
        • For this file you'll need to go to properties and exclude it there
      • RearLightsFirmware/Drivers/SolarGatorsBSP_STM/Drivers/HY28b.cpp
      • RearLightsFirmware/Drivers/SolarGatorsBSP_STM/Drivers/RFD900x.hpp
        • For this file you'll need to go to properties and exclude it there
      • RearLightsFirmware/Drivers/SolarGatorsBSP_STM/Drivers/RFD900x.cpp Exclude
  4. Make sure the project builds without errors

Programming the board

STM Programmer

TODO

JLink Programmer

Go to debug configuration DebugConfig Ensure that you have the JLink selected as the debug probe, swd selected as the interface, and STM32F072RB as the target. PrgSetup Ensure that you can program the board

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 99.7%
  • Other 0.3%