This repository was archived by the owner on Oct 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 242
This repository was archived by the owner on Oct 1, 2024. It is now read-only.
Failed to generate IntelliSense configuration with STM8 Core #1489
Copy link
Copy link
Closed
Labels
needs-more-infoMore details about this issue are needed for it to be actionable.More details about this issue are needed for it to be actionable.stale
Description
To reproduce the issue, install STM8 core https://github.com/stm32duino/Arduino_Core_STM8 from the board manager, select any example, one of the two boards as target, and hit "Verify".
Verification...
[Warning] Failed to generate IntelliSense configuration.
Is there a way to get some log? no long on console(s) no log in the build directory... We really shoudl get more meaningful debug on the verify and intellisense because it does fail and to fix it we have to know why.
I did my best to recreate a c_cpp_properties.json but it did not solve the problem.
N.B. the target here is a custom target, but the problem is exactly the same with the targets provided with the core.
{
"configurations": [
{
"name": "Arduino",
"compilerPath": "C:\\Users\\xxxx\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\cxppstm8\\4.1.3\\cxppstm8",
"compilerArgs": [
"-gh",
"-si",
"-sd",
"+proto",
"+split"
],
"intelliSenseMode": "gcc-x64",
"includePath": [
"C:\\Users\\xxxx\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\cxppstm8\\4.1.3\\\\hstm8++",
"C:\\XXXX\\XXXX\\XXXX\\FIRMWARE\\BS_NPD01_STM8_FW_V0_1",
"C:\\Users\\xxxx\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm8\\1.0.0\\system\\Drivers\\STM8Lxx_StdPeriph_Driver",
"C:\\Users\\xxxx\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm8\\1.0.0\\system\\Drivers\\STM8Lxx_StdPeriph_Driver\\inc",
"C:\\Users\\xxxx\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm8\\1.0.0\\system\\Drivers\\STM8Lxx_StdPeriph_Driver\\src",
"C:\\Users\\xxxx\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm8\\1.0.0\\cores\\arduino\\stm8",
"C:\\Users\\xxxx\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm8\\1.0.0\\variants\\NPD01_8L052C6",
"C:\\Users\xxxx\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\cxppstm8/4.1.3\\Hstm8",
"C:\\Program Files (x86)\\Arduino\\hardware",
"C:\\Users\\xxxx\\AppData\\Local\\Arduino15\\packages",
"C:\\Users\\xxxx\\Documents\\Arduino\\hardware",
"C:\\Users\\xxxx\\Documents\\Arduino\\libraries",
"C:\\Users\\xxxx\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm8\\1.0.0\\cores\\arduino",
"C:\\Users\\xxxx\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm8\\1.0.0\\libraries\\Wire\\src",
"C:\\Users\\xxxx\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm8\\1.0.0\\cores\\arduino\\stm8",
"C:\\Users\\xxxx\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\tools\\cxppstm8\\4.1.3\\Hstm8++",
"C:\\Users\\xxxx\\Documents\\Arduino\\libraries\\AsyncDelay\\src",
"C:\\Users\\xxxx\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm8\\1.0.0\\system\\Drivers\\STM8Lxx_StdPeriph_Driver\\inc"
],
"forcedInclude": [
"C:\\Users\\xxxx\\AppData\\Local\\Arduino15\\packages\\STMicroelectronics\\hardware\\stm8\\1.0.0\\cores\\arduino\\Arduino.h"
],
"cStandard": "c11",
"cppStandard": "c++11",
"defines": [
"__CSMC__",
"STM8Lxx",
"F_CPU=16000000",
"ARDUINO=10819",
"ARDUINO_NPD01_8L052C6",
"ARDUINO_ARCH_STM8",
"BOARD_NAME=\"NPD01_8L052C6\"",
"__arm__",
"STM8L05X_MD_VL"
]
}
],
"version": 4
}
Metadata
Metadata
Assignees
Labels
needs-more-infoMore details about this issue are needed for it to be actionable.More details about this issue are needed for it to be actionable.stale