Git Product home page Git Product logo

akso's People

Contributors

zrna-research avatar zrnsm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

akso's Issues

OS X Catalina (10.15) device not found/Java errors

When I try to connect to my Akso, I'm now getting one of two errors:

USB device found
Connected to device.
Firmware version on attached device: 3.0.1.0, crc=0x9922E990
Control transfer failed: -9
receive error: LIBUSB_ERROR_PIPE
Disconnected from device.

OR

USB device found
Connected to device.
Firmware version on attached device: 3.0.1.0, crc=0x9922E990
receive error: LIBUSB_ERROR_PIPE
java.io.IOException: java.util.concurrent.TimeoutException
java.io.IOException: java.util.concurrent.TimeoutException
at axoloti.connection.USBBulkConnection_v2.read(USBBulkConnection_v2.java:856)
at axoloti.target.TargetModel.readPatchName(TargetModel.java:391)
at axoloti.target.TargetModel.setPatchIndex(TargetModel.java:322)
at axoloti.connection.USBBulkConnection_v2.lambda$acknowledge_v2$2(USBBulkConnection_v2.java:1058)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1886)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2021)
at axoloti.connection.USBBulkConnection_v2.read(USBBulkConnection_v2.java:852)
… 16 more

disconnecting, reason: Device disconnected
Disconnected from device.

Everything's been working fine from day 1 until a few days ago (can't say quite when because time has no meaning in the After Times). The only thing I've changed system-wide that I can think of is turning off Catalina's security check on every script and application because, though I haven't have any issues with it with Akso, I have with Axoloti and I needed to update another instrument.

Patcher: Cannot add custom library directory

This is on Ubuntu 16.04.
The "Id" field is greyed out no matter what but I cannot proceed without it being defined.
It is not greyed out in the corresponding Axoloti-patcher menu.

Update: Ubuntu 16.04 has an older glibc and cannot compile akso patches anyways, bummer
But I see this issue also manifest with Ubuntu 19

image

IMPORTANT: table in main patch cannot be resolved in subpatch

hi there,
this one is quite important:
a table in a main-patch cannot be resolved in a sub-patch.
axoloti uses the convention '../table' to resolve a table named 'table' located in the main-patch
from inside a sub-patch.
this doesn't work with AKSO, see attached example.
...actually,this may be related to the issue regarding #define that I was on about some time ago,
is it possible that there is something fundamentally-yet-easy-to-fix wrong about referencing 'parents'?
ah that would be so EASY, I figure it's NOT.

BTW, nice that you don't have to click 'update' with AKSO's sub-patchers anymore.

cheers,Robert
table in subpatch BUG.zip

Possible UI Dial smoothness regression

There seems to be a possible regression in how responsive the UI dial is in certain situations, particularly in MacOS.

My suspicion is that this might have something to do with lack of DPI-awareness in some UI calculations coupled with changes in how the JVM deals with DPI scaling.

card reader mode not working on osx

card reader mode (selected from the board menu) gives me:

java.io.FileNotFoundException: /Applications/Akso.app/Contents/Resources/firmware/mounter/mounter_build/mounter.sram1.bin (No such file or directory)
java.io.FileNotFoundException: /Applications/Akso.app/Contents/Resources/firmware/mounter/mounter_build/mounter.sram1.bin (No such file or directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.(FileInputStream.java:157)
at axoloti.connection.USBBulkConnection_v2.write(USBBulkConnection_v2.java:644)
at axoloti.target.TargetModel.uploadPatchToMemory(TargetModel.java:451)
at axoloti.swingui.target.TargetMenu.jMenuItemMountActionPerformed(TargetMenu.java:281)
at axoloti.swingui.target.TargetMenu.access$400(TargetMenu.java:24)
at axoloti.swingui.target.TargetMenu$5.actionPerformed(TargetMenu.java:97)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020)
at java.desktop/com.apple.laf.AquaMenuItemUI.doClick(AquaMenuItemUI.java:157)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6400)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Patcher: Trouble entering card reader mode

As posted in forums, also happens for me on windows:
https://forum.zrna.org/t/trouble-entering-card-reader-mode/171

Connected to device.
Firmware version on attached device: 3.0.1.0, crc=0x9922E990
java.io.FileNotFoundException: d:\akso\akso-3.0.1\firmware\mounter\mounter_build\mounter.sram1.bin (The system cannot find the path specified)
java.io.FileNotFoundException: d:\akso\akso-3.0.1\firmware\mounter\mounter_build\mounter.sram1.bin (The system cannot find the path specified)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.(FileInputStream.java:157)
at axoloti.connection.USBBulkConnection_v2.write(USBBulkConnection_v2.java:644)
at axoloti.target.TargetModel.uploadPatchToMemory(TargetModel.java:451)
at axoloti.swingui.target.TargetMenu.jMenuItemMountActionPerformed(TargetMenu.java:281)
at axoloti.swingui.target.TargetMenu.access$400(TargetMenu.java:24)
at axoloti.swingui.target.TargetMenu$5.actionPerformed(TargetMenu.java:97)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6400)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

Implement remaining unblocked ADC channels

There are six ADC channels that should be relatively easy to add. Pins: C5, F6, F7, F8, F9, H4.

Changes needed at least in axoloti_board.c and in the factory analog in object.

Feature request: Keep add object window open even if user clicks off

If user changes focus while in the add object window, it closes. Could the box only close if the user adds an object or clicks the 'x' to close? Sometimes I need to switch apps to look up something online etc and come back and have to start over. A nice option would be a sidebar that can always be open (or collapsed)

Thanks for consideration

Simpified sampling

Sampling is confusing in the current system.

The idea of having to type filenames exactly is hard on the user. Streaming from the SD card is painful to deal with. We want to play samples from sdram whenever possible. Different patches may reference particular samples.

Revised approach:

  1. Drag and drop or browse host machine for samples to add to the sd card.
  2. play object is aware of all samples on the sd card. Build up a list at startup.
  3. play has a mechanism for selecting a set of samples to be loaded into sdram at patch load, from a dropdown or popup in the patcher.
  4. play has inlets that allow advancing to the next sample in the set while the patch is live.
  5. Other usual sample operations: start and stop position, transposition, etc.

As a short hand, if the play object is in the patch, and the total size of samples on the sdcard is smaller than available sdram, possibly just load everything in.

To simply play back audio, the average user should not be forced to think about the distinction between sdram, the sd card, flash, sram and so on. Or even creating a signal that indexes into the audio data properly.

Linking issue with .cpp file used by multiple object-instances in a patch

objects.zip

  1. Extract the zip-file to "akso-community" or similar and "Reload Objects" to make them discoverable
  2. Create a blank patch
  3. Insert an "riserquencer" object
  4. Run the patch by clicking on the "Live" button
  5. Observe the Akso patcher log, there should be no errors and an "INIT RISERQUENCER CLASS" printout.
  6. Now add another "riserquencer" object
  7. Run the patch again by clicking on the "Live" button
  8. Observe the patcher log and see many "error: redefinition of 'ivogrigull::Multitrack::Multitrack()" printouts

I added both, the .h and .cpp files to the include section of the object. One header file includes the other.
Any help is appreciated, maybe I did something wrong.

Edit:

I found that I can make it work by simple adding a "#pragma once" at the top of each .cpp file.
I guess that fixes it for me but is it a good solution or is there a better, canonical best practice?

patcher window menu

maybe this is intentional, but in contrast to the axoloti patcher the window menu of akso is displayed per window and not in the menubar on top of OSX.

Feature request: Keyboard shortcut for add object

Would it be possible to add a keyboard shortcut for add new objects? Perhaps Command/Control 1 or the + (plus for add) if it's not being used would be nice. I have tried to setup a keystroke/menu utility on Mac but it doesn't have access to the AKSO menu GUI like native apps. Thanks for consideration.

Host Port Midi Note out issue (receive error: LIBUSB_ERROR_PIPE)

Whilst attempting to send clock out usb host port 1 using factory object midi/out/clock and notes out using cpwitz/midi/arpeggiator and a midi/out/note I get a patch load error, and akso restarts. The same exact patches work with axoloti. The error appears below

USB device found
Connected to device.
Firmware version on attached device: 3.0.1.0, crc=0x9922E990
Generate code complete
Compiling patch.
/Users/reubenfinger/Library/Akso/build/xpatch.cpp: In member function ‘void rootc::instanceclock__1::dsp(rootc*, bool, bool, bool&, int32_t&, int32_t&, int)’:
/Users/reubenfinger/Library/Akso/build/xpatch.cpp:120:24: warning: integer overflow in expression of type ‘int’ results in ‘2147483647’ [-Woverflow]
_posfrac &= (1<<31)-1;

Memory region Used Size Region Size %age Used
SRAM: 3356 B 384 KB 0.85%
SRAM2: 0 GB 8 KB 0.00%
SRAM3: 1768 B 118 KB 1.46%
CCMSRAM: 964 B 116 KB 0.81%
SDRAM: 0 GB 32 MB 0.00%
done /Users/reubenfinger/Library/Akso/build/xpatch
Done compiling patch.
receive error: LIBUSB_ERROR_PIPE
Control transfer failed: -9
Disconnected from device.
java.io.IOException: java.util.concurrent.TimeoutException
java.io.IOException: java.util.concurrent.TimeoutException
at axoloti.connection.USBBulkConnection_v2.read(USBBulkConnection_v2.java:856)
at axoloti.live.patch.PatchViewLive.lambda$goLive$7(PatchViewLive.java:279)
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)
Caused by: java.util.concurrent.TimeoutException
at java.base/java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1886)
at java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2021)
at axoloti.connection.USBBulkConnection_v2.read(USBBulkConnection_v2.java:852)
… 5 more

sed missing in windows

part of the make process uses sed on lines 98/99 of Makefile.patch (and other places) but windows does not have a native sed. So you get this, say by going live with tutorial 1:

Connected to device.
Firmware version on attached device: 3.0.1.0, crc=0x9922E990
Loading path: Z:\music_programming\akso-3.0.1\objects
Loading path: Z:\music_programming\akso-3.0.1\akso-community\objects
Object libraries loaded successfully.
Generate code complete
Compiling patch.
'sed' is not recognized as an internal or external command,
operable program or batch file.
process_begin: CreateProcess(NULL, sed -n s/^//$MODULES=(.)/\1/gp ../build/xpatch.cpp, ...) failed.
Makefile.patch:98: pipe: No such file or directory
process_begin: CreateProcess(NULL, sed -n s/^//$MODULE_DIRS=(.
)/\1/gp ../build/xpatch.cpp, ...) failed.
Makefile.patch:99: pipe: No such file or directory
Memory region Used Size Region Size %age Used
SRAM: 5820 B 384 KB 1.48%
SRAM2: 0 GB 8 KB 0.00%
SRAM3: 1776 B 118 KB 1.47%
CCMSRAM: 1452 B 116 KB 1.22%
SDRAM: 0 GB 32 MB 0.00%
done ../build/xpatch
Done compiling patch.

Well this is ok I guess ince the patch loads, I havent figured out why the makefile wants to s(tream)ed(it) the first lines of xpatch.cpp. So I went ahead and added my bin directory from msys64, which DOES have sed to the path so now it can execute those lines, so now you get:

Compiling patch.
FIND: Parameter format not correct
sed: -e expression #1, char 6: unknown option to s' sed: -e expression #1, char 6: unknown option to s'
/usr/bin/sh: line 1: Z:music_programmingakso-3.0.1external/gcc-arm/win/gcc-arm-none-eabi-8-2019-q3-update/bin/arm-none-eabi-g++.exe: No such file or directory
make: *** [Makefile.patch:105: ../build/xpatch.o] Error 127
shell task failed, exit value: 1
Compiling patch failed.
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)

This is not good because the compile fails completely. I will look into why the sed command is messing up and report back, unless someone tells me that the entire process of doing this thing is unnecessary. I think this error is appearing because now line 77 of Makefile.patch executes with some error and now fails to properly add all the slashes to the path to the arm compiler.

The sed commands inside of the makefile are:

%.o: %.cpp ${MODULE_LIBS} ${BDIR}/xpatch.h.gch
$(eval MODULES := $(shell sed -n 's/^//$$MODULES=(.)/\1/gp' $<))
$(eval MODULE_DIRS := $(shell sed -n 's/^//$$MODULE_DIRS=(.
)/\1/gp' $<))

Sorry I am not a makefile expert so if anyone can chime in we could probably figure this out easily

midi : several controllers not working (win 10)

several controllers that are working with axoloti are not working with AKSO:

  • ableton push 1
    -novation launchpad mini mk 3

what is working is:

  • kork mpk mini 1.st gen

...with the push, I get an error 'midi out overflow' in the console

object tiar/XT/load not working

this objects throws the following error:

Generate code complete
Compiling patch.
/Users/lokki/Library/Akso/build/xpatch.cpp:4:10: fatal error: chibios/ext/fatfs/src/ff.h: No such file or directory
#include "chibios/ext/fatfs/src/ff.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [/Users/lokki/Library/Akso/build/xpatch.o] Error 1
shell task failed, exit value: 2
Compiling patch failed.
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)

Ensure that preferences file is stored in ~/Library/Akso on Mac (explicitly specify path)

File p = new File(Preferences.getPrefsFileLoc());

The prefs file is just assumed to be in the current working directory of the application. This is just fine on Windows and Linux. The file gets stored in the installation directory.

On Mac, this is actually inside the .app which is not normally writable.

Right now we detect MacOS and write the library files to ~/Library/Akso. The prefs file needs to be written there as well. We should be able to follow the same exact pattern.

compiler / firmware : references to other objects via #define don't work

I often ues a construction including #define to create a reference for multiple tables.
the purpose is to have a 'master' - object, holding these references,
and other 'slave' - objects that can resolve the references.
practical example:
the master- objects references sample waveform data, parameters and other stuff stored in different tables,
the slave- objects only needs to reference the master-object to have access to these tables
(instead of for example having to create a lot of attributes, but there are other benefits)

this is pretty critical for what I'm doing right now with axoloti,and doesn't work with AKSO.
example , created with the axoloti-patcher, attached.
define bug.zip

I read about a different bug with #include that might be related.

Go live needs to be faster

  • Ensure that compilation is as fast as theoretically possible. Do the minimum work possible for each patch. Make sure that the make call is actually parallelized.
  • Cache as much as possible. If a patch is exactly the same and has been compiled previously, just reload it. Expand the xpatch.cpp format so that it's easier to compile changed parts in isolation or in parallel rather than recompiling the entire patch.
  • Longer term: install objects ahead of time, send API messages. No compilation per patch unless an object needs to be updated.

rbrt loop_multi.axh

is throwing the following error:

Compiling patch.
/Users/lokki/Library/Akso/build/xpatch.cpp: In member function 'void rootc::instancescale_space_transport_space_tempo::instancetablestore__1::dsp(rootc::instancescale_space_transport_space_tempo*, int32_t, int32_t, int32_t, int32_t, int32_t, int32_t&, int32_t&, int32_t&, int32_t&)':
/Users/lokki/Library/Akso/build/xpatch.cpp:726:9: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
parent->parent->instancedata_i.array[inlet_offset + 0]=__SSAT(inlet_v0,28)>>parent->parent->instancedata_i.GAIN;
^~~~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:726:85: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
parent->parent->instancedata_i.array[inlet_offset + 0]=__SSAT(inlet_v0,28)>>parent->parent->instancedata_i.GAIN;
^~~~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:727:20: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
outlet_v0= parent->parent->instancedata_i.array[__USAT((inlet_offset + 0),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;
^~~~~~
In file included from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/cmsis_compiler.h:48,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/core_cm7.h:162,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ST/STM32H7xx/stm32h753xx.h:225,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ST/STM32H7xx/stm32h7xx.h:119,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/startup/ARMCMx/devices/STM32H7xx/cmparams.h:73,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ports/ARMCMx/chcore.h:70,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/rt/include/ch.h:110,
from ../firmware/patch.h:21,
from ../firmware/xpatch.h:2:
/Users/lokki/Library/Akso/build/xpatch.cpp:727:83: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
outlet_v0= parent->parent->instancedata_i.array[__USAT((inlet_offset + 0),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;
^~~~~~
/Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/cmsis_gcc.h:1173:51: note: in definition of macro '__USAT'
__ASM ("usat %0, %1, %2" : "=r" (__RES) : "I" (ARG2), "r" (__ARG1) );
^~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:727:127: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
outlet_v0= parent->parent->instancedata_i.array[__USAT((inlet_offset + 0),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;
^~~~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:730:26: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
else {outlet_v0= parent->parent->instancedata_i.array[__USAT((inlet_offset + 0),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;}
^~~~~~
In file included from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/cmsis_compiler.h:48,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/core_cm7.h:162,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ST/STM32H7xx/stm32h753xx.h:225,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ST/STM32H7xx/stm32h7xx.h:119,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/startup/ARMCMx/devices/STM32H7xx/cmparams.h:73,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ports/ARMCMx/chcore.h:70,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/rt/include/ch.h:110,
from ../firmware/patch.h:21,
from ../firmware/xpatch.h:2:
/Users/lokki/Library/Akso/build/xpatch.cpp:730:89: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
else {outlet_v0= parent->parent->instancedata_i.array[__USAT((inlet_offset + 0),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;}
^~~~~~
/Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/cmsis_gcc.h:1173:51: note: in definition of macro '__USAT'
__ASM ("usat %0, %1, %2" : "=r" (__RES) : "I" (ARG2), "r" (__ARG1) );
^~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:730:133: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
else {outlet_v0= parent->parent->instancedata_i.array[__USAT((inlet_offset + 0),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;}
^~~~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:733:9: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
parent->parent->instancedata_i.array[inlet_offset + 1]=__SSAT(inlet_v1,28)>>parent->parent->instancedata_i.GAIN;
^~~~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:733:85: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
parent->parent->instancedata_i.array[inlet_offset + 1]=__SSAT(inlet_v1,28)>>parent->parent->instancedata_i.GAIN;
^~~~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:734:20: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
outlet_v1= parent->parent->instancedata_i.array[__USAT((inlet_offset + 1),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;
^~~~~~
In file included from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/cmsis_compiler.h:48,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/core_cm7.h:162,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ST/STM32H7xx/stm32h753xx.h:225,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ST/STM32H7xx/stm32h7xx.h:119,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/startup/ARMCMx/devices/STM32H7xx/cmparams.h:73,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ports/ARMCMx/chcore.h:70,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/rt/include/ch.h:110,
from ../firmware/patch.h:21,
from ../firmware/xpatch.h:2:
/Users/lokki/Library/Akso/build/xpatch.cpp:734:83: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
outlet_v1= parent->parent->instancedata_i.array[__USAT((inlet_offset + 1),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;
^~~~~~
/Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/cmsis_gcc.h:1173:51: note: in definition of macro '__USAT'
__ASM ("usat %0, %1, %2" : "=r" (__RES) : "I" (ARG2), "r" (__ARG1) );
^~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:734:127: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
outlet_v1= parent->parent->instancedata_i.array[__USAT((inlet_offset + 1),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;
^~~~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:737:26: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
else {outlet_v1= parent->parent->instancedata_i.array[__USAT((inlet_offset + 1),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;}
^~~~~~
In file included from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/cmsis_compiler.h:48,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/core_cm7.h:162,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ST/STM32H7xx/stm32h753xx.h:225,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ST/STM32H7xx/stm32h7xx.h:119,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/startup/ARMCMx/devices/STM32H7xx/cmparams.h:73,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ports/ARMCMx/chcore.h:70,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/rt/include/ch.h:110,
from ../firmware/patch.h:21,
from ../firmware/xpatch.h:2:
/Users/lokki/Library/Akso/build/xpatch.cpp:737:89: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
else {outlet_v1= parent->parent->instancedata_i.array[__USAT((inlet_offset + 1),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;}
^~~~~~
/Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/cmsis_gcc.h:1173:51: note: in definition of macro '__USAT'
__ASM ("usat %0, %1, %2" : "=r" (__RES) : "I" (ARG2), "r" (__ARG1) );
^~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:737:133: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
else {outlet_v1= parent->parent->instancedata_i.array[__USAT((inlet_offset + 1),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;}
^~~~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:740:9: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
parent->parent->instancedata_i.array[inlet_offset + 2]=__SSAT(inlet_v2,28)>>parent->parent->instancedata_i.GAIN;
^~~~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:740:85: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
parent->parent->instancedata_i.array[inlet_offset + 2]=__SSAT(inlet_v2,28)>>parent->parent->instancedata_i.GAIN;
^~~~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:741:20: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
outlet_v2= parent->parent->instancedata_i.array[__USAT((inlet_offset + 2),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;
^~~~~~
In file included from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/cmsis_compiler.h:48,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/core_cm7.h:162,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ST/STM32H7xx/stm32h753xx.h:225,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ST/STM32H7xx/stm32h7xx.h:119,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/startup/ARMCMx/devices/STM32H7xx/cmparams.h:73,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ports/ARMCMx/chcore.h:70,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/rt/include/ch.h:110,
from ../firmware/patch.h:21,
from ../firmware/xpatch.h:2:
/Users/lokki/Library/Akso/build/xpatch.cpp:741:83: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
outlet_v2= parent->parent->instancedata_i.array[__USAT((inlet_offset + 2),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;
^~~~~~
/Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/cmsis_gcc.h:1173:51: note: in definition of macro '__USAT'
__ASM ("usat %0, %1, %2" : "=r" (__RES) : "I" (ARG2), "r" (__ARG1) );
^~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:741:127: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
outlet_v2= parent->parent->instancedata_i.array[__USAT((inlet_offset + 2),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;
^~~~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:744:26: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
else {outlet_v2= parent->parent->instancedata_i.array[__USAT((inlet_offset + 2),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;}
^~~~~~
In file included from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/cmsis_compiler.h:48,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/core_cm7.h:162,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ST/STM32H7xx/stm32h753xx.h:225,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ST/STM32H7xx/stm32h7xx.h:119,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/startup/ARMCMx/devices/STM32H7xx/cmparams.h:73,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ports/ARMCMx/chcore.h:70,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/rt/include/ch.h:110,
from ../firmware/patch.h:21,
from ../firmware/xpatch.h:2:
/Users/lokki/Library/Akso/build/xpatch.cpp:744:89: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
else {outlet_v2= parent->parent->instancedata_i.array[__USAT((inlet_offset + 2),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;}
^~~~~~
/Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/cmsis_gcc.h:1173:51: note: in definition of macro '__USAT'
__ASM ("usat %0, %1, %2" : "=r" (__RES) : "I" (ARG2), "r" (__ARG1) );
^~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:744:133: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
else {outlet_v2= parent->parent->instancedata_i.array[__USAT((inlet_offset + 2),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;}
^~~~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:747:9: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
parent->parent->instancedata_i.array[inlet_offset + 3]=__SSAT(inlet_v3,28)>>parent->parent->instancedata_i.GAIN;
^~~~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:747:85: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
parent->parent->instancedata_i.array[inlet_offset + 3]=__SSAT(inlet_v3,28)>>parent->parent->instancedata_i.GAIN;
^~~~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:748:20: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
outlet_v3= parent->parent->instancedata_i.array[__USAT((inlet_offset + 3),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;
^~~~~~
In file included from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/cmsis_compiler.h:48,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/core_cm7.h:162,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ST/STM32H7xx/stm32h753xx.h:225,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ST/STM32H7xx/stm32h7xx.h:119,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/startup/ARMCMx/devices/STM32H7xx/cmparams.h:73,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ports/ARMCMx/chcore.h:70,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/rt/include/ch.h:110,
from ../firmware/patch.h:21,
from ../firmware/xpatch.h:2:
/Users/lokki/Library/Akso/build/xpatch.cpp:748:83: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
outlet_v3= parent->parent->instancedata_i.array[__USAT((inlet_offset + 3),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;
^~~~~~
/Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/cmsis_gcc.h:1173:51: note: in definition of macro '__USAT'
__ASM ("usat %0, %1, %2" : "=r" (__RES) : "I" (ARG2), "r" (__ARG1) );
^~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:748:127: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
outlet_v3= parent->parent->instancedata_i.array[__USAT((inlet_offset + 3),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;
^~~~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:751:26: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
else {outlet_v3= parent->parent->instancedata_i.array[__USAT((inlet_offset + 3),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;}
^~~~~~
In file included from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/cmsis_compiler.h:48,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/core_cm7.h:162,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ST/STM32H7xx/stm32h753xx.h:225,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ST/STM32H7xx/stm32h7xx.h:119,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/startup/ARMCMx/devices/STM32H7xx/cmparams.h:73,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ports/ARMCMx/chcore.h:70,
from /Applications/Akso.app/Contents/Resources/external/ChibiOS/os/rt/include/ch.h:110,
from ../firmware/patch.h:21,
from ../firmware/xpatch.h:2:
/Users/lokki/Library/Akso/build/xpatch.cpp:751:89: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
else {outlet_v3= parent->parent->instancedata_i.array[__USAT((inlet_offset + 3),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;}
^~~~~~
/Applications/Akso.app/Contents/Resources/external/ChibiOS/os/common/ext/ARM/CMSIS/Core/Include/cmsis_gcc.h:1173:51: note: in definition of macro '__USAT'
__ASM ("usat %0, %1, %2" : "=r" (__RES) : "I" (ARG2), "r" (__ARG1) );
^~~~
/Users/lokki/Library/Akso/build/xpatch.cpp:751:133: error: 'class rootc::instancescale_space_transport_space_tempo' has no member named 'parent'
else {outlet_v3= parent->parent->instancedata_i.array[__USAT((inlet_offset + 3),parent->parent->instancedata_i.LENGTHPOW)]<parent->instancedata_i.GAIN;}
^~~~~~
make: *** [/Users/lokki/Library/Akso/build/xpatch.o] Error 1
shell task failed, exit value: 2
Compiling patch failed.
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)

util/format not workin

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)

`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.