Automatic Code Generation for Embedded Systems

Etkinlik Programı ve İçeriği

FirmaKonuşmacıKonu Başlığı
Berk Kaçar – FİGES
Embedded Coder Legacy Code
  • Embedded Coder STM32 Setup
  • Download STM32 target files

  • Add peripheral libraries to Simulink

  • Embedded Coder STM32 Peripheral Blocks
  • How peripheral blocks handle buffers

  • How to configure peripherals with CubeMX

  • DRV8353 Driver Code
  • DRV8353 SPI Protocol

  • DRV8353 Driver C Code to handle buffers

  • Driver interface code for higher layers

  • Calling C Code from the Model
  • Add header and source file paths

  • Call interface C functions from the model with MATLAB Function Block

  • Using Peripheral Blocks with C Functions
  • Link interface C funtions and STM32 peripheral blocks

  • Conclusion
FirmaKonuşmacıKonu Başlığı
Zeynep Çakır – ROKETSAN
Code Generation Processes in Roketsan
  • Introduction
  • ​System Simulation Softwares and Electronic Warfare Unit (SSSEWU)

  • Code Generation in Roketsan

  • What does code generation mean for Roketsan?
  • Why code generation is needed?

  • Who are the responsibles for the code generation?

  • Code Generation Works in SSSEWU
  • Definition of Algorithm Code Generation Processes

  • Introduction

  • Achievements

  • ​ Model-Subsystem-Configuration Settings

  • Test Set Directory Structure and Settings

  • Automated Code Generation Sequence

  • Introduction
  • Achievements

  • Usage Procedure
  • General Information

  • Process Steps about the Sequence

  • Conclusion

FirmaKonuşmacıKonu Başlığı
Nusrettin Güleç – ASELSAN
Code Generation from Simulink
  • Code Generation from Simulink
  • Pros: Comfort, Ease, Speed, Readability, etc.

  • Cons: High-level language, trade-off between general purpose Simulink blocks vs. self-coded S-Functions, rare but critical problems with hardware support blocks under development

  • Discussions on optimality (runtime performance and memory usage)

  • Documentation-related support

  • An Example Workflow based on Our Experience

  • Requirements: Similar electronics, similar system requirements, readability, cross-team usage, etc.

  • Solution: Use of libraries, model-referencing, base architecture, base/template model, coding standards, etc.

  • Workflow: Config. control via Git, Bitbucket, etc.

  • Very basic examples partially illustrating aforementioned solutions

  • Wrap-Up

  • Pros/Cons

  • Key take-aways (particularly on workflow and coding standards

Etkinlik Bilgileri

07 Temmuz 2021