This commit is contained in:
Steven Dan
2025-12-11 09:43:42 +08:00
commit d8b2974133
1822 changed files with 280037 additions and 0 deletions

22
README.md Normal file
View File

@@ -0,0 +1,22 @@
# Spatial audio firmware for Phaten
How to build the firmware:
1. Edit CMakeLists.txt file for target hardware and set the define HOST_OS_DETECTION ON/OFF
2. go to the directory: sw_usb_audio/app_usb_aud_phaten_golden/
3. rm -rf build
4. cmake -B build
5. xmake -C build
6. the binaries are in the directory bin/ex3d_xxxxx/
How to flash the binaries:
1. xflash --erase-all --target-file ./src/core/PHATEN.xn
2. xflash --target-file ./src/core/PHATEN.xn --factory ./bin/ex3d_stereo_2k/app_xxxxx_stereo_2k.xe --upgrade 1 ./bin/ex3d_71_game/app_xxxx_71_game.xe --loader ../../loader/..../loader.o
3. Factory: UAC1.0, upgrade image: UAC2.0
How to build the loader:
1. go to the directory: sw_usb_audio_8.1.0/loader/AN00109_XK-AUDIO-316/src
2. run xcc -march=xs3a -c loader/loader.xc -o loader/loader.o