zrna-research / akso

Embedded Modular Audio DSP Platform with Visual Patcher

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

util/format not workin

lokkiikkol opened this issue · comments

the util/format object is not working, it throws the following error:

`Compiling patch.
/Users/lokki/Library/Akso/build/xpatch.cpp: In member function 'msg_t rootc::instanceformat__1::ThreadX2()':
/Users/lokki/Library/Akso/build/xpatch.cpp:61:28: error: too few arguments to function 'FRESULT f_mkfs(const TCHAR*, const MKFS_PARM*, void*, UINT)'
fs_error = f_mkfs(0, 0, 0);
^
In file included from ../firmware/patch.h:25,
from ../firmware/xpatch.h:2:
/Applications/Akso.app/Contents/Resources/external/ChibiOS/ext/fatfs/source/ff.h:331:9: note: declared here
FRESULT f_mkfs (const TCHAR* path, const MKFS_PARM* opt, void* work, UINT len); /* Create a FAT volume /
^~~~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:67:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/Users/lokki/Library/Akso/build/xpatch.cpp: In static member function 'static msg_t rootc::instanceformat__1::ThreadX(void
)':
/Users/lokki/Library/Akso/build/xpatch.cpp:71:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/Users/lokki/Library/Akso/build/xpatch.cpp: In member function 'void rootc::instanceformat__1::dsp(rootc*, int, int, int32_t&, int32_t&, int32_t&)':
/Users/lokki/Library/Akso/build/xpatch.cpp:96:54: warning: invalid conversion from 'msg_t ()(void)' {aka 'long int ()(void)'} to 'tfunc_t' {aka 'void ()(void)'} [-fpermissive]
NORMALPRIO, ThreadX, (void )this);
^
In file included from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/rt/include/ch.h:117,
from ../firmware/patch.h:21,
from ../firmware/xpatch.h:2:
/Applications/Akso.app/Contents/Resources/external/ChibiOS/os/rt/include/chthreads.h:232:53: note: initializing argument 4 of 'thread_t
chThdCreateStatic(void*, size_t, tprio_t, tfunc_t, void*)'
tprio_t prio, tfunc_t pf, void *arg);
~~~~~~~~^~
make: *** [/Users/lokki/Library/Akso/build/xpatch.o] Error 1
Compiling patch failed.
shell task failed, exit value: 2
axoloti.shell.ExecutionFailedException
axoloti.shell.ExecutionFailedException
at axoloti.shell.ShellTask.run(ShellTask.java:120)
at axoloti.shell.ShellTask.lambda$getJob$0(ShellTask.java:37)
at axoloti.shell.CompilePatch.lambda$run$0(CompilePatch.java:67)
at java.base/java.lang.Thread.run(Thread.java:834)

axoloti.shell.ExecutionFailedException
axoloti.shell.ExecutionFailedException
at axoloti.shell.CompilePatch.run(CompilePatch.java:75)
at axoloti.live.patch.PatchViewLive.lambda$goLive$7(PatchViewLive.java:275)
at axoloti.job.JobProcessor.lambda$exec$0(JobProcessor.java:21)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)

`