Home
last modified time | relevance | path

Searched refs:sign (Results 1 – 25 of 93) sorted by relevance

1234

/Zephyr-latest/tests/kernel/fpu_sharing/generic/src/
Dpi.c77 FP_TYPE sign = FP_CONSTANT(-1.0); in calculate_pi_low() local
83 sign = FP_CONSTANT(-1.0); in calculate_pi_low()
88 pi += sign / divisor; in calculate_pi_low()
90 sign *= FP_CONSTANT(-1.0); in calculate_pi_low()
116 FP_TYPE sign = FP_CONSTANT(-1.0); in calculate_pi_high() local
124 sign = FP_CONSTANT(-1.0); in calculate_pi_high()
129 pi += sign / divisor; in calculate_pi_high()
131 sign *= FP_CONSTANT(-1.0); in calculate_pi_high()
/Zephyr-latest/soc/nxp/imxrt/imxrt5xx/f1/
DCMakeLists.txt10 # west sign
18 COMMENT "west sign --if-tool-available --tool rimage ..."
19 …COMMAND west sign --if-tool-available --tool rimage --build-dir ${CMAKE_BINARY_DIR} ${WEST_SIGN_O…
/Zephyr-latest/soc/nxp/imx/imx8ulp/
DCMakeLists.txt8 # west sign
17 COMMENT "west sign --if-tool-available --tool rimage ..."
18 …COMMAND west sign --if-tool-available --tool rimage --build-dir ${CMAKE_BINARY_DIR} ${WEST_SIGN_O…
/Zephyr-latest/soc/nxp/imx/imx8x/
DCMakeLists.txt12 # west sign
21 COMMENT "west sign --if-tool-available --tool rimage ..."
22 …COMMAND west sign --if-tool-available --tool rimage --build-dir ${CMAKE_BINARY_DIR} ${WEST_SIGN_O…
/Zephyr-latest/soc/nxp/imx/imx8/
DCMakeLists.txt12 # west sign
21 COMMENT "west sign --if-tool-available --tool rimage ..."
22 …COMMAND west sign --if-tool-available --tool rimage --build-dir ${CMAKE_BINARY_DIR} ${WEST_SIGN_O…
/Zephyr-latest/doc/develop/west/
Dsign.rst1 .. _west-sign:
6 The ``west sign`` :ref:`extension <west-extensions>` command can be used to
7 sign a Zephyr application binary for consumption by a bootloader using an
8 external tool. In some configurations, ``west sign`` is also used to invoke
10 the image together. Run ``west sign -h`` for command line help.
21 ``west sign`` which invokes ``imgtool`` or `rimage`_. As long as the signing
27 difficult. Reproducing a lower ``west sign`` command to debug some build-time issue
39 [sign]
56 ``west sign --tool rimage -- -i 4 -k 'keys/key argument with space.pem'``. In case
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_util.c194 bool sign = false; in lwm2m_b32_to_float() local
205 sign = SHIFT_RIGHT(b32[0], 7, 0x1); in lwm2m_b32_to_float()
227 val1 = (f >> (23 - e)) * (sign ? -1 : 1); in lwm2m_b32_to_float()
247 if (sign) { in lwm2m_b32_to_float()
261 bool sign = false; in lwm2m_b64_to_float() local
272 sign = SHIFT_RIGHT(b64[0], 7, 0x1); in lwm2m_b64_to_float()
298 val1 = (f >> (52 - e)) * (sign ? -1 : 1); in lwm2m_b64_to_float()
318 if (sign) { in lwm2m_b64_to_float()
331 int64_t base = PRECISION64, sign = 1; in lwm2m_atof() local
342 sign = -1; in lwm2m_atof()
[all …]
/Zephyr-latest/soc/nxp/imx/imx8m/
DCMakeLists.txt12 # west sign
21 COMMENT "west sign --if-tool-available --tool rimage ..."
22 …COMMAND west sign --if-tool-available --tool rimage --build-dir ${CMAKE_BINARY_DIR} ${WEST_SIGN_O…
/Zephyr-latest/soc/amd/acp_6_0/
DCMakeLists.txt7 COMMENT "west sign --if-tool-available --tool rimage ..."
8 …COMMAND west sign --if-tool-available --tool rimage --build-dir ${CMAKE_BINARY_DIR} ${WEST_SIGN_O…
/Zephyr-latest/arch/arm/core/
Delf.c211 uint32_t j_one, j_two, sign; in thm_jumps_decode() local
217 sign = (*upper >> BIT_THM_BW_S) & 1; in thm_jumps_decode()
220 *offset = (sign << SHIFT_THM_JUMPS_SIGN) | in thm_jumps_decode()
221 ((~(j_one ^ sign) & 1) << SHIFT_THM_BL_J1) | in thm_jumps_decode()
222 ((~(j_two ^ sign) & 1) << SHIFT_THM_BL_J2) | in thm_jumps_decode()
242 uint32_t j_one, j_two, sign; in thm_jumps_reloc() local
244 sign = (*offset >> SHIFT_THM_JUMPS_SIGN) & 1; in thm_jumps_reloc()
245 j_one = sign ^ (~(*offset >> SHIFT_THM_BL_J1) & 1); in thm_jumps_reloc()
246 j_two = sign ^ (~(*offset >> SHIFT_THM_BL_J2) & 1); in thm_jumps_reloc()
247 *upper = (uint16_t)((*upper & MASK_THM_BW_11110) | (sign << BIT_THM_BW_S) | in thm_jumps_reloc()
/Zephyr-latest/lib/os/
Dcbprintf_complete.c872 char *sign, in encode_float() argument
889 *sign = '-'; in encode_float()
891 *sign = '+'; in encode_float()
893 *sign = ' '; in encode_float()
1432 char sign = 0; in z_cbvprintf_impl() local
1665 sign = '+'; in z_cbvprintf_impl()
1667 sign = ' '; in z_cbvprintf_impl()
1676 sign = '-'; in z_cbvprintf_impl()
1720 &sign, buf, &bpe); in z_cbvprintf_impl()
1760 if (sign != 0) { in z_cbvprintf_impl()
[all …]
/Zephyr-latest/subsys/shell/
Dshell_ops.c122 static uint16_t shift_calc(const char *str, uint16_t pos, uint16_t len, int16_t sign) in shift_calc() argument
129 idx = pos + ret * sign; in shift_calc()
130 if (((idx == 0U) && (sign < 0)) || in shift_calc()
131 ((idx == len) && (sign > 0))) { in shift_calc()
150 int16_t sign; in z_shell_op_cursor_word_move() local
154 sign = -1; in z_shell_op_cursor_word_move()
156 sign = 1; in z_shell_op_cursor_word_move()
162 sh->ctx->cmd_buff_len, sign); in z_shell_op_cursor_word_move()
163 z_shell_op_cursor_move(sh, sign * shift); in z_shell_op_cursor_word_move()
/Zephyr-latest/boards/nxp/imx95_evk/
DCMakeLists.txt10 …COMMAND west sign --if-tool-available --tool rimage --build-dir ${CMAKE_BINARY_DIR} ${WEST_SIGN_OP…
/Zephyr-latest/drivers/sensor/aosong/dht/
Ddht.c190 int16_t raw_val, sign; in dht_channel_get() local
201 sign = raw_val & 0x8000; in dht_channel_get()
208 if (sign) { in dht_channel_get()
/Zephyr-latest/soc/intel/intel_adsp/common/
DCMakeLists.txt130 # west sign
145 # Warning: because `west sign` can also be used interactively, using
151 COMMENT "west sign --if-tool-available --tool rimage ..."
156 # from west sign immediately before it.
157 …COMMAND west sign --if-tool-available --tool rimage --build-dir ${CMAKE_BINARY_DIR} ${WEST_SIGN_O…
/Zephyr-latest/soc/intel/intel_adsp/tools/
Dcavstwist.sh110 west sign --tool-data=$CAVS_RIMAGE/config -t rimage -- -k $CAVS_KEY)
/Zephyr-latest/cmake/
Dmcuboot.cmake37 …message(FATAL_ERROR "Can't sign images for MCUboot: west not found. To fix, install west and ensur…
48 …message(FATAL_ERROR "west sign can't find file ${${file}} (Note: Relative paths are relative to th…
50 …L_ERROR "Can't sign images for MCUboot: Neither CONFIG_BUILD_OUTPUT_BIN nor CONFIG_BUILD_OUTPUT_HE…
72 …message(FATAL_ERROR "Can't sign images for MCUboot: can't find imgtool. To fix, install imgtool wi…
96 # Basic 'imgtool sign' command with known image information.
97 set(imgtool_sign ${PYTHON_EXECUTABLE} ${imgtool_path} sign
/Zephyr-latest/drivers/sensor/ti/ina219/
Dina219.c193 int8_t sign = 1; in ina219_channel_get() local
205 sign = -1; in ina219_channel_get()
207 tmp = sign * data->current * cfg->current_lsb * INA219_SI_MUL; in ina219_channel_get()
/Zephyr-latest/scripts/
Drequirements-extras.txt21 # can be used to sign a Zephyr application binary for consumption by a bootloader
/Zephyr-latest/soc/mediatek/mt8xxx/
DCMakeLists.txt22 # platforms are identical. The west sign integration similarly needs
41 COMMAND west $<$<BOOL:${CMAKE_VERBOSE_MAKEFILE}>:--verbose> sign
/Zephyr-latest/boards/intel/adsp/doc/
Dintel_adsp_generic.rst73 in the output of ``west sign -h``. Running directly from the build directory
122 ``west build`` tries to sign the binary at the end of the build. If you need
123 to sign the binary yourself, you can invoke ``west sign`` directly. Read the
124 ``west`` logs to find the ``west sign`` invocation; you can copy and modify
125 the command logged for your own purposes. Run ``west sign -h`` for more
134 ``west sign -h``. The WEST_CONFIG_LOCAL environment variable can point at a
144 Starting with Zephyr 3.6.0, ``west flash`` does not invoke ``west sign``
280 If flashing fails at ``west sign`` with errors related to unparsed keys, try
298 If West or Twister successfully sign and establish TCP connections
313 log of ``west flash`` and carefully check that the arguments to ``west sign``
/Zephyr-latest/scripts/west_commands/completion/
Dwest-completion.fish175 "sign" "sign a Zephyr binary for bootloader chain-loading" \
445 # sign
446 …hyr_west_use_subcommand; and __zephyr_west_check_if_in_workspace" -ra sign -d "sign a Zephyr binar…
447 complete -c west -n "__zephyr_west_seen_subcommand_from sign" -o d -l build-dir -ra "(__zephyr_west…
448 complete -c west -n "__zephyr_west_seen_subcommand_from sign" -o q -l quiet -d "suppress non-error …
449 complete -c west -n "__zephyr_west_seen_subcommand_from sign" -o f -l force -d "ignore errors and c…
450 complete -c west -n "__zephyr_west_seen_subcommand_from sign" -o t -l tool -ra "imgtool rimage" -d …
451 complete -c west -n "__zephyr_west_seen_subcommand_from sign" -o p -l tool-path -ra "(__zephyr_west…
452 complete -c west -n "__zephyr_west_seen_subcommand_from sign" -o P -l tool-data -ra "(__zephyr_west…
453 complete -c west -n "__zephyr_west_seen_subcommand_from sign; and __zephyr_west_exclude --no-bin" -…
[all …]
/Zephyr-latest/doc/build/signing/
Dindex.rst7 also the ability to use ``west sign`` to sign binaries too, this page describes the former, the
8 latter is documented on :ref:`west-sign`.
14 bootloader using the `imgtool`_ program provided by its developers. You can both build and sign
/Zephyr-latest/samples/boards/intel/adsp/code_relocation/
DREADME.rst11 As rimage (the tool used to sign the image) mandates that elf files
/Zephyr-latest/drivers/video/
Dov5640.c690 int cos_coef, sin_coef, sign = 0; in ov5640_set_ctrl_hue() local
708 sign = 0x01; in ov5640_set_ctrl_hue()
710 sign = 0x31; in ov5640_set_ctrl_hue()
712 sign = 0x32; in ov5640_set_ctrl_hue()
714 sign = 0x02; in ov5640_set_ctrl_hue()
717 struct ov5640_reg hue_params[] = {{SDE_CTRL8_REG, sign}, in ov5640_set_ctrl_hue()

1234