{"repo":"UBCFormulaElectric/Consolidated-Firmware","free":true,"listed":false,"github":"https://github.com/UBCFormulaElectric/Consolidated-Firmware","clone":"git clone https://github.com/UBCFormulaElectric/Consolidated-Firmware.git","description":"A consolidated repository for gathering all software under one roof.","language":"C","stars":34,"topics":["formula-sae","nextjs","python3","stm32","formula-electric"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"Consolidated-Firmware A repository for all software and firmware from UBC Formula Electric. Brought to you by the students and alumni of the software team at UBC Formula Electric. Table of Contents - Environment Setup - Building - Load CMake - Build Embedded Binaries - Build Tests - Debugging - Embedded - Tests - CAN Bus - Windows - Linux - Continuous Integration (CI) Environment Setup See our guides on Confluence on how to setup the build system. - General Setup Guide - Windows Setup Guide - Linux Setup Guide - Mac Setup Guide For those without Confluence Access - Install CMake. - Install GNU Arm Embedded Compiler. - Follow CMake instructions, install dependencies as it asks it from you. Building Load CMake CMake is our build system of choice. Whereas editing CMakeLists.txt files is more user-friendly, editing the files of your generator of choice (Make, Ninja, MSVC, etc.) is annoying. CMake builds projects compatible with all these generators, and these generators can be used to build the project once the CMake configuration step is complete. We use 2 CMake profiles, one for embedded binaries and another for unit tests. This is necessary because a specific compiler ( arm-none-eabi-gcc from the GNU Arm Embedded Toolchain) is required for building binaries for the ARM Cortex-M microcontrollers that we use. All of our profiles are defined in CMakePresets.json . You are welcome to extend these presets with your own custom CMakeUserPresets.json . To load the CMake manually with ","default_branch":null,"files":null,"tree":[],"storefront":"/r/UBCFormulaElectric","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/UBCFormulaElectric/Consolidated-Firmware/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}