Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
PKG_CONFIG_PATH=~/Work/mxe/usr/x86_64-w64-mingw32.static/lib/pkgconfig ../configure --host=x86_64-w64-mingw32 --disable-shared --disable-python --enable-cable=ft2232 --enable-bus=fjmem --disable-bsdl
diff --git a/urjtag/src/bfin/bfin.c b/urjtag/src/bfin/bfin.c
index 8205a1e..4bb688a 100644
--- a/urjtag/src/bfin/bfin.c
+++ b/urjtag/src/bfin/bfin.c
@@ -197,7 +197,7 @@ bfin_dbgstat_value (urj_part_t *part)
else \
return 0; \
}
-
+
#define PART_DBGCTL_CLEAR_BIT(name) \
void \
part_dbgctl_bit_clear_##name (urj_chain_t *chain, int n) \
@@ -388,7 +388,8 @@ part_wait_in_reset (urj_chain_t *chain, int n)
if (!in_reset)
{
- nanosleep (&bfin_emu_wait_ts, NULL);
+ //nanosleep (&bfin_emu_wait_ts, NULL);
+ fprintf(stderr, "no"); abort();
waited = 1;
goto try_again;
}
@@ -413,7 +414,8 @@ part_wait_reset (urj_chain_t *chain, int n)
if (in_reset)
{
- nanosleep (&bfin_emu_wait_ts, NULL);
+ //nanosleep (&bfin_emu_wait_ts, NULL);
+ fprintf(stderr, "no"); abort();
waited = 1;
goto try_again;
}
index 5727402..c0c0a77 100644
--- a/urjtag/src/lib/fclock.c
+++ b/urjtag/src/lib/fclock.c
@@ -72,7 +72,7 @@ urj_lib_frealtime (void)
/* ------------------------------------------------------------------ */
-#ifdef _POSIX_TIMERS
+#ifdef _POSIX_TIMERS_XXX
long double
urj_lib_frealtime (void)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.