/
2022-01-08 Build System Design Meeting 1

2022-01-08 Build System Design Meeting 1

Criteria:

  • Testing infrastructure (PC and stm32)

  • Structure:

    • FWXV

      • libs

      • projects

        • inc

        • src

        • smoke (scons smoke)

      • build

      • SConstruct

      • Codegen

      • platform

      • py

        • projects

          • python_module

  • Components:

    • Blinking_leds

      • FreeRTOS functionality

        • timers, tasks (wrapped)

      • log.h

      • babydriver

      • gpios (ms-common)

      • toolchain

  • Testability

    • Unit tests

    • Smoke tests

    • CAN Library

    •  

  • Ability to flash to hardware

  • Scalable with new projects

  • New Repo

  • Python Projects

    • python modules in dedicated folder

    • Can import modules easily

  • Dependency management:

    • json file

  • Debugging

    • Gdb

    • FreeRTOS

Commands

  • clean

  • socketcan

  • new

  • build

  • program

  • sim

  • format

  • lint

  • all

  • gdb

  • py script_name

  •  

Tools:

  • Scons is the primary candidate (because Python and Tesla clout)

Dev Environment:

  • Would be better to have all dependencies in one place

    • use install script for dependency management

  •  

 

Related content

2021-11-25 Build System: Firmware design meeting
2021-11-25 Build System: Firmware design meeting
More like this
2021-11-17 Firmware design meeting
2021-11-17 Firmware design meeting
More like this
Intro to FreeRTOS
Intro to FreeRTOS
Read with this
Firmware Onboarding Schedule Spring 2022
Firmware Onboarding Schedule Spring 2022
More like this
Firmware 101 - Getting Started
Firmware 101 - Getting Started
Read with this
Full Simulation Infrastructure Design
Full Simulation Infrastructure Design
More like this