diff options
author | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2021-05-07 16:08:14 +0100 |
---|---|---|
committer | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2021-05-07 17:28:51 +0100 |
commit | f9c19eaa9ab11e4409679fc6d2862c89410493a7 (patch) | |
tree | b791a4c03f1fe986a2ac32593a3dc817ae3f247a /source/application/hal/platforms/bare-metal/bsp/bsp-packs/mps3/device_mps3.c | |
parent | 2181d0ac35f30202985a877950c88325ff665f6b (diff) | |
download | ml-embedded-evaluation-kit-f9c19eaa9ab11e4409679fc6d2862c89410493a7.tar.gz |
MLECO-1860: Support for Arm GNU Embedded Toolchain
This patch enables compilation of ML use cases bare-metal applications
using Arm GNU Embedded Toolchain. The GNU toolchain can be used instead
of the Arm Compiler that was already supported.
The GNU toolchain is also set as the default toolchain when building
applications for the MPS3 target.
Note: The version of GNU toolchain must be 10.2.1 or higher.
Change-Id: I5fff242f0f52d2db6c75d292f9fa990df1aec978
Signed-off-by: Kshitij Sisodia <kshitij.sisodia@arm.com>
Diffstat (limited to 'source/application/hal/platforms/bare-metal/bsp/bsp-packs/mps3/device_mps3.c')
-rw-r--r-- | source/application/hal/platforms/bare-metal/bsp/bsp-packs/mps3/device_mps3.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/application/hal/platforms/bare-metal/bsp/bsp-packs/mps3/device_mps3.c b/source/application/hal/platforms/bare-metal/bsp/bsp-packs/mps3/device_mps3.c index f4f2e6b..7040cf3 100644 --- a/source/application/hal/platforms/bare-metal/bsp/bsp-packs/mps3/device_mps3.c +++ b/source/application/hal/platforms/bare-metal/bsp/bsp-packs/mps3/device_mps3.c @@ -19,6 +19,8 @@ #include "bsp_core_log.h" #include "smm_mps3.h" +#include <inttypes.h> + uint32_t GetMPS3CoreClock(void) { const uint32_t default_clock = 32000000; @@ -28,7 +30,7 @@ uint32_t GetMPS3CoreClock(void) } if (!warned_once) { - warn("MPS3_SCC->CFG_ACLK reads 0. Assuming default clock of %u\n", + warn("MPS3_SCC->CFG_ACLK reads 0. Assuming default clock of %" PRIu32 "\n", default_clock); warned_once = 1; } |