diff --git a/variants/NICLA_VISION/defines.txt b/variants/NICLA_VISION/defines.txt index 784392977..6fa69c4e3 100644 --- a/variants/NICLA_VISION/defines.txt +++ b/variants/NICLA_VISION/defines.txt @@ -1,6 +1,7 @@ -DARM_MATH_CM7 -DCM4_BOOT_BY_APPLICATION +-D__CMSIS_RTOS -DCOMPONENT_4343W_FS=1 -DCOMPONENT_CYW43XXX=1 -DCOMPONENT_FLASHIAP=1 @@ -8,6 +9,7 @@ -DCOMPONENT_SE050=1 -DCOMPONENT_WHD=1 -DCORE_CM7 +-D__CORTEX_M7 -DCYW43XXX_UNBUFFERED_UART -DDEVICE_ANALOGIN=1 -DDEVICE_ANALOGOUT=1 @@ -15,8 +17,8 @@ -DDEVICE_CRC=1 -DDEVICE_FLASH=1 -DDEVICE_I2C=1 --DDEVICE_I2CSLAVE=1 -DDEVICE_I2C_ASYNCH=1 +-DDEVICE_I2CSLAVE=1 -DDEVICE_INTERRUPTIN=1 -DDEVICE_LPTICKER=1 -DDEVICE_MPU=1 @@ -31,8 +33,8 @@ -DDEVICE_SERIAL_FC=1 -DDEVICE_SLEEP=1 -DDEVICE_SPI=1 --DDEVICE_SPISLAVE=1 -DDEVICE_SPI_ASYNCH=1 +-DDEVICE_SPISLAVE=1 -DDEVICE_STDIO_MESSAGES=1 -DDEVICE_TRNG=1 -DDEVICE_USBDEVICE=1 @@ -41,10 +43,13 @@ -DEXTRA_IDLE_STACK_REQUIRED -DFEATURE_BLE=1 -DFLOW_SILENT +-D__FPU_PRESENT=1 +-D__MBED__=1 +-DMBED_BUILD_TIMESTAMP=1673362829.88069 +-D__MBED_CMSIS_RTOS_CM +-DMBED_TICKLESS -DMBEDTLS_FS_IO -DMBEDTLS_SHA1_C --DMBED_BUILD_TIMESTAMP=1670864203.074499 --DMBED_TICKLESS -DMETAL_INTERNAL -DMETAL_MAX_DEVICE_REGIONS=2 -DNO_ATOMIC_64_SUPPORT @@ -77,11 +82,6 @@ -DUSE_FULL_LL_DRIVER -DUSE_HAL_DRIVER -DVIRTIO_MASTER_ONLY --D__CMSIS_RTOS --D__CORTEX_M7 --D__FPU_PRESENT=1 --D__MBED_CMSIS_RTOS_CM --D__MBED__=1 -DMBED_NO_GLOBAL_USING_DIRECTIVE=1 -DCORE_MAJOR= -DCORE_MINOR= diff --git a/variants/NICLA_VISION/libs/libmbed.a b/variants/NICLA_VISION/libs/libmbed.a index 027ab54b6..e4888bdaf 100644 Binary files a/variants/NICLA_VISION/libs/libmbed.a and b/variants/NICLA_VISION/libs/libmbed.a differ diff --git a/variants/NICLA_VISION/linker_script.ld b/variants/NICLA_VISION/linker_script.ld index 0901b516c..f634db472 100644 --- a/variants/NICLA_VISION/linker_script.ld +++ b/variants/NICLA_VISION/linker_script.ld @@ -28,6 +28,12 @@ SECTIONS *(.dtors) *(.rodata*) KEEP(*(.eh_frame*)) + *ltrans0*.o(.rodata*) + *ltrans1*.o(.rodata*) + *ltrans2*.o(.rodata*) + *ltrans3*.o(.rodata*) + *ltrans4*.o(.rodata*) + *lib*.o(.rodata*) } > FLASH .ARM.extab : {