/hal_rpi_pico-latest/test/pico_float_test/ |
D | pico_float_test.c | 25 #define test_assert(x) ({ if (!(x)) { printf("Assertion failed: ");puts(#x);printf(" at " __FILE__… 38 printf("error in __aeabi_cfcmpeq(%f, %f) => Z = %08x, expected %08x\n", in test__aeabi_cfcmpeq() 90 printf("skipped\n"); in test_cfcmpeq() 103 printf("error in fcmple(%f, %f) => %d, expected %d\n", in test_fcmple_gt() 108 printf("error in fcmpgt(%f, %f) => %d, expected %d\n", in test_fcmple_gt() 117 printf("error in fcmplt(%f, %f) => %d, expected %d\n", in test_fcmplt_ge() 122 printf("error in fcmpge(%f, %f) => %d, expected %d\n", in test_fcmplt_ge() 136 printf("error: __aeabi_cfcmple(%f, %f) != __aeabi_cfrcmple(%f, %f)\n", a, b, b, a); in test__aeabi_cfcmple() 159 printf("error in __aeabi_cfcmple(%f, %f) => (Z = %d, C = %d), expected (Z = %d, C = %d)\n", in test__aeabi_cfcmple() 166 printf("error in __aeabi_cfrcmple(%f, %f) => (Z = %d, C = %d), expected (Z = %d, C = %d)\n", in test__aeabi_cfcmple() [all …]
|
D | pico_double_test.c | 25 #define test_assert(x) ({ if (!(x)) { printf("Assertion failed: ");puts(#x);printf(" at " __FILE__… 39 printf("error in __aeabi_cdcmpeq(%f, %f) => Z = %08x, expected %08x\n", in test__aeabi_cdcmpeq() 91 printf("skipped\n"); in test_cdcmpeq() 104 printf("error in dcmple(%f, %f) => %d, expected %d\n", in test_dcmple_gt() 109 printf("error in dcmpgt(%f, %f) => %d, expected %d\n", in test_dcmple_gt() 118 printf("error in dcmplt(%f, %f) => %d, expected %d\n", in test_dcmplt_ge() 123 printf("error in dcmpge(%f, %f) => %d, expected %d\n", in test_dcmplt_ge() 137 printf("error: __aeabi_cdcmple(%f, %f) != __aeabi_cdrcmple(%f, %f)\n", a, b, b, a); in test__aeabi_cdcmple() 160 printf("error in __aeabi_cdcmple(%f, %f) => (Z = %d, C = %d), expected (Z = %d, C = %d)\n", in test__aeabi_cdcmple() 167 printf("error in __aeabi_cfrcmple(%f, %f) => (Z = %d, C = %d), expected (Z = %d, C = %d)\n", in test__aeabi_cdcmple() [all …]
|
D | pico_float_test_hazard3.c | 178 printf("%08x %s %08x -> %08x", tests[i].x, op_str, tests[i].y, tests[i].expect); in run_tests() 179 printf(" FAIL: got %08x\n", actual); in run_tests() 183 printf("Passed: %d / %d\n", n_tests - failed, n_tests); in run_tests() 191 printf("Testing: __addsf3 (directed tests)\n"); in main() 193 printf("Testing: __mulsf3 (directed tests)\n"); in main() 196 printf("Skipping random tests due to %d test failures\n", failed); in main() 199 printf("Testing: __addsf3 (random tests)\n"); in main() 201 printf("Testing: __mulsf3 (random tests)\n"); in main() 204 printf("%d tests failed.\n", failed); in main() 206 printf("Well done, you can relax now\n"); in main()
|
D | hazard3_test_gen.c | 131 printf("{0x%08xu, 0x%08xu, 0x%08xu},\n", x, y, model_fadd(x, y)); in main() 133 printf("{0x%08xu, 0x%08xu, 0x%08xu},\n", x, y, model_fmul(x, y)); in main()
|
/hal_rpi_pico-latest/test/pico_test/include/pico/ |
D | test.h | 20 #define PICOTEST_START() printf("Starting Picotest for %s\n", picotest_description); 25 … printf("Module %s: Section %s : Failed test\n", picotest_module, picotest_section_name);\ 28 … printf("Module %s: Section %s : Passed\n", picotest_module, picotest_section_name); \ 32 printf("Module %s: %s\n", picotest_module, MESSAGE); \ 36 … printf("Module %s, channel %d: %s\n", picotest_module, CHANNEL, MESSAGE); \ 41 printf("Module %s: %s\n", picotest_module, MESSAGE); \ 46 … printf("Module %s, channel %d: %s\n", picotest_module, CHANNEL, MESSAGE); \ 51 … printf("Module %s: Aborting\n", picotest_module); \ 56 {printf("%s: Failed\n", picotest_description); return -1;} \ 58 {printf("%s: Success\n", picotest_description); return 0;}
|
/hal_rpi_pico-latest/test/hardware_sync_spin_lock_test/ |
D | hardware_sync_spin_lock_test.c | 45 printf("Impossible local counter value %d on core %d: %08x (max %08x)\n", in check_counter_sums() 51 printf("Failed sum check for lock %d: expected %08x, actual %08x\n", in check_counter_sums() 57 printf("Impossible shared counter value %d: %08x (max %08x)\n", in check_counter_sums() 64 printf("Incorrect counter total: expected %08x, got %08x\n", in check_counter_sums() 203 printf("Hello world\n"); in main() 208 printf(">>> Starting test: %s\n", t->name); in main() 214 printf(">>> Finished test: %s\n", t->name); in main() 216 printf("OK.\n"); in main() 218 printf("Failed.\n"); in main() 223 printf("All tests passed.\n"); in main() [all …]
|
/hal_rpi_pico-latest/test/kitchen_sink/ |
D | kitchen_sink.c | 176 printf("HI %d\n", something_inlined((int)time_us_32())); in main() 180 printf("main at %p\n", (void *)main); in main() 182 printf("x[0] = %p, x[1] = %p\n", x, x+1); in main() 184 printf("RISC-V\n"); in main() 186 printf("ARM\n"); in main() 195 printf("%f\n", foox(1.3f, 2.6f)); in main()
|
/hal_rpi_pico-latest/test/hardware_irq_test/ |
D | hardware_irq_test.c | 103 printf(" EXPECTED handlers: "); in dma_check() 106 if (i) printf(", "); in dma_check() 107 printf("%d", va_arg(args, int)); in dma_check() 109 printf("\n"); in dma_check() 111 printf(" CALLED handlers: "); in dma_check() 113 if (i) printf(", "); in dma_check() 114 printf("%d", fired[i]); in dma_check() 116 printf("\n"); in dma_check() 117 printf("Dump of slot chain:\n"); in dma_check() 119 printf(" Head at %p\n", head); in dma_check() [all …]
|
/hal_rpi_pico-latest/test/pico_stdlib_test/ |
D | pico_stdlib_test.c | 63 printf("Count is %d\n", (int)x); in test_builtin_bitops() 66 printf("FAILED (expected count %d\n", (int) expected); in test_builtin_bitops() 75 printf("Hello world %d\n", 2); in main() 87 printf("%08x %08x %016llx %016llx\n", (uint) x, (uint) __rev(x), (unsigned long long) xl, in main() 95 printf( "%" PRIu64 "\n", to_us_since_boot(get_absolute_time())); in main() 98 printf("\n"); in main() 101 printf("%" PRIu64 "\n", to_us_since_boot(get_absolute_time())); in main()
|
/hal_rpi_pico-latest/test/pico_stdio_test/ |
D | pico_stdio_test.c | 19 printf("Hello from core 1 - %d\n", i); in deadlock_test_core1() 28 printf("Here is a printf from the IRQ %d\n", ++foo); in deadlock_test_alarm() 37 printf("Hello %d\n", i); in main() 39 printf("pico_stdio_test begins\n"); in main()
|
/hal_rpi_pico-latest/src/rp2_common/pico_malloc/ |
D | malloc.c | 74 printf("malloc %d failed to allocate memory\n", (uint) size); in WRAPPER_FUNC() 76 printf("malloc %d %p->%p\n", (uint) size, rc, ((uint8_t *) rc) + size); in WRAPPER_FUNC() 89 printf("calloc %d failed to allocate memory\n", (uint) (count * size)); in WRAPPER_FUNC() 91 printf("calloc %d %p->%p\n", (uint) (count * size), rc, ((uint8_t *) rc) + size); in WRAPPER_FUNC() 104 printf("realloc %d failed to allocate memory\n", (uint) size); in WRAPPER_FUNC() 106 printf("realloc %p %d->%p\n", mem, (uint) size, rc); in WRAPPER_FUNC()
|
/hal_rpi_pico-latest/test/cmsis_test/ |
D | cmsis_test.c | 29 printf("%d %d\n", i, some_function(i)); in main() 32 printf("PENDSV: "); in main() 34 printf("DMA_IRQ_0: "); in main()
|
/hal_rpi_pico-latest/src/rp2_common/pico_printf/ |
D | CMakeLists.txt | 21 ${CMAKE_CURRENT_LIST_DIR}/printf.c 32 # note that printf and vprintf are in pico_stdio so we can provide thread safety 41 # always hook printf for printf_none with out weak impl, as it is handled by pico_stdio 43 pico_wrap_function(pico_printf_none printf) 50 message(FATAL_ERROR "printf implementation must be set on executable not library")
|
D | BUILD.bazel | 16 srcs = ["printf.c"], 17 hdrs = ["include/pico/printf.h"], 35 hdrs = ["include/pico/printf.h"], 47 hdrs = ["include/pico/printf.h"],
|
D | printf_none.S | 17 weak_wrapper_func printf
|
/hal_rpi_pico-latest/src/rp2_common/pico_printf/include/pico/ |
D | printf.h | 68 #define weak_raw_printf(...) ({printf(__VA_ARGS__); true;}) 84 #define weak_raw_printf(...) ({printf(__VA_ARGS__); true;})
|
/hal_rpi_pico-latest/test/pico_divider_test/ |
D | pico_divider_nesting_test.c | 238 printf("%d: %d %d %d\n", count_local, (int)count[0], (int)count[1], (int)count[2]); in test_nesting() 239 printf("%d\n", z); in test_nesting() 242 printf("DID NOT RUN\n"); in test_nesting() 246 printf("FAILED\n"); in test_nesting() 258 printf("PASSED\n"); in main()
|
D | pico_divider_test.c | 285 printf(" S32 %d %f\t%f\n", bit, tc / 1000.0, tp / 1000.0); in perf_test() 301 printf(" U32 %d %f\t%f\n", bit, tc / 1000.0, tp / 1000.0); in perf_test() 319 printf(" S64 %d %d %f\t%f\n", extra, bit, tc / 1000.0, tp / 1000.0); in perf_test() 335 printf(" U64 %d %d %f\t%f\n", extra, bit, tc / 1000.0, tp / 1000.0); in perf_test()
|
/hal_rpi_pico-latest/test/pico_time_test/ |
D | pico_time_test.c | 120 printf("Sleeping...\n"); in main() 122 printf(" ...done\n"); in main() 128 …printf("%d %d %"PRIi64" : %"PRIi64"\n", timeouts[i].pool, timeouts[i].fired_count, to_us_since_boo… in main() 146 printf("MAX JITTER: %dus\n", (uint)max_jitter); in main() 185 printf("approx past timeouts %d/%d\n", approx_past_timeouts, NUM_TIMEOUTS); in main() 188 …printf("%d %d %d/%d/%d %"PRIi64" : %"PRIi64"\n", timeouts[i].pool, (int)timeouts[i].alarm_id, time… in main() 272 printf("Timer fires approx_expected=%d actual=%d\n", expected_count, issue_195_counter); in issue_195_test()
|
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_driver/cybt_shared_bus/ |
D | cybt_shared_bus.c | 38 #define cybt_debug(format,args...) printf("%d.%d: " format, (int)cyw43_hal_ticks_ms() / 1000, (int)… 42 #define cybt_printf(format, args...) printf("%d.%d: " format, (int)cyw43_hal_ticks_ms() / 1000, (in… 187 printf("\n "); in dump_bytes() 189 printf("0x%02x", bptr[i]); in dump_bytes() 191 printf(", "); in dump_bytes() 195 printf("\n"); in dump_bytes()
|
/hal_rpi_pico-latest/src/rp2_common/pico_runtime/ |
D | CMakeLists.txt | 59 # PRINTF - full printf support 60 # PRINTF_MINIMAL - printf support without the following 61 # PRINTF_FLOAT - to control float support if printf is enabled 69 # AUTO_INIT_MUTEX - auto init mutexes; without this you get no printf mutex either …
|
/hal_rpi_pico-latest/src/rp2_common/pico_cyw43_driver/ |
D | cyw43_bus_pio_spi.c | 217 printf("\n"); in dump_bytes() 219 printf(" "); in dump_bytes() 221 printf("%02x ", bptr[i++]); in dump_bytes() 223 printf("\n"); in dump_bytes() 242 printf("[%lu] bus TX/RX %u bytes rx %u:", counter++, tx_length, rx_length); in cyw43_spi_transfer() 287 printf("[%lu] bus TX only %u bytes:", counter++, tx_length); in cyw43_spi_transfer() 322 printf("[%lu] bus TX %u bytes:", counter++, rx_length); in cyw43_spi_transfer() 331 printf("RXed:"); in cyw43_spi_transfer() 333 printf("\n"); in cyw43_spi_transfer()
|
/hal_rpi_pico-latest/src/common/pico_util/ |
D | pheap.c | 126 printf("%d (c=%d s=%d p=%d) ", id, node->child, node->sibling, node->parent); in ph_dump_node() 128 printf("\n"); in ph_dump_node() 137 printf("node_count %d\n", count); in ph_dump()
|
/hal_rpi_pico-latest/src/rp2_common/pico_stdio/ |
D | stdio.c | 346 int __printflike(1, 0) PRIMARY_STDIO_FUNC(printf)(const char* format, ...) in PRIMARY_STDIO_FUNC() argument 361 …, 0) stdio_printf(const char* format, ...) __attribute__((alias(__XSTRING(WRAPPER_FUNC(printf))))); 368 int __printflike(1, 0) REAL_FUNC(printf)(const char* format, ...); 382 int __printflike(1, 0) WRAPPER_FUNC(printf)(const char* format, ...) { in WRAPPER_FUNC() argument
|
/hal_rpi_pico-latest/src/rp2_common/pico_platform_panic/ |
D | panic.c | 16 #define weak_raw_printf printf
|