Searched refs:hex (Results 1 – 17 of 17) sorted by relevance
/mcuboot-latest/ext/tinycrypt/tests/ |
D | test_ecc_utils.c | 70 int hex2int (char hex) in hex2int() argument 74 if ('0' <= hex && hex <= '9') dec = hex - '0'; in hex2int() 75 else if ('a' <= hex && hex <= 'f') dec = hex - 'a' + 10; in hex2int() 76 else if ('A' <= hex && hex <= 'F') dec = hex - 'A' + 10; in hex2int() 86 int hex2bin(uint8_t *buf, const size_t buflen, const char *hex, in hex2bin() argument 100 dec = hex2int(hex[0]); in hex2bin() 105 hex++; in hex2bin() 111 dec = hex2int(hex[2 * i]); in hex2bin() 118 dec = hex2int(hex[ 2 * i + 1]); in hex2bin()
|
/mcuboot-latest/sim/simflash/src/ |
D | pdump.rs | 13 hex: String, field 22 hex: String::with_capacity(49), in new() 34 self.hex.push(' '); in add_byte() 36 self.hex.push_str(&format!(" {:02x}", ch)[..]); in add_byte() 50 println!("{:06x} {:-49} |{}|", self.total_count, self.hex, self.ascii); in ship() 52 self.hex.clear(); in ship()
|
/mcuboot-latest/scripts/imgtool/ |
D | dumpinfo.py | 54 return "(len: {}, if BOOT_SWAP_SAVE_ENCTLV is unset)".format(hex(key_field_len)) 107 tlv_type, TLV_TYPES[tlv[tlv_type]], hex(tlv[tlv_type]))) 110 tlv_type, "UNKNOWN", hex(tlv[tlv_type]))) 111 print(" " * indent, "{}: ".format(tlv_length), hex(tlv[tlv_length])) 264 flag_string = hex(value) 272 flag, hex(image.IMAGE_F[flag])) 276 value = hex(value) 282 frame_header_text = "Payload (offset: {})".format(hex(_sectionoff)) 283 frame_content = "FW image (size: {} Bytes)".format(hex(header["img_size"])) 290 section_name = "Protected TLV area (offset: {})".format(hex(_sectionoff)) [all …]
|
D | main.py | 234 print("Image digest: {}".format(digest.hex())) 236 print("Image signature over image: {}".format(signature.hex())) 489 raise click.UsageError('Custom TLV %s already exists.' % hex(tag)) 492 'Custom TLV %s conflicts with predefined TLV.' % hex(tag))
|
/mcuboot-latest/ext/tinycrypt/tests/include/ |
D | test_ecc_utils.h | 65 int hex2int (char hex); 72 int hex2bin(uint8_t *buf, const size_t buflen, const char *hex,
|
/mcuboot-latest/boot/cypress/BlinkyApp/ |
D | BlinkyApp.mk | 129 post_build: $(OUT_CFG)/$(APP_NAME).hex 131 mv -f $(OUT_CFG)/$(APP_NAME).hex $(OUT_CFG)/$(APP_NAME)_unsigned.hex 132 …L_PATH) $(SIGN_ARGS) $(OUT_CFG)/$(APP_NAME)_unsigned.hex $(OUT_CFG)/$(APP_NAME)$(UPGRADE_SUFFIX).h…
|
D | Readme.md | 120 Use any preferred tool for programming hex files. 126 …th `MCUBootApp` produces files with name BlinkyApp.hex in `boot` directory and `BlinkyApp_upgrade.… 128 `BlinkyApp_unsigned.hex` hex file is also preserved in both cases for possible troubleshooting. 132 `BOOT` - boot/BlinkyApp.hex 133 `UPGRADE` - upgrade/BlinkyApp_upgrade.hex 138 - `HEADER_OFFSET` - 0 (default) - no offset of output hex file, 0x%VALUE% - offset for output hex f…
|
/mcuboot-latest/scripts/ |
D | mcubin.bt | 58 uint32 magic <format=hex>; 59 uint32 load_addr <format=hex>; 60 uint16 hdr_size <format=hex>; 61 uint16 protect_size <format=hex>; 62 uint32 img_size <format=hex>; 74 uchar type <format=hex>;
|
/mcuboot-latest/boot/mbed/ |
D | mcuboot_imgtool.cmake | 50 # Generate a signed image hex file for the given executable target. 61 # mbed_generate_bin_hex() puts the hex file at the following path 62 set(TARGET_HEX_FILE ${CMAKE_CURRENT_BINARY_DIR}/$<TARGET_FILE_BASE_NAME:${TARGET}>.hex) 102 ${TARGET_HEX_FILE} ${IMAGE_BASE_PATH}.hex 105 ${CMAKE_COMMAND} -E echo "-- built: ${IMAGE_BASE_PATH}.hex" 109 ${objcopy} -I ihex -O binary ${IMAGE_BASE_PATH}.hex ${IMAGE_BASE_PATH}.bin 121 # Generate an initial image hex file for the given executable target. 157 # Generate an update image hex file for the given executable target. 163 # NOTE 2: The hex file produced by this function will still "declare" its address as the primary sl…
|
/mcuboot-latest/boot/cypress/ |
D | .gitignore | 39 *.hex
|
D | Makefile | 144 build: $(OUT_APP)/$(APP_NAME).hex 149 $(OUT_APP)/$(APP_NAME).hex: $(OUT_APP)/$(APP_NAME).elf 150 …y --change-addresses=$(HEADER_OFFSET) -O ihex $(OUT_APP)/$(APP_NAME).elf $(OUT_APP)/$(APP_NAME).hex
|
/mcuboot-latest/boot/cypress/MCUBootApp/ |
D | README.md | 172 There are couple ways of programming hex of MCUBootApp and BlinkyApp. Following instructions assume… 176 …n - and execute following command after substitution `PATH_TO_APPLICATION.hex` and `OPENOCD` path… 185 -c "init; reset init; program PATH_TO_APPLICATION.hex" \ 189 …`Cypress Programmer` and click `Connect`, then choose hex file: `MCUBootApp.hex` or `BlinkyApp.hex… 192 …STATUS` blinks fast and mass storage device appeared in OS. Drag and drop `hex` files you wish to …
|
D | ExternalMemory.md | 90 -c "init; reset init; program PATH_TO_APPLICATION.hex" \
|
/mcuboot-latest/docs/ |
D | imgtool.md | 58 INFILE and OUTFILE are parsed as Intel HEX if the params have .hex 137 -x, --hex-addr INTEGER Adjust address in hex output file.
|
D | release-notes.md | 256 - imgtool: added possibility to set confirm flag for hex files as well. 359 written to a hex-format image. This allows the image to be flashed 413 - imgtool: saves in intel-hex format when output filename has `.hex` 425 - imgtool accepts .hex formatted input
|
D | readme-zephyr.md | 73 `build/zephyr/zephyr.{bin,hex,elf}`, where `build` is the build 119 is usually not relevant for flash tools that use Intel Hex images (.hex) instead
|
/mcuboot-latest/boot/zephyr/ |
D | Kconfig | 467 hex "Boot image executable ram start"
|