Mbed CLI development environment sharing thread

Operating System

I use Windows, but people on my team use almost this same setup on Mac and Linux

  • Build time is manageable since I’m almost always doing incremental builds
  • All the build tools I use run fine on it

Build System

mbed-cmake + GCC Arm Toolchain

  • Provides more powerful target handling and build option support than Mbed CLI
  • Native IDE support

Testing Tools

Currently RPL has a custom simulator written for our code. However, we might upgrade to RTXOff as our simulator soon so that we can use threaded code.

IDE

CLion

  • Has a super great GUI debugger that can connect to any gdbserver
  • Provides content assist for code
  • Good CMake integration
  • Free to me as a student

Debugger

  • ST-LINK gdbserver (for STM32 boards)
  • J-Link gdbserver (for NXP boards)
  • (also PyOCD if I specifically need threaded debugging, which is rare)

Flash Tools

  • Stm32CubeProgrammer (for STM32 boards)
  • J-Link Commander (for NXP boards)
  • (RPL fork of) NXP-Flash [included with mbed-cmake]

Debug Probes

  • ST-LINK v2
  • J-Link

Serial Terminal

TeraTerm!

1 Like