Question
https://wiki.st.com/stm32mcu/wiki/AI:How_to_perform_motion_sensing_on_STM32L4_IoTnode I'm using X-CUBE_AI 7.1.0 but having trouble compiling this example project for motion detection.
ai_input[0].n_batches = 1;
'ai_buffer' {aka 'struct ai_buffer_'} has no member named 'n_batches'
network.h
AI_DEPRECATED
#define AI_NETWORK_IN \
ai_network_inputs_get(AI_HANDLE_NULL, NULL)
This comes up invalid initializer error.
Any ideas? The initial code compiled ok with the acc data apart from a bug in cubemx where the lsm6dsl.h could not be found.
