Fsio eval check (#2068)
* FSIO error signaling - wrong keyword in FSIO now shows up as nice TS error message - added f7 debug option for vsCode as well. * Keep unit_test happy
This commit is contained in:
parent
9b3e4404cc
commit
593be1c943
|
@ -56,6 +56,19 @@
|
|||
"svdFile": "${workspaceRoot}/firmware/ext/cmsis-svd/data/STMicro/STM32F427.svd",
|
||||
"servertype": "openocd",
|
||||
"configFiles": ["interface/stlink.cfg", "target/stm32f4x.cfg"],
|
||||
"runToMain": true
|
||||
},
|
||||
{
|
||||
"name": "Debug F7x6",
|
||||
"type": "cortex-debug",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"executable": "${workspaceRoot}/firmware/build/rusefi.elf",
|
||||
"device": "STM32F767V",
|
||||
"v1": false,
|
||||
"svdFile": "${workspaceRoot}/firmware/ext/cmsis-svd/data/STMicro/STM32F7x6.svd",
|
||||
"servertype": "openocd",
|
||||
"configFiles": ["board/stm32f7discovery.cfg"],
|
||||
"runToMain": true
|
||||
}
|
||||
]
|
||||
|
|
|
@ -422,7 +422,9 @@ LEElement *LEElementPool::parseExpression(const char * line) {
|
|||
/**
|
||||
* Cannot recognize token
|
||||
*/
|
||||
warning(CUSTOM_ERR_PARSING_ERROR, "unrecognized [%s]", parsingBuffer);
|
||||
#if ! EFI_UNIT_TEST
|
||||
firmwareError(CUSTOM_ERR_PARSING_ERROR, "unrecognized FSIO keyword [%s]", parsingBuffer);
|
||||
#endif
|
||||
return nullptr;
|
||||
}
|
||||
n->init(action);
|
||||
|
|
Loading…
Reference in New Issue