Searched refs:InputError (Results 1 – 12 of 12) sorted by relevance
/hal_espressif-3.5.0/components/partition_table/ |
D | gen_esp32part.py | 151 raise InputError("unknown variable '%s'" % m.group(1)) 160 except InputError as err: 161 raise InputError('Error at line %d: %s' % (line_no + 1, err)) 171 … raise InputError('CSV Error: First partition offset 0x%x overlaps end of partition table 0x%x' 174 …raise InputError('CSV Error: Partitions overlap. Partition at line %d sets offset 0x%x. Previous p… 231 raise InputError('Partition names must be unique') 237 …raise InputError('Partition offset 0x%x is below 0x%x' % (p.offset, offset_part_table + PARTITION_… 239 …raise InputError('Partition at 0x%x overlaps 0x%x-0x%x' % (p.offset, last.offset, last.offset + la… 247 …raise InputError('Found multiple otadata partitions. Only one partition can be defined with type="… 252 raise InputError('otadata partition must have size = 0x2000') [all …]
|
D | gen_empty_partition.py | 53 class InputError(RuntimeError): class 55 super(InputError, self).__init__(e) 62 except InputError as e:
|
D | parttool.py | 359 except gen.InputError as e:
|
/hal_espressif-3.5.0/components/efuse/ |
D | efuse_table_gen.py | 62 raise InputError("unknown variable '%s'" % (m.group(1))) 71 except InputError as e: 72 raise InputError('Error at line %d: %s' % (line_no + 1, e)) 93 raise InputError('Error at line %d: %s missing field name' % (line_no + 1, i)) 134 raise InputError('Field names must be unique') 148 raise InputError('%s is not found' % name) 167 raise InputError('Field at %s, %s, %s, %s %s %s, %s, %s, %s' % 368 raise InputError("Field bit_count can't be empty") 388 raise InputError('Invalid field value %s' % v) 392 raise InputError("Field 'efuse_block' can't be left empty.") [all …]
|
/hal_espressif-3.5.0/components/efuse/test_efuse_host/ |
D | efuse_tests.py | 123 with self.assertRaisesRegex(efuse_table_gen.InputError, 'Field names must be unique'): 160 with self.assertRaisesRegex(efuse_table_gen.InputError, 'intersected with'): 169 with self.assertRaisesRegex(efuse_table_gen.InputError, 'missing field name'): 178 with self.assertRaisesRegex(efuse_table_gen.InputError, 'Field names must be unique'): 187 with self.assertRaisesRegex(efuse_table_gen.InputError, 'empty'): 196 with self.assertRaisesRegex(efuse_table_gen.InputError, 'Invalid field value'): 242 …with self.assertRaisesRegex(efuse_table_gen.InputError, "'efuse_block' should be one of EFUSE_BLK0… 263 … with self.assertRaisesRegex(efuse_table_gen.InputError, 'The field is outside the boundaries'): 273 … with self.assertRaisesRegex(efuse_table_gen.InputError, 'The field is outside the boundaries'): 329 with self.assertRaisesRegex(efuse_table_gen.InputError, 'intersected with'): [all …]
|
/hal_espressif-3.5.0/tools/ci/ |
D | check_kconfigs.py | 66 class InputError(RuntimeError): class 71 super(InputError, self).__init__('{}:{}: {}'.format(path, line_number, error_msg)) 96 … raise InputError(self.path_in_idf, line_number, '"source" has to been followed by space', 103 …raise InputError(self.path_in_idf, line_number, 'only filenames starting with Kconfig.* can be sou… 119 e = InputError(self.path_in_idf, line_number, rule[1], line) 126 raise InputError(self.path_in_idf, line_number, '; '.join(errors), line) 259 raise InputError(self.path_in_idf, line_number, 286 raise InputError(self.path_in_idf, line_number, 302 raise InputError(self.path_in_idf, line_number, 327 raise InputError(self.path_in_idf, line_number, [all …]
|
D | test_check_kconfigs.py | 19 from check_kconfigs import CONFIG_NAME_MAX_LENGTH, IndentAndNameChecker, InputError, LineRuleChecke… 28 with self.assertRaises(InputError) as cm:
|
/hal_espressif-3.5.0/components/mbedtls/esp_crt_bundle/ |
D | gen_crt_bundle.py | 78 raise InputError('No valid x509 certificates found in %s' % crts_path) 98 raise InputError('Invalid certificate') 122 raise InputError('No certificate found') 181 class InputError(RuntimeError): class 183 super(InputError, self).__init__(e) 212 raise InputError('Invalid --input=%s, is neither file nor folder' % args.input) 225 except InputError as e:
|
/hal_espressif-3.5.0/components/partition_table/test_gen_esp32part_host/ |
D | gen_esp32part_tests.py | 80 with self.assertRaisesRegex(gen_esp32part.InputError, 'type'): 170 with self.assertRaisesRegex(gen_esp32part.InputError, 'overlap'): 179 with self.assertRaisesRegex(gen_esp32part.InputError, 'Partition names must be unique'): 296 with self.assertRaisesRegex(gen_esp32part.InputError, 'Invalid magic bytes'): 304 with self.assertRaisesRegex(gen_esp32part.InputError, '32 bytes'): 409 with self.assertRaisesRegex(gen_esp32part.InputError, r'Found multiple otadata partitions'): 422 …with self.assertRaisesRegex(gen_esp32part.InputError, r'otadata partition must have size = 0x2000'… 435 …with self.assertRaisesRegex(gen_esp32part.InputError, r'App partition cannot have an empty subtype…
|
/hal_espressif-3.5.0/tools/ |
D | gen_esp_err_to_name.py | 114 class InputError(RuntimeError): class 119 super(InputError, self).__init__(p + ': ' + e) 129 raise InputError(idf_path, 'This line should be in a header file: %s' % line) 135 raise InputError(idf_path, 'Error at line %s' % line) 172 raise InputError(idf_path, 'Cannot parse line %s' % line) 358 except InputError as e:
|
/hal_espressif-3.5.0/components/mbedtls/esp_crt_bundle/test_gen_crt_bundle/ |
D | test_gen_crt_bundle.py | 70 with self.assertRaisesRegex(gen_crt_bundle.InputError, 'Invalid certificate'): 73 with self.assertRaisesRegex(gen_crt_bundle.InputError, 'No certificate found'):
|
/hal_espressif-3.5.0/components/nvs_flash/nvs_partition_generator/ |
D | nvs_partition_gen.py | 365 … raise InputError(' Input File: Size (%d) exceeds max allowed length `%s` bytes for key `%s`.' 369 … raise InputError(' Input File: Size (%d) exceeds max allowed length `%s` bytes for key `%s`.' 553 raise InputError('%s: Invalid data length. Should be multiple of 2.' % key) 581 raise InputError('%s: Unsupported encoding' % encoding) 600 class InputError(RuntimeError): class 606 super(InputError, self).__init__(e) 945 … raise InputError('Length of key `{}` should be <= 15 characters.'.format(data['key'])) 947 except InputError as e:
|