Home
last modified time | relevance | path

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

123456

/hal_espressif-latest/components/log/include/
Desp_log.h136 …_write(esp_log_level_t level, const char* tag, const char* format, ...) __attribute__ ((format (pr…
145 void esp_log_writev(esp_log_level_t level, const char* tag, const char* format, va_list args);
282 #define LOG_FORMAT(letter, format) LOG_COLOR_ ## letter #letter " (%" PRIu32 ") %s: " format LOG_R… argument
283 #define LOG_SYSTEM_TIME_FORMAT(letter, format) LOG_COLOR_ ## letter #letter " (%s) %s: " format LO… argument
298 #define ESP_EARLY_LOGE( tag, format, ... ) ESP_LOG_EARLY_IMPL(tag, format, ESP_LOG_ERROR, E __VA_… argument
300 #define ESP_EARLY_LOGW( tag, format, ... ) ESP_LOG_EARLY_IMPL(tag, format, ESP_LOG_WARN, W __VA_… argument
302 #define ESP_EARLY_LOGI( tag, format, ... ) ESP_LOG_EARLY_IMPL(tag, format, ESP_LOG_INFO, I __VA_… argument
304 #define ESP_EARLY_LOGD( tag, format, ... ) ESP_LOG_EARLY_IMPL(tag, format, ESP_LOG_DEBUG, D __VA_… argument
306 #define ESP_EARLY_LOGV( tag, format, ... ) ESP_LOG_EARLY_IMPL(tag, format, ESP_LOG_VERBOSE, V __VA_… argument
308 #define ESP_EARLY_LOGE( tag, format, ... ) ESP_LOG_EARLY_IMPL(tag, format, ESP_LOG_ERROR, E, ##__… argument
[all …]
/hal_espressif-latest/components/esp_phy/src/
Dlib_printf.c26 static int lib_printf(const char* tag, const char* format, va_list arg) in lib_printf() argument
29 int len = vsnprintf(temp, sizeof(temp) - 1, format, arg); in lib_printf()
45 int phy_printf(const char* format, ...) in phy_printf() argument
48 va_start(arg, format); in phy_printf()
49 int res = lib_printf("phy", format, arg); in phy_printf()
55 int rtc_printf(const char* format, ...) in rtc_printf() argument
58 va_start(arg, format); in rtc_printf()
59 int res = lib_printf("rtc", format, arg); in rtc_printf()
64 int wpa_printf(const char* format, ...) in wpa_printf() argument
67 va_start(arg, format); in wpa_printf()
[all …]
/hal_espressif-latest/components/esp_common/include/
Desp_check.h19 #define ESP_RETURN_ON_ERROR(x, log_tag, format, ...) do { \ argument
30 #define ESP_RETURN_ON_ERROR_ISR(x, log_tag, format, ...) do { \ argument
42 #define ESP_GOTO_ON_ERROR(x, goto_tag, log_tag, format, ...) do { \ argument
54 #define ESP_GOTO_ON_ERROR_ISR(x, goto_tag, log_tag, format, ...) do { \ argument
67 #define ESP_RETURN_ON_FALSE(a, err_code, log_tag, format, ...) do { \ argument
77 #define ESP_RETURN_ON_FALSE_ISR(a, err_code, log_tag, format, ...) do { \ argument
88 #define ESP_GOTO_ON_FALSE(a, err_code, goto_tag, log_tag, format, ...) do { \ argument
99 #define ESP_GOTO_ON_FALSE_ISR(a, err_code, goto_tag, log_tag, format, ...) do { \ argument
121 #define ESP_RETURN_ON_ERROR(x, log_tag, format, ...) do { …
124 … ESP_LOGE(log_tag, "%s(%d): " format, __FUNCTION__, __LINE__ __VA_OPT__(,) __VA_ARGS__); \
[all …]
/hal_espressif-latest/components/esp_hw_support/include/
Desp_wake_stub.h18 #define RTC_LOG_FORMAT(letter, format) LOG_COLOR_ ## letter format LOG_RESET_COLOR "\n" argument
20 #define ESP_RTC_LOG( level, format, ... ) if (LOG_LOCAL_LEVEL >= level) { esp_rom_printf(RTC_STR(f… argument
23 #define ESP_RTC_LOGE( format, ... ) ESP_RTC_LOG(ESP_LOG_ERROR, RTC_LOG_FORMAT(E, format), ##__VA_A… argument
24 #define ESP_RTC_LOGW( format, ... ) ESP_RTC_LOG(ESP_LOG_WARN, RTC_LOG_FORMAT(W, format), ##__VA_AR… argument
25 #define ESP_RTC_LOGI( format, ... ) ESP_RTC_LOG(ESP_LOG_INFO, RTC_LOG_FORMAT(I, format), ##__VA_AR… argument
26 #define ESP_RTC_LOGD( format, ... ) ESP_RTC_LOG(ESP_LOG_DEBUG, RTC_LOG_FORMAT(D, format), ##__VA_A… argument
27 #define ESP_RTC_LOGV( format, ... ) ESP_RTC_LOG(ESP_LOG_VERBOSE, RTC_LOG_FORMAT(V, format), ##__VA… argument
/hal_espressif-latest/components/spi_flash/sim/stubs/log/include/
Desp_log.h47 …_write(esp_log_level_t level, const char* tag, const char* format, ...) __attribute__ ((format (pr…
49 #define LOG_FORMAT(letter, format) LOG_COLOR_ ## letter #letter " (%d) %s: " format LOG_RESET_COLO… argument
51 …fine ESP_LOGE( tag, format, ... ) if (LOG_LOCAL_LEVEL >= ESP_LOG_ERROR) { esp_log_write(ESP_LOG… argument
53 …fine ESP_LOGW( tag, format, ... ) if (LOG_LOCAL_LEVEL >= ESP_LOG_WARN) { esp_log_write(ESP_LOG… argument
55 …fine ESP_LOGI( tag, format, ... ) if (LOG_LOCAL_LEVEL >= ESP_LOG_INFO) { esp_log_write(ESP_LOG… argument
57 …fine ESP_LOGD( tag, format, ... ) if (LOG_LOCAL_LEVEL >= ESP_LOG_DEBUG) { esp_log_write(ESP_LOG… argument
59 …fine ESP_LOGV( tag, format, ... ) if (LOG_LOCAL_LEVEL >= ESP_LOG_VERBOSE) { esp_log_write(ESP_LOG… argument
/hal_espressif-latest/tools/esptool_py/flasher_stub/
Dcompare_stubs.py29 output += " Data start: New {:#x}, old {:#x} \n".format(
33 output += " Text start: New {:#x}, old {:#x} \n".format(
37 output += " Entrypoint: New {:#x}, old {:#x} \n".format(new.entry, old.entry)
44 output += " Data byte {:#x}: new {:#04x} old {:#04x} \n".format(
48 output += " Data length: New {} bytes, old {} bytes \n".format(
57 output += " Text byte {:#x}: new {:#04x} old {:#04x} \n".format(
61 output += " Text length: New {} bytes, old {} bytes \n".format(
70 print("Comparing {} stub: ".format(chip), end="")
78 old = os.path.join(THIS_SCRIPT_DIR, STUB_DIR, JSON_NAME.format(chip))
79 new = os.path.join(THIS_SCRIPT_DIR, BUILD_DIR, JSON_NAME.format(chip))
[all …]
/hal_espressif-latest/tools/idf_monitor/idf_monitor_base/
Dweb_socket_client.py62 red_print('WebSocket connection error: {}'.format(e))
74 red_print('WebSocket close error: {}'.format(e))
83 yellow_print('WebSocket sent: {}'.format(payload_dict))
86 red_print('WebSocket send error: {}'.format(e))
100 red_print('WebSocket receive error: {}'.format(e))
105 yellow_print('WebSocket received: {}'.format(obj))
107 red_print('WebSocket expected: {}, received: {}'.format(dict(expect_iterable), obj))
Dlogger.py75 name = 'log.{}.{}.txt'.format(os.path.splitext(os.path.basename(self.elf_file))[0],
79 yellow_print('\nLogging is enabled into file {}'.format(name))
81 red_print('\nLog file {} cannot be created: {}'.format(name, e))
88 yellow_print('\nLogging is disabled and file {} has been closed'.format(name))
90 red_print('\nLog file cannot be closed: {}'.format(e))
117 red_print('\nCannot write to file: {}'.format(e))
123 …ellow_print('\nToggle output display: {}, Type Ctrl-T Ctrl-Y to show/disable output again.'.format(
Dconsole_parser.py22 red_print('--- {}'.format(reason))
92 red_print('--- unknown menu character {} --'.format(key_description(c)))
115 """.format(version=__version__,
134 """.format(key_description(self.exit_key),
Dgdbhelper.py116 .format(python=sys.executable,
125 yellow_print('Failed to run gdb_panic_server.py script: {}\n{}\n\n'.format(e, e.output))
132 yellow_print('Couldn\'t remove temporary panic output file ({})'.format(e))
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_common/include/
Dmesh_trace.h64 #define BLE_MESH_PRINT_E(tag, format, ...) {esp_log_write(ESP_LOG_ERROR, tag, LOG_FORMAT(E, form… argument
65 #define BLE_MESH_PRINT_W(tag, format, ...) {esp_log_write(ESP_LOG_WARN, tag, LOG_FORMAT(W, form… argument
66 #define BLE_MESH_PRINT_I(tag, format, ...) {esp_log_write(ESP_LOG_INFO, tag, LOG_FORMAT(I, form… argument
67 #define BLE_MESH_PRINT_D(tag, format, ...) {esp_log_write(ESP_LOG_DEBUG, tag, LOG_FORMAT(D, form… argument
68 #define BLE_MESH_PRINT_V(tag, format, ...) {esp_log_write(ESP_LOG_VERBOSE, tag, LOG_FORMAT(V, form… argument
/hal_espressif-latest/components/spi_flash/sim/stubs/log/
Dlog.c18 const char *format, ...) in esp_log_write() argument
21 va_start(arg, format); in esp_log_write()
22 vprintf(format, arg); in esp_log_write()
/hal_espressif-latest/tools/esptool_py/esptool/
Dcmds.py522 "{:#x} bytes before this address will be erased.".format(
528 "Flash will be erased from {:#010x} to {:#010x}...".format(
774 title = "{} image header".format(args.chip.upper())
777 print("Image version: {}".format(image.version))
779 "Entry point: {:#8x}".format(image.entrypoint)
784 print("Segments: {}".format(len(image.segments)))
790 "Flash size: {}".format(flash_s)
792 else "WARNING: Invalid flash size ({:#02x})".format(flash_s_bits)
799 "Flash freq: {}".format(flash_fr)
801 else "WARNING: Invalid flash frequency ({:#02x})".format(flash_fr_bits)
[all …]
/hal_espressif-latest/tools/
Desp_bin2c_array.py10 out.append('const unsigned char {var_name}[] = {{'.format(var_name=var_name))
13 line = ', '.join([ '0x{val:02x}'.format(val=c) for c in x ])
14 out.append(' {line}{end_comma}'.format(line=line, end_comma=',' if i<len(l)-1 else ''))
16 …out.append('const unsigned int {var_name}_size = {data_len};'.format(var_name=var_name, data_len=l…
/hal_espressif-latest/components/bt/common/include/
Dbt_common.h134 #define BT_PRINT_E(tag, format, ...) {esp_log_write(ESP_LOG_ERROR, tag, LOG_FORMAT(E, format), … argument
135 #define BT_PRINT_W(tag, format, ...) {esp_log_write(ESP_LOG_WARN, tag, LOG_FORMAT(W, format), … argument
136 #define BT_PRINT_I(tag, format, ...) {esp_log_write(ESP_LOG_INFO, tag, LOG_FORMAT(I, format), … argument
137 #define BT_PRINT_D(tag, format, ...) {esp_log_write(ESP_LOG_DEBUG, tag, LOG_FORMAT(D, format), … argument
138 #define BT_PRINT_V(tag, format, ...) {esp_log_write(ESP_LOG_VERBOSE, tag, LOG_FORMAT(V, format), … argument
/hal_espressif-latest/tools/esptool_py/docs/en/espefuse/
Dsummary-cmd.rst6 … command reads the eFuses from the chip and outputs them in text or json format. It is also possib…
10 - ``--format`` - Select the summary format:
11 - ``summary`` - text format (default option).
12 - ``json`` - json format. Usage ``--format json``.
20 The text format of summary consists of 3 main columns:
59 > espefuse.py summary --format json
110 > espefuse.py summary --format json --file efuses.json
139format value_only`` is specified, only the value of the eFuse specified as an argument will be dis…
143 > espefuse.py summary --format value_only MAC
/hal_espressif-latest/components/bt/host/bluedroid/external/sbc/decoder/include/
Doi_utils.h209 void OI_Printf(const OI_CHAR *format, ...);
219 void OI_VPrintf(const OI_CHAR *format, va_list argp);
236 const OI_CHAR *format, ...);
254 const OI_CHAR *format, va_list argp);
/hal_espressif-latest/tools/esptool_py/espefuse/efuse/
Dbase_fields.py30 "(will always burn 0->1), given value={}".format(
49 "New value required for efuse '{}' (given None)".format(
57 "(given value= {})".format(efuse.name, new_value)
62 "New value required for efuse '{}' (given None)".format(
69 "(given len of the new value= {} bits)".format(
75 "The '{}' type for the '{}' efuse is not supported yet.".format(
146 error_msg = "\t{} is read-protected.".format(self.name)
151 error_msg = "\t{} is write-protected. Burn is not possible.".format(
261 print("[{:02}] {:20} nothing to burn".format(self.id, self.name))
272 "[{:02}] {:20} is empty, will burn the new value".format(
[all …]
Dbase_operations.py37 "Available the efuse names: {}".format(
46 "The list does not have a valid pair (name value) {}".format(
70 "[{}].".format(", ".join([e.name for e in efuses.efuses])),
271 human_output = args.format in ["summary", "value_only"]
272 value_only = args.format == "value_only"
302 raw = "({})".format(e.get_bitstring())
351 elif args.format == "json" and (
386 elif args.format == "json":
404 if args.format == "default":
412 args.format = "split"
[all …]
/hal_espressif-latest/tools/esptool_py/esp_rfc2217_server/
D__init__.py83 logging.error(" Could not open serial port {}: {}".format(ser.name, e))
86 logging.info(" Serving serial port: {}".format(ser.name))
93 logging.info(" TCP/IP port: {}".format(args.localport))
97 logging.info("Connected by {}:{}".format(addr[0], addr[1]))
/hal_espressif-latest/components/log/
Dlog.c186 const char *format, in esp_log_writev() argument
197 (*s_log_print_func)(format, args); in esp_log_writev()
203 const char *format, ...) in esp_log_write() argument
206 va_start(list, format); in esp_log_write()
207 esp_log_writev(level, tag, format, list); in esp_log_write()
/hal_espressif-latest/zephyr/scripts/blobs/
Desp_genblobs.py50 print("Cloning into {}".format(folder))
52 print("Checking out revision {} at {}".format(git_rev, folder))
93 file_out += blob_item.format(SOC=s,
/hal_espressif-latest/components/heap/
Dmulti_heap_platform.h45 inline static void multi_heap_assert(bool condition, const char *format, int line, intptr_t address) in multi_heap_assert() argument
54 esp_rom_printf(format, line, address); in multi_heap_assert()
/hal_espressif-latest/tools/esptool_py/espefuse/efuse/esp32c2/
Doperations.py145 print("Custom MAC Address: {}".format(efuses["CUSTOM_MAC"].get()))
156 print("Temperature Sensor Calibration = {}C".format(efuses["TEMP_CALIB"].get()))
164 print("BLK_VERSION_MINOR = {}".format(efuses["BLK_VERSION_MINOR"].get_meaning()))
241 "-> [{}]".format(
316 raise esptool.FatalError('"{}" - incorrect command'.format(command))
/hal_espressif-latest/components/log/host_test/log_test/main/
Dlog_test.cpp72 static int print_callback(const char *format, va_list args) in print_callback()
74 return instance->print_to_buffer(format, args); in print_callback()
77 int print_to_buffer(const char *format, va_list args) in print_to_buffer()
79 int ret = vsnprintf(print_buffer, BUFFER_SIZE, format, args); in print_to_buffer()

123456