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
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
embedded c++ fx3 makefile intellisense CppProperties.json msvc open folder armgcc intellisense fix visual studio makefile embedded ide setup c++20 embedded fx3 clang clang intellisense environment variables makefile cypress fx3 firmware build uvc firmware c++20 constinit constexpr fx3 makefile automation msvc toolchain integration embedded dev setup intellisense diagnostics clean header resolution
Комментарии отсутствуют
Информация о видео
15 июня 2025 г. 17:11:06
00:22:12
Другие видео канала