xcore_iot examples won't compile Topic is solved

Technical questions regarding the XTC tools and programming with XMOS.
atomicdog
New User
Posts: 2
Joined: Mon Jan 06, 2025 5:09 am

xcore_iot examples won't compile

Post by atomicdog »

Does someone know what 'Error: A00001 Unreconciled syntax error' is caused by?

I can build libraries:

Code: Select all

john@surface:~/repos/xcore_iot/build_xs3a$ ninja liblib_spi.a
[3/3] Linking C static library modules/io/modules/spi/liblib_spi.a
modules/io/modules/spi/liblib_spi.a
But none of the examples:

Code: Select all

john@surface:~/repos/xcore_iot/build_xs3a$ ninja tile0_example_freertos_audio_mux
[6/293] Building C object CMakeFiles/tile0_example_freertos_audio_mux.dir/m.../FreeRTOS/FreeRTOS-SMP-Kernel/portable/ThirdParty/xClang/XCOREAI/port.c.obj
FAILED: CMakeFiles/tile0_example_freertos_audio_mux.dir/modules/rtos/modules/FreeRTOS/FreeRTOS-SMP-Kernel/portable/ThirdParty/xClang/XCOREAI/port.c.obj
/home/john/XMOS/XTC/15.3.0/bin/xcc 
...
obj -c /home/john/repos/xcore_iot/modules/rtos/modules/FreeRTOS/FreeRTOS-SMP-Kernel/portable/ThirdParty/xClang/XCOREAI/port.c
/tmp/ccY35o4H.s:6: Error: A00001 Unreconciled syntax error
[15/293] Building C object CMakeFiles/tile0_example_freertos_audio_mux.dir/...s/sw_services/usb/thirdparty/tinyusb_src/src/class/audio/audio_device.c.obj
ninja: build stopped: subcommand failed.
View Solution
MichaelB
Verified
Junior Member
Posts: 4
Joined: Wed Feb 21, 2018 4:25 pm

Post by MichaelB »

Hi atomicdog,

Try building the example using the 15.2.1 version of XTC rather than 15.3.0.
atomicdog
New User
Posts: 2
Joined: Mon Jan 06, 2025 5:09 am

Post by atomicdog »

Yeah, I can compile with 15.2.1.
Thanks.