Commit Graph

110 Commits

Author SHA1 Message Date
SummerGift dbfd464a77 [update] lpc55sxx/tools/sdk_dist.py 2020-05-06 15:17:59 +08:00
Karl Zhang 95f4c7d374 PKG_USING_TFM: Use TFM package macro instead
RT_USING_TFM was duplicate macro. Remove it.

Change-Id: I626c63fe661202e63074f0db82ba99c06d12bc03
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-02-15 19:29:16 +08:00
Karl Zhang bd927324cc LPC55S69: Add NS project support
This requires TFM package support to run in the secure side, while the
RTT running in non-secure.

Change-Id: Ic749f92937fc99e6e29ba4a1be66cb7819670f2c
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-02-15 19:18:33 +08:00
Kevin Peng cd95e4cd59 LPC55S69: Add Protected Storage demo
This demo shows how protected storage works in RTT. It tests by write
and read data over PSA APIs, then check the integrity. The test will
run repeatedly, each time with different data.

The TFM package does not support LPC55S69 board officially yet.

Change-Id: Ib1cd4fc8166b21e3f774f092c95d2811d51123fe
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-01-15 08:43:02 +08:00
Karl Zhang 2479d7de4a LPC55S69: TFM: Preparation to add PS demo
Link TFM PS APIs and veneer library. This is a preparation to add a
demo in RTT which can call into TFM for secure services.

Change-Id: I19ea617690d174a28af29b1804674bcaae59f838
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-01-15 08:43:00 +08:00
Bernard Xiong cad32a326c
Merge pull request #3314 from karl-zh/RT_USING_TFM
Add TFM support in RTT
2020-01-14 12:00:22 +08:00
Karl Zhang be4e2395ff LPC55S69: Update the flash layout to fit RTT in NS
RTT fits in NS flash when enabled TF-M for secure.

Change-Id: Icfd796b7fbe8fba76f713f9d5a14bbdcb5dcd9d5
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-01-03 15:51:25 +08:00
Kevin Peng 5f4b780558 LPC55S69: Integration with TF-M
This patch enables TF-M running on secure side and RT-Thread running on
NS side by:

1. Updates the VTOR address
2. Remove a HW initialization which is already done in TF-M
3. Add a new project and linker script to build RTT in NS

Note:
    There are no secure service calls to TF-M in this patch

Change-Id: I4023a082cfb5c8df8a4f0ecc7ffee850daaadeb4
Signed-off-by: Kevin Peng <kevin.peng@arm.com>
Signed-off-by: Karl Zhang <karl.zhang@arm.com>
2020-01-03 15:51:24 +08:00
Bernard Xiong 00338fd2ac [BSP] fix the lpc55 issue under Linux/GCC 2020-01-02 08:17:32 +08:00
nxp58695 b422e11a06 added LPC55S6x BSP 2019-10-24 17:56:09 +08:00