zephyr/samples
Kevin Townsend 5d72b5b1a4 samples: tfm: Add fixed PID to custom partition
As per 'Adding Secure Partition' in the TF-M documentation,
every secure partition must have a unique 32-bit partition ID.

If no value is provided, one will be auto-allocated by the
TF-M build system, but this can lead to unpredictable behaviour
in some cases. One example is key derivation where the partition
ID is used as part of the key derivation inputs. Different builds
can results in different PID values being assigned, resulting
in inconsistent key derivation output.

To avoid these problems, this commit sets a fixed PID as a
best pratice.

A value of 1000 has been set to place it within the
'PSA and user Partitions' range (256 - 2999) described in the
documentation.

Signed-off-by: Kevin Townsend <kevin.townsend@linaro.org>
2022-05-27 15:18:01 -07:00
..
application_development dts: fix a bunch of odd partition values dts entries 2022-05-25 14:21:04 +02:00
arch samples: tests: exclude esp32 platform 2022-05-11 10:47:27 +02:00
basic samples: basic: servo_motor: delete nrf52840dk wrong overlay 2022-05-11 10:49:05 +02:00
bluetooth samples: Bluetooth: Fix bad info->flags check in unicast_server 2022-05-24 08:50:07 -07:00
boards lib/libc/minimal: Move sqrt/sqrtf from samples 2022-05-14 08:49:36 +09:00
compression samples: migrate includes to contain <zephyr/...> prefix 2022-05-06 11:29:59 +02:00
drivers samples: spi: bitbang: Fix missing pass conditions 2022-05-24 08:57:12 -07:00
hello_world samples: migrate includes to contain <zephyr/...> prefix 2022-05-06 11:29:59 +02:00
kernel samples: migrate includes to contain <zephyr/...> prefix 2022-05-06 11:29:59 +02:00
modules samples: migrate includes to contain <zephyr/...> prefix 2022-05-06 11:29:59 +02:00
net samples: net: wifi: add mikroe wifi bt click 2022-05-15 21:34:32 +02:00
philosophers samples/philosophers: use stack_data_t type 2022-05-18 10:53:50 +02:00
posix include: Prefix includes to use a scope 2022-04-08 19:03:32 +02:00
sensor tests/samples: fix usage of integration_platforms 2022-05-14 14:49:59 -04:00
shields lib/libc/minimal: Move sqrt/sqrtf from samples 2022-05-14 08:49:36 +09:00
subsys samples/mgmt/mcumgr: Fix CDC ACM sample build information 2022-05-25 13:51:32 -07:00
synchronization samples: migrate includes to contain <zephyr/...> prefix 2022-05-06 11:29:59 +02:00
tfm_integration samples: tfm: Add fixed PID to custom partition 2022-05-27 15:18:01 -07:00
userspace samples: migrate includes to contain <zephyr/...> prefix 2022-05-06 11:29:59 +02:00
classic.rst
index.rst