I get the following warning when trying to compile my code. It worked previously... I had this issue before and back then what helped was to start the project from scratch again (adding the submodule). But now this does not seem to work. Does anyone have an idea of what is happening here?
running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-arch" "arm64" "-I" "FreeRTOS-Kernel/include" "-I" "FreeRTOS-Kernel/portable/GCC/ARM_CM4F" "-I" "include" "-Wall" "-Wextra" "-o" "/Users/linus/coconut-elu-embedded/target/release/build/coconut-elu-embedded-582a3cfb0564ffbf/out/FreeRTOS-Kernel/list.o" "-c" "FreeRTOS-Kernel/list.c"
cargo:warning=In file included from FreeRTOS-Kernel/list.c:37:
cargo:warning=In file included from FreeRTOS-Kernel/include/FreeRTOS.h:103:
cargo:warning=In file included from FreeRTOS-Kernel/include/portable.h:53:
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:155:48: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
cargo:warning= __asm volatile ( "clz %0, %1" : "=r" ( ucReturn ) : "r" ( ulBitmap ) : "memory" );
cargo:warning= ^
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:155:31: note: use constraint modifier "w"
cargo:warning= __asm volatile ( "clz %0, %1" : "=r" ( ucReturn ) : "r" ( ulBitmap ) : "memory" );
cargo:warning= ^~
cargo:warning= %w0
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:155:67: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
cargo:warning= __asm volatile ( "clz %0, %1" : "=r" ( ucReturn ) : "r" ( ulBitmap ) : "memory" );
cargo:warning= ^
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:155:35: note: use constraint modifier "w"
cargo:warning= __asm volatile ( "clz %0, %1" : "=r" ( ucReturn ) : "r" ( ulBitmap ) : "memory" );
cargo:warning= ^~
cargo:warning= %w1
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:197:46: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
cargo:warning= __asm volatile ( "mrs %0, ipsr" : "=r" ( ulCurrentInterrupt )::"memory" );
cargo:warning= ^
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:197:27: note: use constraint modifier "w"
cargo:warning= __asm volatile ( "mrs %0, ipsr" : "=r" ( ulCurrentInterrupt )::"memory" );
cargo:warning= ^~
cargo:warning= %w0
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:223:18: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
cargo:warning= : "=r" ( ulNewBASEPRI ) : "i" ( configMAX_SYSCALL_INTERRUPT_PRIORITY ) : "memory"
cargo:warning= ^
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:219:17: note: use constraint modifier "w"
cargo:warning= " mov %0, %1 \n" \
cargo:warning= ^~
cargo:warning= %w0
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:223:18: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
cargo:warning= : "=r" ( ulNewBASEPRI ) : "i" ( configMAX_SYSCALL_INTERRUPT_PRIORITY ) : "memory"
cargo:warning= ^
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:220:26: note: use constraint modifier "w"
cargo:warning= " msr basepri, %0 \n" \
cargo:warning= ^~
cargo:warning= %w0
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:240:18: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
cargo:warning= : "=r" ( ulOriginalBASEPRI ), "=r" ( ulNewBASEPRI ) : "i" ( configMAX_SYSCALL_INTERRUPT_PRIORITY ) : "memory"
cargo:warning= ^
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:235:17: note: use constraint modifier "w"
cargo:warning= " mrs %0, basepri \n" \
cargo:warning= ^~
cargo:warning= %w0
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:240:46: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
cargo:warning= : "=r" ( ulOriginalBASEPRI ), "=r" ( ulNewBASEPRI ) : "i" ( configMAX_SYSCALL_INTERRUPT_PRIORITY ) : "memory"
cargo:warning= ^
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:236:17: note: use constraint modifier "w"
cargo:warning= " mov %1, %2 \n" \
cargo:warning= ^~
cargo:warning= %w1
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:240:46: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
cargo:warning= : "=r" ( ulOriginalBASEPRI ), "=r" ( ulNewBASEPRI ) : "i" ( configMAX_SYSCALL_INTERRUPT_PRIORITY ) : "memory"
cargo:warning= ^
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:237:26: note: use constraint modifier "w"
cargo:warning= " msr basepri, %1 \n" \
cargo:warning= ^~
cargo:warning= %w1
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:253:39: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
cargo:warning= " msr basepri, %0 " ::"r" ( ulNewMaskValue ) : "memory"
cargo:warning= ^
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:253:26: note: use constraint modifier "w"
cargo:warning= " msr basepri, %0 " ::"r" ( ulNewMaskValue ) : "memory"
cargo:warning= ^~
cargo:warning= %w0
cargo:warning=9 warnings generated.
exit status: 0
running: "cc" "-Os" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-arch" "arm64" "-I" "FreeRTOS-Kernel/include" "-I" "FreeRTOS-Kernel/portable/GCC/ARM_CM4F" "-I" "include" "-Wall" "-Wextra" "-o" "/Users/linus/coconut-elu-embedded/target/release/build/coconut-elu-embedded-582a3cfb0564ffbf/out/FreeRTOS-Kernel/stream_buffer.o" "-c" "FreeRTOS-Kernel/stream_buffer.c"
cargo:warning=In file included from FreeRTOS-Kernel/stream_buffer.c:38:
cargo:warning=In file included from FreeRTOS-Kernel/include/FreeRTOS.h:103:
cargo:warning=In file included from FreeRTOS-Kernel/include/portable.h:53:
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:155:48: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
cargo:warning= __asm volatile ( "clz %0, %1" : "=r" ( ucReturn ) : "r" ( ulBitmap ) : "memory" );
cargo:warning= ^
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:155:31: note: use constraint modifier "w"
cargo:warning= __asm volatile ( "clz %0, %1" : "=r" ( ucReturn ) : "r" ( ulBitmap ) : "memory" );
cargo:warning= ^~
cargo:warning= %w0
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:155:67: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
cargo:warning= __asm volatile ( "clz %0, %1" : "=r" ( ucReturn ) : "r" ( ulBitmap ) : "memory" );
cargo:warning= ^
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:155:35: note: use constraint modifier "w"
cargo:warning= __asm volatile ( "clz %0, %1" : "=r" ( ucReturn ) : "r" ( ulBitmap ) : "memory" );
cargo:warning= ^~
cargo:warning= %w1
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:197:46: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
cargo:warning= __asm volatile ( "mrs %0, ipsr" : "=r" ( ulCurrentInterrupt )::"memory" );
cargo:warning= ^
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:197:27: note: use constraint modifier "w"
cargo:warning= __asm volatile ( "mrs %0, ipsr" : "=r" ( ulCurrentInterrupt )::"memory" );
cargo:warning= ^~
cargo:warning= %w0
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:223:18: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
cargo:warning= : "=r" ( ulNewBASEPRI ) : "i" ( configMAX_SYSCALL_INTERRUPT_PRIORITY ) : "memory"
cargo:warning= ^
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:219:17: note: use constraint modifier "w"
cargo:warning= " mov %0, %1 \n" \
cargo:warning= ^~
cargo:warning= %w0
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:223:18: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
cargo:warning= : "=r" ( ulNewBASEPRI ) : "i" ( configMAX_SYSCALL_INTERRUPT_PRIORITY ) : "memory"
cargo:warning= ^
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:220:26: note: use constraint modifier "w"
cargo:warning= " msr basepri, %0 \n" \
cargo:warning= ^~
cargo:warning= %w0
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:240:18: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
cargo:warning= : "=r" ( ulOriginalBASEPRI ), "=r" ( ulNewBASEPRI ) : "i" ( configMAX_SYSCALL_INTERRUPT_PRIORITY ) : "memory"
cargo:warning= ^
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:235:17: note: use constraint modifier "w"
cargo:warning= " mrs %0, basepri \n" \
cargo:warning= ^~
cargo:warning= %w0
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:240:46: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
cargo:warning= : "=r" ( ulOriginalBASEPRI ), "=r" ( ulNewBASEPRI ) : "i" ( configMAX_SYSCALL_INTERRUPT_PRIORITY ) : "memory"
cargo:warning= ^
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:236:17: note: use constraint modifier "w"
cargo:warning= " mov %1, %2 \n" \
cargo:warning= ^~
cargo:warning= %w1
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:240:46: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
cargo:warning= : "=r" ( ulOriginalBASEPRI ), "=r" ( ulNewBASEPRI ) : "i" ( configMAX_SYSCALL_INTERRUPT_PRIORITY ) : "memory"
cargo:warning= ^
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:237:26: note: use constraint modifier "w"
cargo:warning= " msr basepri, %1 \n" \
cargo:warning= ^~
cargo:warning= %w1
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:253:39: warning: value size does not match register size specified by the constraint and modifier [-Wasm-operand-widths]
cargo:warning= " msr basepri, %0 " ::"r" ( ulNewMaskValue ) : "memory"
cargo:warning= ^
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:253:26: note: use constraint modifier "w"
cargo:warning= " msr basepri, %0 " ::"r" ( ulNewMaskValue ) : "memory"
cargo:warning= ^~
cargo:warning= %w0
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:235:9: error: expected readable system register
cargo:warning= " mrs %0, basepri \n" \
cargo:warning= ^
cargo:warning=<inline asm>:1:14: note: instantiated into assembly here
cargo:warning= mrs x22, basepri
cargo:warning= ^
cargo:warning=In file included from FreeRTOS-Kernel/stream_buffer.c:38:
cargo:warning=In file included from FreeRTOS-Kernel/include/FreeRTOS.h:103:
cargo:warning=In file included from FreeRTOS-Kernel/include/portable.h:53:
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:237:10: error: expected writable system register or pstate
cargo:warning= " msr basepri, %1 \n" \
cargo:warning= ^
cargo:warning=<inline asm>:3:8: note: instantiated into assembly here
cargo:warning= msr basepri, x8
cargo:warning= ^
cargo:warning=In file included from FreeRTOS-Kernel/stream_buffer.c:38:
cargo:warning=In file included from FreeRTOS-Kernel/include/FreeRTOS.h:103:
cargo:warning=In file included from FreeRTOS-Kernel/include/portable.h:53:
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:239:10: error: too few operands for instruction
cargo:warning= " dsb \n" \
cargo:warning= ^
cargo:warning=<inline asm>:5:4: note: instantiated into assembly here
cargo:warning= dsb
cargo:warning= ^~~
cargo:warning=In file included from FreeRTOS-Kernel/stream_buffer.c:38:
cargo:warning=In file included from FreeRTOS-Kernel/include/FreeRTOS.h:103:
cargo:warning=In file included from FreeRTOS-Kernel/include/portable.h:53:
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:253:9: error: expected writable system register or pstate
cargo:warning= " msr basepri, %0 " ::"r" ( ulNewMaskValue ) : "memory"
cargo:warning= ^
cargo:warning=<inline asm>:1:9: note: instantiated into assembly here
cargo:warning= msr basepri, x22
cargo:warning= ^
cargo:warning=In file included from FreeRTOS-Kernel/stream_buffer.c:38:
cargo:warning=In file included from FreeRTOS-Kernel/include/FreeRTOS.h:103:
cargo:warning=In file included from FreeRTOS-Kernel/include/portable.h:53:
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:235:9: error: expected readable system register
cargo:warning= " mrs %0, basepri \n" \
cargo:warning= ^
cargo:warning=<inline asm>:1:14: note: instantiated into assembly here
cargo:warning= mrs x21, basepri
cargo:warning= ^
cargo:warning=In file included from FreeRTOS-Kernel/stream_buffer.c:38:
cargo:warning=In file included from FreeRTOS-Kernel/include/FreeRTOS.h:103:
cargo:warning=In file included from FreeRTOS-Kernel/include/portable.h:53:
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:237:10: error: expected writable system register or pstate
cargo:warning= " msr basepri, %1 \n" \
cargo:warning= ^
cargo:warning=<inline asm>:3:8: note: instantiated into assembly here
cargo:warning= msr basepri, x8
cargo:warning= ^
cargo:warning=In file included from FreeRTOS-Kernel/stream_buffer.c:38:
cargo:warning=In file included from FreeRTOS-Kernel/include/FreeRTOS.h:103:
cargo:warning=In file included from FreeRTOS-Kernel/include/portable.h:53:
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:239:10: error: too few operands for instruction
cargo:warning= " dsb \n" \
cargo:warning= ^
cargo:warning=<inline asm>:5:4: note: instantiated into assembly here
cargo:warning= dsb
cargo:warning= ^~~
cargo:warning=In file included from FreeRTOS-Kernel/stream_buffer.c:38:
cargo:warning=In file included from FreeRTOS-Kernel/include/FreeRTOS.h:103:
cargo:warning=In file included from FreeRTOS-Kernel/include/portable.h:53:
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:253:9: error: expected writable system register or pstate
cargo:warning= " msr basepri, %0 " ::"r" ( ulNewMaskValue ) : "memory"
cargo:warning= ^
cargo:warning=<inline asm>:1:9: note: instantiated into assembly here
cargo:warning= msr basepri, x21
cargo:warning= ^
cargo:warning=In file included from FreeRTOS-Kernel/stream_buffer.c:38:
cargo:warning=In file included from FreeRTOS-Kernel/include/FreeRTOS.h:103:
cargo:warning=In file included from FreeRTOS-Kernel/include/portable.h:53:
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:235:9: error: expected readable system register
cargo:warning= " mrs %0, basepri \n" \
cargo:warning= ^
cargo:warning=<inline asm>:1:14: note: instantiated into assembly here
cargo:warning= mrs x21, basepri
cargo:warning= ^
cargo:warning=In file included from FreeRTOS-Kernel/stream_buffer.c:38:
cargo:warning=In file included from FreeRTOS-Kernel/include/FreeRTOS.h:103:
cargo:warning=In file included from FreeRTOS-Kernel/include/portable.h:53:
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:237:10: error: expected writable system register or pstate
cargo:warning= " msr basepri, %1 \n" \
cargo:warning= ^
cargo:warning=<inline asm>:3:8: note: instantiated into assembly here
cargo:warning= msr basepri, x8
cargo:warning= ^
cargo:warning=In file included from FreeRTOS-Kernel/stream_buffer.c:38:
cargo:warning=In file included from FreeRTOS-Kernel/include/FreeRTOS.h:103:
cargo:warning=In file included from FreeRTOS-Kernel/include/portable.h:53:
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:239:10: error: too few operands for instruction
cargo:warning= " dsb \n" \
cargo:warning= ^
cargo:warning=<inline asm>:5:4: note: instantiated into assembly here
cargo:warning= dsb
cargo:warning= ^~~
cargo:warning=In file included from FreeRTOS-Kernel/stream_buffer.c:38:
cargo:warning=In file included from FreeRTOS-Kernel/include/FreeRTOS.h:103:
cargo:warning=In file included from FreeRTOS-Kernel/include/portable.h:53:
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:253:9: error: expected writable system register or pstate
cargo:warning= " msr basepri, %0 " ::"r" ( ulNewMaskValue ) : "memory"
cargo:warning= ^
cargo:warning=<inline asm>:1:9: note: instantiated into assembly here
cargo:warning= msr basepri, x21
cargo:warning= ^
cargo:warning=In file included from FreeRTOS-Kernel/stream_buffer.c:38:
cargo:warning=In file included from FreeRTOS-Kernel/include/FreeRTOS.h:103:
cargo:warning=In file included from FreeRTOS-Kernel/include/portable.h:53:
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:235:9: error: expected readable system register
cargo:warning= " mrs %0, basepri \n" \
cargo:warning= ^
cargo:warning=<inline asm>:1:14: note: instantiated into assembly here
cargo:warning= mrs x21, basepri
cargo:warning= ^
cargo:warning=In file included from FreeRTOS-Kernel/stream_buffer.c:38:
cargo:warning=In file included from FreeRTOS-Kernel/include/FreeRTOS.h:103:
cargo:warning=In file included from FreeRTOS-Kernel/include/portable.h:53:
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:237:10: error: expected writable system register or pstate
cargo:warning= " msr basepri, %1 \n" \
cargo:warning= ^
cargo:warning=<inline asm>:3:8: note: instantiated into assembly here
cargo:warning= msr basepri, x8
cargo:warning= ^
cargo:warning=In file included from FreeRTOS-Kernel/stream_buffer.c:38:
cargo:warning=In file included from FreeRTOS-Kernel/include/FreeRTOS.h:103:
cargo:warning=In file included from FreeRTOS-Kernel/include/portable.h:53:
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:239:10: error: too few operands for instruction
cargo:warning= " dsb \n" \
cargo:warning= ^
cargo:warning=<inline asm>:5:4: note: instantiated into assembly here
cargo:warning= dsb
cargo:warning= ^~~
cargo:warning=In file included from FreeRTOS-Kernel/stream_buffer.c:38:
cargo:warning=In file included from FreeRTOS-Kernel/include/FreeRTOS.h:103:
cargo:warning=In file included from FreeRTOS-Kernel/include/portable.h:53:
cargo:warning=FreeRTOS-Kernel/portable/GCC/ARM_CM4F/portmacro.h:253:9: error: expected writable system register or pstate
cargo:warning= " msr basepri, %0 " ::"r" ( ulNewMaskValue ) : "memory"
cargo:warning= ^
cargo:warning=<inline asm>:1:9: note: instantiated into assembly here
cargo:warning= msr basepri, x21
cargo:warning= ^
cargo:warning=9 warnings and 16 errors generated.
exit status: 1