1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-16 10:58:57 +01:00
OpenVoiceOS/buildroot-external/package/xvf3510/xvf3510-start
j1nx f1cda8e142 [WIP] More work on the SJ201 support.
Output all ok now
Input still a lot of static noise (trying to figure it out)
2021-05-14 19:46:14 +02:00

20 lines
345 B
Bash
Executable File

#! /usr/bin/env sh
modprobe i2s_master_loader
setup_bclk
setup_mclk
# Startup xvf3510
XMOS_POWER=16
XMOS_RESET=27
gpio -g mode $XMOS_POWER out
gpio -g mode $XMOS_RESET out
sleep 0.1
gpio -g write $XMOS_POWER 1
gpio -g write $XMOS_RESET 1
sleep 1
xvf3510-flash --direct "/usr/lib/firmware/xvf3510/app_xvf3510_int_spi_boot_v4_1_0.bin"
sleep 1