Does swift support STM32U073CCU6?

Hello all :waving_hand: ,

I'm new to swift and I'm making a custom PCB for Casio F91w watch, while I wanted to initially program it with C/C++ I discovered swift embedded and want to use it. But I have some questions:-

  1. Will swift support the segment glass LCD display driver of the MCU?

  2. How can I integrate swift into stm32cube IDE on linux?

  3. How will swift effect the performance and battery life of the watch?

  4. Will the swift code fit on 256KB of flash and 40KB of SRAM?

Thanks in advance!

Hi! Welcome !

  1. Do you plan to integrate existing display driver written in C/C++ ?
  2. You would have to use CMake as a build tool for your project and have IDE only as a tool to flash and debug. At least that is what I was doing
  3. Hard to say. I'm my projects it's my architecture and design decisions that impact performance and battery life, not the language choice.
  4. It should, just make sure to use size-optimized build and strip unnecessary symbols from binary
1 Like

Thanks for the help! Yes, I'm using the existing display driver written in C/C++, and is there any tutorial on how to link swift with stm32cube ide as I have very little experience with CMAKE.