@i1234
我設法解決了 SDK(0.8 和 0.9 版本)的大多數問題,現在我已將工具鏈安裝在正確的位置,並且已確認它可以正常工作。
但是,兩個 SDK 版本的編譯都會失敗。我在“ALSA”、“THERMAL”等驅動程式中遇到了問題。
以下是我收到的輸出訊息:
CC build/r128s2_devkit_c906/components/common/aw/amp/msgbuffer.o
CC build/r128s2_devkit_c906/drivers/drv/wireless/xradio/adapter/cmd_wlan/cmd_lmac.o
CC build/r128s2_devkit_c906/components/aw/bluetooth/xradio/cmd/bluedroid/cmd_bt/cmd_hfp_ag.o
CC build/r128s2_devkit_c906/components/common/aw/amp/amp_threadpool.o
components/aw/bluetooth/xradio/cmd/bluedroid/cmd_bt/cmd_hfp_ag.c: In function 'bt_app_hf_outgoing_cb':
components/aw/bluetooth/xradio/cmd/bluedroid/cmd_bt/cmd_hfp_ag.c:145:2: internal compiler error: Illegal instruction
const float pi = 3.1415926;
^~~~~
LD build/r128s2_devkit_c906/drivers/rtos-hal/hal/source/lpuart/obj-in.o
CC b
CC build/r128s2_devkit_c906/components/common/aw/amp/service/rpdata/rpdata_stub.o
CC build/r128s2_devkit_c906/drivers/drv/input/keyboard/gpadc-key.o
components/common/aw/AudioSystem/utils/as_test.c: In function 'sine_generate':
components/common/aw/AudioSystem/utils/as_test.c:151:2: internal compiler error: Illegal instruction
else if (amp < 0.01)
^~~~
LD build/r128s2_devkit_c906/drivers/rtos-hal/hal/source/sound/common/obj-in.o
CC build/r128s2_devkit_c906/drivers/rtos-hal/hal/source/sound/component/aw-alsa-utils/aplay.o
drivers/rtos-hal/hal/source/sound/component/aw-alsa-utils/aplay.c: In function 'sine_generate':
drivers/rtos-hal/hal/source/sound/component/aw-alsa-utils/aplay.c:266:4: internal compiler error: Illegal instruction
int16_t value = (int16_t)(accuracy * sin(2 * (double)PI * i / sine_point));
^~~~~~~
MKDIR build/r128s2_devkit_c906/drivers/drv/bluetooth/lib/
CC build/r128s2_devkit_c906/drivers/drv/bluetooth/lib/bt_lib.o
CC build/r128s2_devkit_c906/drivers/rtos-hal/hal/source/sound/component/aw-alsa-util
我想知道其他人是否也面臨同樣的問題!