Skip to content

Commit e6cfcdc

Browse files
committed
Fixed build errors
1 parent d0f224b commit e6cfcdc

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

OpenOCD.vgdbcmake

+5-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
<ToolchainID>
1414
<ID>com.visualgdb.mingw32</ID>
1515
<Version>
16-
<GCC>9.1.0</GCC>
17-
<GDB>8.3</GDB>
16+
<GCC>12.2.0</GCC>
17+
<GDB>12.1</GDB>
1818
<Revision>1</Revision>
1919
</Version>
2020
</ToolchainID>
@@ -89,7 +89,9 @@
8989
<DefaultHeaderDiscoveryMode>None</DefaultHeaderDiscoveryMode>
9090
<EnableFastUpToDateCheck>true</EnableFastUpToDateCheck>
9191
<StartupTarget>openocd</StartupTarget>
92+
<DetectMissingSolutionConfigurations>false</DetectMissingSolutionConfigurations>
9293
</ProjectModeSettings>
94+
<LoadCMakePresets>false</LoadCMakePresets>
9395
</Build>
9496
<CustomBuild>
9597
<PreSyncActions />
@@ -169,6 +171,7 @@
169171
<MaxBreakpointLimit>0</MaxBreakpointLimit>
170172
<EnableVerboseMode>true</EnableVerboseMode>
171173
<EnablePrettyPrinters>false</EnablePrettyPrinters>
174+
<EnableAbsolutePathReporting>true</EnableAbsolutePathReporting>
172175
</AdditionalGDBSettings>
173176
<LaunchGDBSettings xsi:type="GDBLaunchParametersNewInstance">
174177
<DebuggedProgram>$(TargetPath)</DebuggedProgram>

src/flash/nor/CMakeLists.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -79,4 +79,5 @@ add_library(ocdflashnor
7979
pic32mm.c
8080
npcx.c
8181
rsl10.c
82-
qn908x.c)
82+
qn908x.c
83+
eneispif.c)

src/jtag/drivers/picoprobe.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ static int picoprobe_usb_open(void)
497497
const uint16_t vids[] = { VID, 0 };
498498
const uint16_t pids[] = { PID, 0 };
499499

500-
if (jtag_libusb_open(vids, pids,
500+
if (jtag_libusb_open(vids, pids, NULL,
501501
&picoprobe_handle->usb_handle, NULL) != ERROR_OK) {
502502
LOG_ERROR("Failed to open or find the device");
503503
return ERROR_FAIL;

src/target/CMakeLists.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ add_library(target
111111
espressif/esp32_apptrace.c
112112
espressif/esp32_sysview.c
113113
xtensa/xtensa_fileio.c
114-
espressif/esp.c)
114+
espressif/esp.c
115+
espressif/esp_algorithm.c
116+
espressif/esp_xtensa_algorithm.c)
115117

116118
SET_TARGET_PROPERTIES(target PROPERTIES COMPILE_FLAGS -I${CMAKE_CURRENT_BINARY_DIR})

0 commit comments

Comments
 (0)