This runs an exported impulse on Ambiq Apollo 4 EVB.
-
Apollo 4 EVB (Plus / Blue / Blue Plus)
-
GCC v13.x.x
-
In Edge Impulse Platform: deploy the impulse you want to test as a C++ library and copy the contents of the resulting ZIP (
model-parameters
,tflite-model
andedge-impulse-sdk
folders) into src/edge-impulse -
Paste the raw features array in the following array in
src/ei_main.cpp
static const float features[] = {
// copy raw features here
};
To build the application:
make -j `nproc`
To clean the build:
make clean
To flash the board, first connect the EVK via Segger USB port on the board and run:
make deploy
Important
You need to install JLink software and Cortex-Debug extension. To start a debug session, make sure to connect the board to J6 (JLINK USB) and press F5.
Connect USB-C cables to both APOLLO4 USB connectors. The board will show as a USB device.