File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- // target cpu, should be the same as in the defined
3- // this can be used in the c_cpp_properties.json for
4- // intellisense
2+ // target cpu, should be the same as in the cmake
3+ // define this is used in the c_cpp_properties.json
4+ // for intellisense
55 "target_cpu" : " lpc1756" ,
66
77 // target cpu to use when using launch.json
Original file line number Diff line number Diff line change @@ -31,10 +31,23 @@ This configures the project for the specific target cpu. To change to a differen
3131(When using vscode with the cmake plugin the following can be added to the ` settings.json ` to configure cmake for the max32660 evsys board)
3232``` json
3333{
34- "target_cpu" : " max32660" ,
35- "cmake.configureArgs" : [
36- " -DTARGET_CPU=max32660"
37- ],
34+ // target cpu, should be the same as in the cmake
35+ // define this is used in the c_cpp_properties.json
36+ // for intellisense
37+ "target_cpu" : " atsam4s2b" ,
38+
39+ // target cpu to use when using launch.json
40+ // note: this might be different from the define.
41+ // for example the "atsam4s2b" does not exist in
42+ // the j-link software and requires us to use
43+ // "atsam4s2ba" instead. To find the correct name
44+ // open j-link and search for your chip
45+ "target_cpu_debug" : " atsam4s2ba" ,
46+ "cmake.configureSettings" : {
47+ "TARGET_CPU" : " atsam4s2b" ,
48+ "TARGET_LOW_POWER_SLEEP" : " 1" ,
49+ "TARGET_BREAK_AT_RESERVED_HANDLER" : " 1"
50+ },
3851 "C_Cpp.default.configurationProvider" : " ms-vscode.cmake-tools" ,
3952}
4053```
You can’t perform that action at this time.
0 commit comments