mirror of https://github.com/wolfSSL/wolfBoot.git
new benchmark config
parent
2eeffd68e1
commit
fd4bf945f0
|
|
@ -0,0 +1,45 @@
|
|||
ARCH?=ARM
|
||||
TZEN?=0
|
||||
TARGET?=lpc55s69
|
||||
SIGN?=ECC384
|
||||
HASH?=SHA256
|
||||
MCUXSDK?=1
|
||||
MCUXPRESSO?=$(PWD)/../NXP/mcuxpresso-sdk/mcuxsdk
|
||||
MCUXPRESSO_CMSIS?=$(PWD)/../NXP/CMSIS_5/CMSIS
|
||||
MCUXPRESSO_CPU?=LPC55S69JBD100_cm33_core0
|
||||
MCUXPRESSO_DRIVERS?=$(MCUXPRESSO)/devices/LPC/LPC5500/LPC55S69
|
||||
MCUXPRESSO_PROJECT_TEMPLATE?=$(MCUXPRESSO)/examples/_boards/lpcxpresso55s69/project_template
|
||||
DEBUG?=0
|
||||
DEBUG_UART?=1
|
||||
VTOR?=1
|
||||
CORTEX_M0?=0
|
||||
CORTEX_M33?=1
|
||||
NO_ASM?=0
|
||||
NO_MPU=1
|
||||
EXT_FLASH?=0
|
||||
SPI_FLASH?=0
|
||||
ALLOW_DOWNGRADE?=0
|
||||
NVM_FLASH_WRITEONCE?=1
|
||||
NO_ARM_ASM=1
|
||||
WOLFBOOT_VERSION?=0
|
||||
V?=0
|
||||
SPMATH?=1
|
||||
RAM_CODE?=1
|
||||
DUALBANK_SWAP?=0
|
||||
FLASH_MULTI_SECTOR_ERASE?=1
|
||||
|
||||
# Turn on or off hw acceleration of crypto algs in the lpc55s69
|
||||
PKA?=0
|
||||
|
||||
# use 1024-byte sector to accommodate RSA4096 signature
|
||||
# WOLFBOOT_SECTOR_SIZE?=0x400
|
||||
WOLFBOOT_SECTOR_SIZE?=0x200
|
||||
|
||||
# use these for test/benchmark
|
||||
WOLFBOOT_PARTITION_SIZE?=0x2b000
|
||||
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x10000
|
||||
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x3b000
|
||||
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x66000
|
||||
|
||||
WOLFCRYPT_TEST?=1
|
||||
WOLFCRYPT_BENCHMARK?=1
|
||||
|
|
@ -26,11 +26,13 @@ V?=0
|
|||
SPMATH?=1
|
||||
RAM_CODE?=1
|
||||
DUALBANK_SWAP?=0
|
||||
PKA?=0
|
||||
FLASH_MULTI_SECTOR_ERASE?=1
|
||||
WOLFCRYPT_TZ?=1
|
||||
WOLFCRYPT_TZ_PKCS11?=1
|
||||
|
||||
# Turn on or off hw acceleration of crypto algs in the lpc55s69
|
||||
PKA?=0
|
||||
|
||||
# use 1024-byte sector to accommodate RSA4096 signature
|
||||
# WOLFBOOT_SECTOR_SIZE?=0x400
|
||||
WOLFBOOT_SECTOR_SIZE?=0x200
|
||||
|
|
|
|||
|
|
@ -26,9 +26,11 @@ V?=0
|
|||
SPMATH?=1
|
||||
RAM_CODE?=1
|
||||
DUALBANK_SWAP?=0
|
||||
PKA?=0
|
||||
FLASH_MULTI_SECTOR_ERASE?=1
|
||||
|
||||
# Turn on or off hw acceleration of crypto algs in the lpc55s69
|
||||
PKA?=0
|
||||
|
||||
# use 1024-byte sector to accommodate RSA4096 signature
|
||||
# WOLFBOOT_SECTOR_SIZE?=0x400
|
||||
WOLFBOOT_SECTOR_SIZE?=0x200
|
||||
|
|
@ -39,12 +41,3 @@ WOLFBOOT_PARTITION_SIZE?=0xB000
|
|||
WOLFBOOT_PARTITION_BOOT_ADDRESS?=0xD000
|
||||
WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x18000
|
||||
WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x23000
|
||||
|
||||
# use these for test/benchmark
|
||||
#WOLFBOOT_PARTITION_SIZE?=0x2b000
|
||||
#WOLFBOOT_PARTITION_BOOT_ADDRESS?=0x10000
|
||||
#WOLFBOOT_PARTITION_UPDATE_ADDRESS?=0x3b000
|
||||
#WOLFBOOT_PARTITION_SWAP_ADDRESS?=0x66000
|
||||
|
||||
#WOLFCRYPT_TEST?=1
|
||||
#WOLFCRYPT_BENCHMARK?=1
|
||||
|
|
|
|||
|
|
@ -31,8 +31,8 @@ go
|
|||
|
||||
;; STOP in test-app...
|
||||
;; UNCOMMENT the following:
|
||||
WAIT !STATE.RUN()
|
||||
data.load "&basedir\test-app\image.elf" /nocode
|
||||
;break.set wc_InitRng_ex /onchip /temporary
|
||||
;;WAIT !STATE.RUN()
|
||||
;;data.load "&basedir\test-app\image.elf" /nocode
|
||||
;;break.set main /onchip /temporary
|
||||
|
||||
go
|
||||
|
|
|
|||
Loading…
Reference in New Issue