# Copyright (c) 2021 Antmicro # SPDX-License-Identifier: Apache-2.0 using sysbus $zephyr_elf?=@../build/zephyr/zephyr.elf mach create machine LoadPlatformDescription $ORIGIN/litex-vexriscv-tflite.repl showAnalyzer uart logLevel 3 i2c macro reset """ sysbus LoadELF $zephyr_elf i2c.adxl345 MaxFifoDepth 1 i2c.adxl345 FeedSample $ORIGIN/circle.data i2c.adxl345 FeedSample 0 15000 15000 128 i2c.adxl345 FeedSample 0 0 0 128 i2c.adxl345 FeedSample $ORIGIN/angle.data i2c.adxl345 FeedSample 0 15000 15000 128 i2c.adxl345 FeedSample 0 0 0 128 i2c.adxl345 FeedSample $ORIGIN/circle.data i2c.adxl345 FeedSample 0 15000 15000 128 i2c.adxl345 FeedSample 0 0 0 128 i2c.adxl345 FeedSample $ORIGIN/angle.data i2c.adxl345 FeedSample 0 15000 15000 128 i2c.adxl345 FeedSample 0 0 0 128 """ runMacro $reset