Home
last modified time | relevance | path

Searched refs:format (Results 1 – 20 of 20) sorted by relevance

/hal_rpi_pico-3.4.0/src/rp2_common/pico_printf/
Dprintf.c127 …zy_vsnprintf)(out_fct_type out, char *buffer, const size_t maxlen, const char *format, va_list va);
581 static int _vsnprintf(out_fct_type out, char *buffer, const size_t maxlen, const char *format, va_l… in _vsnprintf() argument
593 while (*format) { in _vsnprintf()
595 if (*format != '%') { in _vsnprintf()
597 out(*format, buffer, idx++, maxlen); in _vsnprintf()
598 format++; in _vsnprintf()
602 format++; in _vsnprintf()
608 switch (*format) { in _vsnprintf()
611 format++; in _vsnprintf()
616 format++; in _vsnprintf()
[all …]
/hal_rpi_pico-3.4.0/src/rp2_common/boot_stage2/
Dpad_checksum13 raise argparse.ArgumentTypeError("expected an integer, not '{!r}'".format(x))
17 return int("{:0{w}b}".format(x, w=width)[::-1], 2)
32 sys.exit("Could not open input file '{}'".format(args.ifile))
35 …sys.exit("Input file size ({} bytes) too large for final size ({} bytes)".format(len(idata), args.…
47 ofile.write("// Padded and checksummed version of: {}\n\n".format(args.ifile))
53 ofile.write(".byte {}\n".format(", ".join("0x{:02x}".format(b) for b in chunk)))
55 sys.exit("Could not open output file '{}'".format(args.ofile))
/hal_rpi_pico-3.4.0/src/rp2_common/hardware_clocks/scripts/
Dvcocalc.py40 print("Requested: {} MHz".format(args.output))
41 print("Achieved: {} MHz".format(best[0]))
42 print("REFDIV: {}".format(best[4]))
43 print("FBDIV: {} (VCO = {} MHz)".format(best[1], args.input / best[4] * best[1]))
44 print("PD1: {}".format(best[2]))
45 print("PD2: {}".format(best[3]))
/hal_rpi_pico-3.4.0/tools/
Dextract_configs.py75 …raise Exception('{} at {}:{} has min {} > max {}'.format(config_name, file_path, linenum, config_a…
78 …raise Exception('{} at {}:{} has min {} > default {}'.format(config_name, file_path, linenum, conf…
81 …raise Exception('{} at {}:{} has default {} > max {}'.format(config_name, file_path, linenum, conf…
92 …logger.info('{} at {}:{} has non-integer default value "{}"'.format(config_name, file_path, linenu…
106 …'{} at {}:{} has default value {} which isn\'t in list of enumvalues {}'.format(config_name, file_…
108 … raise Exception("Found unknown PICO_CONFIG type {} at {}:{}".format(_type, file_path, linenum))
135 …e description was set to '{}' - has the description field been omitted?".format(config_name, file_…
137 …ception("Found description {} at {}:{} but it was already used at {}:{}".format(config_description…
151 …raise Exception('{} at {}:{} has malformed value {}'.format(config_name, file_path, linenum, item))
158 … raise Exception('{} at {}:{} has no group attribute'.format(config_name, file_path, linenum))
[all …]
Dcheck_doxygen_groups.py33 print("{} uses \\defgroup {} but so does {}".format(groups[group], group, filename))
47 print("{} uses \\ingroup {} which was never defined".format(filename, group))
DCMakeLists.txt12 # PICO_CMAKE_CONFIG: PICO_DEFAULT_PIOASM_OUTPUT_FORMAT, default output format used by pioasm when u…
/hal_rpi_pico-3.4.0/.github/workflows/scripts/
Dgenerate_multi_gcc_workflow.py27 …raise Exception("Already have version {} in versions current path {}, this path {}".format(version…
71 output += " - name: GCC {} {}\n".format(gcc_version, build_type)
74 …-DPICO_BOARD=pico_w; make -j ${{{{steps.core_count.outputs.output}}}}\n".format(build_type, toolch…
/hal_rpi_pico-3.4.0/tools/pioasm/
Dmain.cpp32 std::string format(DEFAULT_OUTPUT_FORMAT); in main() local
41 format = argv[i]; in main()
84 return f->name == format; in main()
87 std::cerr << "error: unknown output format '" << format << "'" << std::endl; in main()
Dpio_assembler.h32 std::shared_ptr<output_format> format; member
Dpio_assembler.cpp25 format = _format; in generate()
381 return format->output(dest, options, source); in write_output()
Dparser.yy174 …| LANG_OPT error { error(@$, "expected format is .lang_opt language option_name…
/hal_rpi_pico-3.4.0/src/rp2_common/pico_stdio/
Dstdio.c247 int WRAPPER_FUNC(vprintf)(const char *format, va_list va) { in WRAPPER_FUNC()
258 ret = vfctprintf(stdio_buffered_printer, &buffer, format, va); in WRAPPER_FUNC()
265 extern int REAL_FUNC(vprintf)(const char *format, va_list va); in WRAPPER_FUNC()
266 ret = REAL_FUNC(vprintf)(format, va); in WRAPPER_FUNC()
274 int __printflike(1, 0) WRAPPER_FUNC(printf)(const char* format, ...) in WRAPPER_FUNC()
277 va_start(va, format); in WRAPPER_FUNC()
278 int ret = vprintf(format, va); in WRAPPER_FUNC()
/hal_rpi_pico-3.4.0/src/rp2_common/pico_cyw43_driver/cybt_shared_bus/
Dcybt_shared_bus.c38 #define cybt_debug(format,args...) printf("%d.%d: " format, (int)cyw43_hal_ticks_ms() / 1000, (int)… argument
40 #define cybt_debug(format, ...) ((void)0) argument
42 #define cybt_printf(format, args...) printf("%d.%d: " format, (int)cyw43_hal_ticks_ms() / 1000, (in… argument
Dcybt_shared_bus_driver.c27 #define cybt_printf(format, args ...) printf(format,##args) argument
38 #define cybt_debug(format, args ...) printf(format,##args) argument
40 #define cybt_debug(format, ...) ((void)0) argument
/hal_rpi_pico-3.4.0/src/rp2_common/pico_printf/include/pico/
Dprintf.h80 int vfctprintf(void (*out)(char character, void *arg), void *arg, const char *format, va_list va);
/hal_rpi_pico-3.4.0/src/rp2_common/pico_btstack/
Dbtstack_flash_bank.c21 #define DEBUG_PRINT(format,args...) printf(format, ## args)
DCMakeLists.txt303 COMPILE_OPTIONS "-Wno-suggest-attribute=format"
309 COMPILE_OPTIONS "-Wno-cast-qual;-Wno-format"
314 COMPILE_OPTIONS "-Wno-sign-compare;-Wno-format"
/hal_rpi_pico-3.4.0/tools/elf2uf2/
Dmain.cpp30 static int fail(int code, const char *format, ...) { in fail() argument
32 va_start(args, format); in fail()
33 vsnprintf(error_msg, sizeof(error_msg), format, args); in fail()
/hal_rpi_pico-3.4.0/test/kitchen_sink/
DCMakeLists.txt62 -Wmissing-format-attribute
/hal_rpi_pico-3.4.0/src/rp2_common/cmsis/stub/CMSIS/
DLICENSE.txt184 comment syntax for the file format. We also recommend that a