Загрузка...

Embed++ 10d: Advanced intelliSense setup for MSVC's "Open folder"

If your embedded C++ project builds fine but IntelliSense complains—this episode is for you.

We’re tidying up loose ends from earlier episodes by aligning Visual Studio IntelliSense with the actual build system defined in your makefile. This includes centralizing environment variables, configuring CppProperties.json, eliminating Cypress IDE dependency, and verifying C++20 support across configurations.

You'll learn how to:
- Refactor your Makefile for cleaner environment handling
- Define CY_SDK_ROOT, ARMGCC_INSTALL_PATH, and CLANG_ROOT globally
- Ensure IntelliSense uses the right toolchain and flags
- Debug mysterious header resolutions and stale caches
- Properly configure include paths for both GNU C and C++
- Confirm C++20 features like constinit are recognized
- Build and navigate without relying on Cypress's IDE installation

✅ Bonus: You’ll also see how to verify proper header resolution with F12 and lock in full parity between build and IDE tooling.

00:00 Intro: Loose ends & goals
00:20 Eliminating Cypress SDK Path Dependency
00:45 DRY: global environments
02:30 Fixing intelliSense header resolution
03:32 use MSVC's ARM gcc for intelliSense headers
05:58 Cleaning cache and testing IntelliSense
06:45 propagating settings from CppProperties.json to makefile
09:30 makefile is now self-contained
10:08 use Clang's compiler for intelliSense
11:05 setting intelliSense and makefile to C++20
13:47 tidying up CppProperties.json
15:47 tidying up makefile
16:15 consistency reduces cognitive load
16:40 verify the changes
18:10 review and commit to GitHub
19:06 unfinished/missed changes (addendum)
21:25 amend git's commit

Видео Embed++ 10d: Advanced intelliSense setup for MSVC's "Open folder" канала Embedded C++ with MSVC IDE
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки

На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.

Об использовании CookiesПринять