-
-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update picotool and implement missing make targets
- Loading branch information
Showing
5 changed files
with
72 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule picotool
updated
98 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
diff --git a/lib/whereami/whereami.c b/lib/whereami/whereami.c | ||
index d052e14..940736e 100644 | ||
--- a/lib/whereami/whereami.c | ||
+++ b/lib/whereami/whereami.c | ||
@@ -60,8 +60,9 @@ extern "C" { | ||
#if defined(_MSC_VER) | ||
#pragma warning(push, 3) | ||
#endif | ||
+#undef _WIN32_WINNT | ||
+#define _WIN32_WINNT _WIN32_WINNT_WINXP | ||
#include <windows.h> | ||
-#include <intrin.h> | ||
#if defined(_MSC_VER) | ||
#pragma warning(pop) | ||
#endif | ||
diff --git a/picoboot_connection/picoboot_connection.c b/picoboot_connection/picoboot_connection.c | ||
index 265608c..e487714 100644 | ||
--- a/picoboot_connection/picoboot_connection.c | ||
+++ b/picoboot_connection/picoboot_connection.c | ||
@@ -9,6 +9,8 @@ | ||
#include <stdbool.h> | ||
#include <inttypes.h> | ||
|
||
+#define static_assert _Static_assert | ||
+ | ||
#include "picoboot_connection.h" | ||
#include "boot/bootrom_constants.h" | ||
#include "pico/stdio_usb/reset_interface.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ COMPONENT_DEPENDS := \ | |
libc \ | ||
rp2040 \ | ||
uf2 \ | ||
picotool \ | ||
driver \ | ||
gdbstub \ | ||
spi_flash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters