Skip to content

Commit fd4bf94

Browse files
twcook86danielinux
authored andcommitted
new benchmark config
1 parent 2eeffd6 commit fd4bf94

4 files changed

Lines changed: 54 additions & 14 deletions

File tree

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
ARCH?=ARM
2+
TZEN?=0
3+
TARGET?=lpc55s69
4+
SIGN?=ECC384
5+
HASH?=SHA256
6+
MCUXSDK?=1
7+
MCUXPRESSO?=$(PWD)/../NXP/mcuxpresso-sdk/mcuxsdk
8+
MCUXPRESSO_CMSIS?=$(PWD)/../NXP/CMSIS_5/CMSIS
9+
MCUXPRESSO_CPU?=LPC55S69JBD100_cm33_core0
10+
MCUXPRESSO_DRIVERS?=$(MCUXPRESSO)/devices/LPC/LPC5500/LPC55S69
11+
MCUXPRESSO_PROJECT_TEMPLATE?=$(MCUXPRESSO)/examples/_boards/lpcxpresso55s69/project_template
12+
DEBUG?=0
13+
DEBUG_UART?=1
14+
VTOR?=1
15+
CORTEX_M0?=0
16+
CORTEX_M33?=1
17+
NO_ASM?=0
18+
NO_MPU=1
19+
EXT_FLASH?=0
20+
SPI_FLASH?=0
21+
ALLOW_DOWNGRADE?=0
22+
NVM_FLASH_WRITEONCE?=1
23+
NO_ARM_ASM=1
24+
WOLFBOOT_VERSION?=0
25+
V?=0
26+
SPMATH?=1
27+
RAM_CODE?=1
28+
DUALBANK_SWAP?=0
29+
FLASH_MULTI_SECTOR_ERASE?=1
30+
31+
# Turn on or off hw acceleration of crypto algs in the lpc55s69
32+
PKA?=0
33+
34+
# use 1024-byte sector to accommodate RSA4096 signature
35+
# WOLFBOOT_SECTOR_SIZE?=0x400
36+
WOLFBOOT_SECTOR_SIZE?=0x200
37+
38+
# use these for test/benchmark
39+
WOLFBOOT_PARTITION_SIZE?=0x2b000
40+
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x10000
41+
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x3b000
42+
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x66000
43+
44+
WOLFCRYPT_TEST?=1
45+
WOLFCRYPT_BENCHMARK?=1

config/examples/lpc55s69-tz.config

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,13 @@ V?=0
2626
SPMATH?=1
2727
RAM_CODE?=1
2828
DUALBANK_SWAP?=0
29-
PKA?=0
3029
FLASH_MULTI_SECTOR_ERASE?=1
3130
WOLFCRYPT_TZ?=1
3231
WOLFCRYPT_TZ_PKCS11?=1
3332

33+
# Turn on or off hw acceleration of crypto algs in the lpc55s69
34+
PKA?=0
35+
3436
# use 1024-byte sector to accommodate RSA4096 signature
3537
# WOLFBOOT_SECTOR_SIZE?=0x400
3638
WOLFBOOT_SECTOR_SIZE?=0x200

config/examples/lpc55s69.config

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ V?=0
2626
SPMATH?=1
2727
RAM_CODE?=1
2828
DUALBANK_SWAP?=0
29-
PKA?=0
3029
FLASH_MULTI_SECTOR_ERASE?=1
3130

31+
# Turn on or off hw acceleration of crypto algs in the lpc55s69
32+
PKA?=0
33+
3234
# use 1024-byte sector to accommodate RSA4096 signature
3335
# WOLFBOOT_SECTOR_SIZE?=0x400
3436
WOLFBOOT_SECTOR_SIZE?=0x200
@@ -39,12 +41,3 @@ WOLFBOOT_PARTITION_SIZE?=0xB000
3941
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0xD000
4042
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x18000
4143
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x23000
42-
43-
# use these for test/benchmark
44-
#WOLFBOOT_PARTITION_SIZE?=0x2b000
45-
#WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x10000
46-
#WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x3b000
47-
#WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x66000
48-
49-
#WOLFCRYPT_TEST?=1
50-
#WOLFCRYPT_BENCHMARK?=1

tools/scripts/lpc55s69/lpc55s69_debug.cmm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ go
3131

3232
;; STOP in test-app...
3333
;; UNCOMMENT the following:
34-
WAIT !STATE.RUN()
35-
data.load "&basedir\test-app\image.elf" /nocode
36-
;break.set wc_InitRng_ex /onchip /temporary
34+
;;WAIT !STATE.RUN()
35+
;;data.load "&basedir\test-app\image.elf" /nocode
36+
;;break.set main /onchip /temporary
3737

3838
go

0 commit comments

Comments
 (0)