23 lines
805 B
Markdown
23 lines
805 B
Markdown
# 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
|
|
|