#

embedded

Embedded systems and low-level programming techniques

ProgrammingVS Code Workspace: AVR & STM32 Global/Project Settings

Learn to create a VS Code workspace with global toolchains for AVR/STM32, PlatformIO extensions, and project-specific .vscode settings for tasks.json, launch.json, and debugging with Cortex-Debug.

1 answer 4 views
ProgrammingCalculate Used Blocks from Overflowing uint32 Counters

Fix counter overflow issues to accurately compute used memory blocks in a 20k pool using uint32_t alloc_num and free counters. Handle wrapping, sum overflow, edge cases, and concurrency for reliable counter memory tracking.

1 answer 1 view
ProgrammingCLion 2025.3 Zephyr RTOS Setup: Fix CMake DTS Error

Fix CMake error 'file COPY_FILE failed to copy zephyr.dts.new' in CLion 2025.3 for Zephyr RTOS projects. Configure west build, CMake toolchain, ZEPHYR_BASE, and board options for STM32. Step-by-step guide with exact commands.

1 answer 1 view