aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-25Fix misleading log messages21.02Per Åstrand
Change-Id: I2f0a7c9ec9e59b2a076bfd873e5a997189c67e11
2021-02-24Tensorflow rebaseKristofer Jonsson
The interface to the MicroProfiler has changed in the latest revision of TFLu. Updating core software to fix the compilation errors. Change-Id: Ief8cc17859c9abcb9455110c660c0de56d938fe5
2021-02-23Assembly supportKristofer Jonsson
Update the Arm Clang toolchain file to support assembly files. Removing cmsis_core dependency. Applications that depend on CMSIS should add that dependency manually. Change-Id: I42d68e6734acc88aef8f9af124b5e76079b839b5
2021-02-23Trademark informationKristofer Jonsson
Updating readme files with trademark information. Change-Id: I9bc488a8d8544ac238dfef69d10522af5bbc0a00
2021-02-23Use ethosu namespace for core interfacePer Åstrand
Change-Id: I832b8d7b502ae501e39f1a795d4192506d47fa55
2021-02-12MLBEDSW-3798 - MultiNPU test freeRTOS configAnton Moberg
Changed: configUSE_TIME_SLICING to 0, because otherwise context-switching between tasks of same priority each interrupt tick will mangle output-log Change-Id: I8aabbd76fa5402c99c27b811222a379298280205
2021-02-12core_software - Move TensorArena21.02-rc2Anton Moberg
Moved TensorArena in inference_process.ccp to application level. InferenceProcess class now takes TensorArena pointer and TensorArenaSize as parameters. Needs to be set by application before runJob() is called. Change-Id: I530b96039868305fa903ae7f93419d9d00f9c16f
2021-02-03Split cmsis_startup into _startup and _system21.02-rc1Per Åstrand
In order to get better control of the cmsis startup build for secure and nonsecure worlds, the cmsis_startup OBJECT library is split up into two INTERFACE libraries that can be configured and built per executable. Change-Id: I21b6f6af75f9c23e920525ce6c23677f0607745c
2021-02-03Remove ethosu_core_rtosPer Åstrand
Move away from building generic rtos INTERFACE library in favour of using the explict rtos targets for the applications that are using it. Change-Id: I006d7bd302e7b33fa799d32686475e73d4db3182
2021-02-01Missing cache maintenanceKristofer Jonsson
Add missing cache invalidate before queue header is checked for available messages. Change-Id: Iba1238dddcf6b9771d17c9b9edab3f7594ee59af
2021-01-27Improve mailbox msg handling for MessageProcessJonny Svärd
Send/verify 32b message magic Add version response support In case an error occurs with the messaging, send an error response and effectively reset/empty the queue. Add support for error response Fix a couple of bugs where mailbox interrupts were sent even when a previous error occured. Change-Id: I6a1fdefd0d6eb68c9b22123c156ff820ce9c0399
2021-01-22Replace TAGS in TFLuMåns Nilsson
TAGS is getting deprecated. Instead OPTIMIZED_KERNEL_DIR and CO_PROCESSOR should be used. Change-Id: I769df90bb394d303549fc23ad034274f4a9d1aec
2021-01-13Rename cplusplus files for consistencyPer Åstrand
Change-Id: I908ea337ffb7229a33af3364b5374209c7e9df54
2021-01-12Adapt cmsis build for secure/nonsecure worldsPer Åstrand
Add external include path to get the device specific partion header file to setup SAU as needed by cmsis startup and make sure system isn't build if we are targeting nonsecure world. Change-Id: Ic9a9e380aa2bc41e6d1cd7f71c6713d033065c7a
2020-12-21MLBEDSW-3728 Resolve compiler warningsBhavik Patel
Change-Id: I6245d4fa6cf32c9edb05f52bb07e1d7b6a1c17fe
2020-12-18Build Tensorflow Lite for Microcontrollers with Olympus CPUBhavik Patel
Change-Id: I2733ece00b44e8e81c01328b02ced3d7000ac392
2020-12-17Add basic UART driversJonny Svärd
Add basic drivers for: - PL011 UART - CMSDK APB UART - dummy/stub UART Change-Id: I2f89874fba59044e6c7c084f8e1dc6faa9eb8d1b
2020-12-16CMSIS dependencyKristofer Jonsson
Add dependency from cmsis_device to cmsis_core. Change-Id: I22d25c234bc89063a4be598cb51d40f3c78097f2
2020-12-10Cache clean message queueKristofer Jonsson
If the data cache is enabled before the queue constructor is called, then the queue must be cleaned. Change-Id: I29ec2b40c225065c24dc7574275482117e88cff8
2020-12-10Specify size for pmuEventConfig vectorJonny Svärd
Change-Id: Ia81c4808e0372de046cc8cfcdd67512fe67a3dbb
2020-12-08MLBEDSW-3269 Add pmu counters for inference_processBhavik Patel
Change-Id: I6594acc228fe8048f56cb96ac7846a87491eed38
2020-11-27Remove debug prints20.11Kristofer Jonsson
Change-Id: Ib0be731c8c42f3e1ca4c8bf53d8b226e9757eecf
2020-11-26Add basic MHU driversJonny Svärd
Add MHUv2 doorbell driver implementation Add MHU doorbell driver for Juno board Add a dummy MHU driver Add some comments to the mailbox header file Change-Id: I0950a7ca3afeec88ca691ca2486022dfbb3319b8
2020-11-25Improved cache maintenanceKristofer Jonsson
Invalidating and cleaning buffers exchanged between Core and remote CPU. Change-Id: Icd9ce6c916422a6bbcdd42e31651a622240d0ce4
2020-11-19Improved cache maintenance20.11-rc2Kristofer Jonsson
Use invalidate by address to avoid invalidating the data segment loosing data. Change-Id: Ied36d881d19e56ea760b8775657b0e924e129b31
2020-11-17Add TF_LITE_MICROKristofer Jonsson
Tensorflow is migrating its flag settings from from TF_LITE_STATIC_MEMORY to TF_LITE_MICRO. Change-Id: Iccc1ceef22b7db50fcc89e604a2839f32ccd7613
2020-11-16Up C++ version to 14 for arm-none-eabi-gccPer Åstrand
Change-Id: I587f70020cf8cfaf764d4f0e08e920141a52c327
2020-11-09Fix profiling problem with no PMU counters20.11-rc1Måns Nilsson
Change-Id: Ie981df16056ea0b72ed60f07bba9f39a7cb9a23f
2020-11-04Update TFLU_TARGETMåns Nilsson
-Set TARGET to cortex_m_generic. -Do not set CC, CXX and AR as it is handled by target. -Set TOOLCHAIN and TARGET_TOOLCHAIN_ROOT required by target. Change-Id: I28fd5352fc2285b5d5c842a481362ff364747920
2020-11-02Add ethosu_core_driver as tflu link libraryHenrik Hoglind
The ethosu_core_driver is added as target link library to get the correct order of libraries when linking to avoid missing symbols. Change-Id: I39c5fdb9f94a4a8af080e37a39c7cb41d13d664a
2020-10-27MLBEDSW-2593 Build FreeRTOS kernel as a part of ethosu_core targetBhavik Patel
The ethosu_core target now includes the FreeRTOS kernel if the CORE_SOFTWARE_RTOS is set to FreeRTOS. Currently supported builds are for cortex M3, M4, M7, M33, and M55. The FreeRTOSConfig.h file is generated as a part of the build. Change-Id: Ief6921fd0d9aa3849497ef0810d2714a12eb6773
2020-10-27Pass FLOAT flag to Tensorflow Lite microKristofer Jonsson
Change-Id: Ia8c2c3993e8937643ddb5193c79aa5ab624e046c
2020-10-23Add security informationKristofer Jonsson
Change-Id: If8c33502072d8c40e03a815c8933bcfc09fbae80
2020-10-12Clang formatKristofer Jonsson
Change-Id: I8e427df2b2f309c11c50339f4d324f5536a4e02d
2020-10-12Remove dependency on cmsis_devicePer Åstrand
The applications doesn't need the cmsis device dependency. Remove it and add the explicit headers that are required to access assembler defines. Change-Id: I959b60e0ca150a75145319df207cfeb6361f0022
2020-10-12Add tensorflow downloads folder to BYPRODUCTSPer Åstrand
Add tensorflow download location to BYPRODUCTS for add_custom_target to make cmake aware of the generated files. This makes 'make clean' to wipe the folder. Change-Id: I81535ccf0ecb8d948990fc4ec214c09213307b07
2020-10-09Add missing include fileKristofer Jonsson
Change-Id: I2816127a997646fe1ff9ea2601beb84a5b37280e
2020-10-09Add a Mailbox interfaceJonny Svärd
Change-Id: If68e70709c496849cb781af5f7288fa3f7ddcdb5
2020-10-06Refactor code to avoid typepunning tricksPer Åstrand
Change-Id: Iecefa233561ddbef3e04f395f12fb56cd76ffd42
2020-09-25Avoid shadowing class members when initializingPer Åstrand
Change-Id: I47eae5334d2cfa5c6e17f820095dbadebce9a1e8
2020-09-25Move to inttypes format specifiers for printfPer Åstrand
Change-Id: I799add461ab0db5b86c78a440937d722620e6d3b
2020-09-15Support inferences with multiple inputs and outputsKristofer Jonsson
Update inference process apis to support inferences with multiple inputs and multiple outputs. Update message process to handle new inference request message with an array of input- and output buffers. Change-Id: Ide0897385a1d829f58edace79140d01d8e3b85a3
2020-09-15Add back TAGS=cmsis-nn in tflu_gen targetMåns Nilsson
In case a CMSIS-NN operator is not supported by Ethos-U performance would otherwise be degraded. Change-Id: I0b688403b0a7c33cde1343f4e64ba14e901a19d7
2020-09-14Align setting tflu optimization level with tflu upstream.Jonas Skog
Change-Id: I1e80d22c9cf1eb59a5bf2c6bd2f06b6a0024c911
2020-09-10Update tflu_gen targetMåns Nilsson
-Use real target instead of "lib". -Remove TAGS=cmsis-nn when build for Ethos-U. Change-Id: I8825759df9be5614ba572c2e005e7f66034937f9
2020-09-03Move fast memory area to core driverKristofer Jonsson
Change-Id: Icaa9caeace87ea14adb0f92254c9fc02b25d642e
2020-09-01Moving message- and inference processes to core software20.08Kristofer Jonsson
Change-Id: I76e94440402d58848116d06ff3fd1ed2000ac505
2020-08-25Add options to Tensorflow for compiler optimization levelHenrik Hoglind
Change-Id: I2c9b685b69dc3068b92d07a1c7840b0906954582
2020-08-21Vela fast memory scratch buffer20.08-rc1Kristofer Jonsson
Change-Id: I42f7a2e122ddd5826d4e0d83fccacc3865045b03
2020-08-18Adding toolchain filesKristofer Jonsson
Change-Id: I01a450a0e79cbadf88a5cfe061eb3156b4ccff75