Skip to main content
Ctrl+K
Alexandru Maxiniuc - Home Alexandru Maxiniuc - Home
  • About me
  • Blogs
  • Presentations
  • Teaching
  • GitHub
  • LinkedIn
  • Blog RSS feed
  • About me
  • Blogs
  • Presentations
  • Teaching
  • GitHub
  • LinkedIn
  • Blog RSS feed

Recent Posts

  • 25 January - Smarty - Matter on ESP32 with Zephyr - Part 2
  • 25 January - Smarty - Matter on ESP32 with Zephyr - Part 1
  • 25 January - Hello Diátaxis
  • 24 November - SPL Bootstrap - Handle Python Version
  • 15 October - SPL components in YANGA

Archives

  • 2026 (3)
  • 2025 (8)
  • 2024 (3)
  • Posts tagged pointer

Posts tagged pointer

Why unit tests crashed on windows but worked on the microcontroller

  • 24 September 2025
  • learning
  • c gtest pointer portability

When writing cross-platform code, it’s easy to forget that pointers don’t always have the same size. This caused a segmentation fault in one of our unit tests.

On the Aurix MCU, pointers are 32-bit. In the code a pointer (memory address) was stored in a uint32_t variable. That worked fine on the target.

Read more ...


© Copyright 2024, Alexandru Maxiniuc.

Created using Sphinx 8.2.3.

Built with the PyData Sphinx Theme 0.16.1.