Git Product home page Git Product logo

akso-community's People

Contributors

adreamofpatterns avatar albertvanderzee avatar attejensen avatar axoloti avatar berendkleinhaneveld avatar crococode avatar davidmbax avatar deadsy avatar djeremaille avatar fbruenig avatar floaudio avatar gassolini avatar helluscorus avatar herrpaule avatar jlswbs avatar johannestaelman avatar lokkiikkol avatar noloops avatar oscarabraham avatar philoop1 avatar privatepublic-de avatar quincas avatar rbrt23 avatar sirsicksik avatar smashedtransistors avatar teamtalker avatar thetechnobear avatar toneburst avatar vormplus avatar zrnsm avatar

Stargazers

 avatar  avatar

Watchers

 avatar

akso-community's Issues

Can't Enter card reader mode on Mac OS X High Sierra or Mojave

Cannot enter card reader mode, compiler throws up this error:

Disconnected from device.
USB device found
Connected to device.
Firmware version on attached device: 3.0.1.0, crc=0x9922E990
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)

jt/granular/graintable uses F4-specific DMA feature, needs H7 fix

When I compile a patch using the jt/granular/graintable, the compiler throws the following compedious error pile:

Done compiling patch.
Saving preferences...
Preferences path: /Applications/Akso.app/Contents/Resources/axoloti.prefs
Saving preferences...
Preferences path: /Applications/Akso.app/Contents/Resources/axoloti.prefs
Generate code complete
Compiling patch.
/Users/joshua/Library/Akso/build/xpatch.cpp: In member function 'void rootc::instancegraintable__1::setupDMACopy(int)':
/Users/joshua/Library/Akso/build/xpatch.cpp:447:17: error: 'DMA2D_IFSR_CTEIF' was not declared in this scope
  DMA2D->IFCR |= DMA2D_IFSR_CTEIF;
                 ^~~~~~~~~~~~~~~~
/Users/joshua/Library/Akso/build/xpatch.cpp:447:17: note: suggested alternative: 'DMA2D_IFCR_CTEIF'
  DMA2D->IFCR |= DMA2D_IFSR_CTEIF;
                 ^~~~~~~~~~~~~~~~
                 DMA2D_IFCR_CTEIF
/Users/joshua/Library/Akso/build/xpatch.cpp:448:17: error: 'DMA2D_IFSR_CTCIF' was not declared in this scope
  DMA2D->IFCR |= DMA2D_IFSR_CTCIF;
                 ^~~~~~~~~~~~~~~~
/Users/joshua/Library/Akso/build/xpatch.cpp:448:17: note: suggested alternative: 'DMA2D_ISR_CTCIF'
  DMA2D->IFCR |= DMA2D_IFSR_CTCIF;
                 ^~~~~~~~~~~~~~~~
                 DMA2D_ISR_CTCIF
/Users/joshua/Library/Akso/build/xpatch.cpp: In member function 'int32_t* rootc::instancegraintable__1::getNewOffset(int, int)':
/Users/joshua/Library/Akso/build/xpatch.cpp:510:46: error: 'parent' was not declared in this scope
  int32_t tpdf = (GenerateRandomNumber()>>(32-parent->instancegraintable_i.LENGTHPOW))+(GenerateRandomNumber()>>(32-parent->instancegraintable_i.LENGTHPOW));
                                              ^~~~~~
/Users/joshua/Library/Akso/build/xpatch.cpp:510:46: note: suggested alternative: '_reent'
  int32_t tpdf = (GenerateRandomNumber()>>(32-parent->instancegraintable_i.LENGTHPOW))+(GenerateRandomNumber()>>(32-parent->instancegraintable_i.LENGTHPOW));
                                              ^~~~~~
                                              _reent
/Users/joshua/Library/Akso/build/xpatch.cpp: In member function 'void rootc::instancegraintable__1::Init(rootc*)':
/Users/joshua/Library/Akso/build/xpatch.cpp:550:17: error: 'RCC_AHB1ENR_DMA2DEN' was not declared in this scope
 RCC->AHB1ENR |= RCC_AHB1ENR_DMA2DEN;
                 ^~~~~~~~~~~~~~~~~~~
/Users/joshua/Library/Akso/build/xpatch.cpp:550:17: note: suggested alternative: 'RCC_AHB1ENR_DMA2EN'
 RCC->AHB1ENR |= RCC_AHB1ENR_DMA2DEN;
                 ^~~~~~~~~~~~~~~~~~~
                 RCC_AHB1ENR_DMA2EN
/Users/joshua/Library/Akso/build/xpatch.cpp:551:18: error: 'RCC_AHB1RSTR_DMA2DRST' was not declared in this scope
 RCC->AHB1RSTR |= RCC_AHB1RSTR_DMA2DRST;
                  ^~~~~~~~~~~~~~~~~~~~~
/Users/joshua/Library/Akso/build/xpatch.cpp:551:18: note: suggested alternative: 'RCC_AHB1RSTR_DMA2RST'
 RCC->AHB1RSTR |= RCC_AHB1RSTR_DMA2DRST;
                  ^~~~~~~~~~~~~~~~~~~~~
                  RCC_AHB1RSTR_DMA2RST
make: *** [/Users/joshua/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)

TSG/dist/diodeSat needs fix

Came across this if TSG/dist/diodeSat is introduced into the patch, the patch won't go live and gives this error

Users/reubenfinger/Library/Akso/build/xpatch.cpp:96:15: error: 'left' was not declared in this scope
a += (int64_t)left * ((64<<21)-fractional);
^~~~
/Users/reubenfinger/Library/Akso/build/xpatch.cpp:96:15: note: suggested alternative: 'leds'
a += (int64_t)left * ((64<<21)-fractional);
^~~~
leds
make: *** [/Users/reubenfinger/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)

TIAR Oled object theows compiler issues

This happens with I2c diplays:
SSD 1306: 0.96", 1.3",
SSD 1309 2.42"
All these displays are working on the axoloti

`Generate code complete
Compiling patch.
Der Befehl "sed" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
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
In file included from ../firmware/spilink.h:29,
from ../firmware/axoloti.h:33,
from ../firmware/xpatch.h:3:
../firmware/axoloti_control.h:21:18: error: expected identifier before numeric constant
#define LCDWIDTH 128
^~~
../build/xpatch.cpp:165:1: note: in expansion of macro 'LCDWIDTH'
LCDWIDTH = 128,
^~~~~~~~
../firmware/axoloti_control.h:21:18: error: expected '}' before numeric constant
#define LCDWIDTH 128
^~~
../build/xpatch.cpp:165:1: note: in expansion of macro 'LCDWIDTH'
LCDWIDTH = 128,
^~~~~~~~
../build/xpatch.cpp:164:14: note: to match this '{'
enum SSD1306 {
^
In file included from ../firmware/spilink.h:29,
from ../firmware/axoloti.h:33,
from ../firmware/xpatch.h:3:
../firmware/axoloti_control.h:21:18: error: expected unqualified-id before numeric constant
#define LCDWIDTH 128
^~~
../build/xpatch.cpp:165:1: note: in expansion of macro 'LCDWIDTH'
LCDWIDTH = 128,
^~~~~~~~
../build/xpatch.cpp: In member function 'void rootc::fill(uint8_t)':
../build/xpatch.cpp:229:7: error: 'COLUMNADDR' was not declared in this scope
cmd(COLUMNADDR); cmd(0); cmd(127); // Column start end
^~~~~~~~~~
../build/xpatch.cpp:230:7: error: 'PAGEADDR' was not declared in this scope
cmd(PAGEADDR); cmd(0); cmd( 7); // Page start end
^~~~~~~~
../build/xpatch.cpp: In member function 'void rootc::calcScopePage(int, uint8_t*)':
../build/xpatch.cpp:294:19: error: 'parent' was not declared in this scope
uint16_t y = ((parent->instancescope__1_i.t[i]+64)3 )/8;
^~~~~~
../build/xpatch.cpp:294:19: note: suggested alternative: '_reent'
uint16_t y = ((parent->instancescope__1_i.t[i]+64)3 )/8;
^~~~~~
_reent
../build/xpatch.cpp: In member function 'void rootc::sendTextPage(int)':
../build/xpatch.cpp:324:7: error: 'COLUMNADDR' was not declared in this scope
cmd(COLUMNADDR); cmd(0); cmd(127); // Column start end
^~~~~~~~~~
../build/xpatch.cpp:325:7: error: 'PAGEADDR' was not declared in this scope
cmd(PAGEADDR); cmd(page); cmd(page); // Page start end
^~~~~~~~
../build/xpatch.cpp:342:13: error: 'parent' was not declared in this scope
tY[i]=((parent->instancescope__1_i.t[i]+64)3 )>>3;
^~~~~~
../build/xpatch.cpp:342:13: note: suggested alternative: '_reent'
tY[i]=((parent->instancescope__1_i.t[i]+64)3 )>>3;
^~~~~~
_reent
../build/xpatch.cpp: In member function 'void rootc::init()':
../build/xpatch.cpp:350:7: error: 'DISPLAYOFF' was not declared in this scope
cmd(DISPLAYOFF);
^~~~~~~~~~
../build/xpatch.cpp:353:7: error: 'SETDISPLAYCLOCKDIV' was not declared in this scope
cmd(SETDISPLAYCLOCKDIV); cmd(0x80);
^~~~~~~~~~~~~~~~~~
../build/xpatch.cpp:354:7: error: 'SETMULTIPLEX' was not declared in this scope
cmd(SETMULTIPLEX); cmd(LCDHEIGHT - 1);
^~~~~~~~~~~~
../build/xpatch.cpp:355:7: error: 'SETDISPLAYOFFSET' was not declared in this scope
cmd(SETDISPLAYOFFSET); cmd(1306 == 1306 ? 0x00 : 0x01);
^~~~~~~~~~~~~~~~
../build/xpatch.cpp:356:7: error: 'SETSTARTLINE_0' was not declared in this scope
cmd(SETSTARTLINE_0);
^~~~~~~~~~~~~~
../build/xpatch.cpp:357:7: error: 'CHARGEPUMP' was not declared in this scope
cmd(CHARGEPUMP); cmd(0x14);
^~~~~~~~~~
../build/xpatch.cpp:357:7: note: suggested alternative: 'HCCHAR_EPTYP'
cmd(CHARGEPUMP); cmd(0x14);
^~~~~~~~~~
HCCHAR_EPTYP
../build/xpatch.cpp:358:7: error: 'MEMORYMODE' was not declared in this scope
cmd(MEMORYMODE); cmd(0x00);
^~~~~~~~~~
../build/xpatch.cpp:358:7: note: suggested alternative: 'REG_REMOVE'
cmd(MEMORYMODE); cmd(0x00);
^~~~~~~~~~
REG_REMOVE
../build/xpatch.cpp:359:7: error: 'SEGREMAP' was not declared in this scope
cmd(SEGREMAP | 0x1);
^~~~~~~~
../build/xpatch.cpp:360:7: error: 'COMSCANDEC' was not declared in this scope
cmd(COMSCANDEC);
^~~~~~~~~~
../build/xpatch.cpp:362:7: error: 'SETCOMPINS' was not declared in this scope
cmd(SETCOMPINS); cmd(0x12);
^~~~~~~~~~
../build/xpatch.cpp:362:7: note: suggested alternative: 'STOPPING'
cmd(SETCOMPINS); cmd(0x12);
^~~~~~~~~~
STOPPING
../build/xpatch.cpp:363:7: error: 'SETCONTRAST' was not declared in this scope
cmd(SETCONTRAST); cmd(0xCF);
^~~~~~~~~~~
../build/xpatch.cpp:363:7: note: suggested alternative: 'RTC_TR_ST'
cmd(SETCONTRAST); cmd(0xCF);
^~~~~~~~~~~
RTC_TR_ST
../build/xpatch.cpp:364:7: error: 'SETPRECHARGE' was not declared in this scope
cmd(SETPRECHARGE); cmd(0xF1);
^~~~~~~~~~~~
../build/xpatch.cpp:365:7: error: 'SETVCOMDETECT' was not declared in this scope
cmd(SETVCOMDETECT); cmd(0x40);
^~~~~~~~~~~~~
../build/xpatch.cpp:366:7: error: 'DISPLAYALLON_RESUME' was not declared in this scope
cmd(DISPLAYALLON_RESUME);
^~~~~~~~~~~~~~~~~~~
../build/xpatch.cpp:367:7: error: 'NORMALDISPLAY' was not declared in this scope
cmd(NORMALDISPLAY);
^~~~~~~~~~~~~
../build/xpatch.cpp:367:7: note: suggested alternative: 'NORMALPRIO'
cmd(NORMALDISPLAY);
^~~~~~~~~~~~~
NORMALPRIO
../build/xpatch.cpp:368:7: error: 'DEACTIVATE_SCROLL' was not declared in this scope
cmd(DEACTIVATE_SCROLL);
^~~~~~~~~~~~~~~~~
../build/xpatch.cpp:369:7: error: 'DISPLAYON' was not declared in this scope
cmd(DISPLAYON);
^~~~~~~~~
../build/xpatch.cpp: In member function 'msg_t rootc::ThreadX2()':
../build/xpatch.cpp:396:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
../build/xpatch.cpp: In static member function 'static msg_t rootc::ThreadX(void
)':
../build/xpatch.cpp:399:35: error: 'class rootc::instanceOLED128x64__1' has no member named 'ThreadX2'
((instanceOLED128x64__1 )arg)->ThreadX2();
^~~~~~~~
../build/xpatch.cpp:400:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
../build/xpatch.cpp: In member function 'void rootc::Init(rootc
)':
../build/xpatch.cpp:415:5: error: 'OPMODE_I2C' was not declared in this scope
OPMODE_I2C,
^~~~~~~~~~
../build/xpatch.cpp:415:5: note: suggested alternative: 'TIME_I2S'
OPMODE_I2C,
^~~~~~~~~~
TIME_I2S
../build/xpatch.cpp:417:5: error: 'FAST_DUTY_CYCLE_2' was not declared in this scope
FAST_DUTY_CYCLE_2,
^~~~~~~~~~~~~~~~~
../build/xpatch.cpp:425:88: warning: invalid conversion from 'msg_t (
)(void
)' {aka 'long int (
)(void*)'} to 'tfunc_t' {aka 'void ()(void)'} [-fpermissive]
Thd = chThdCreateStatic(waThreadX, sizeof(waThreadX), NORMALPRIO, ThreadX, (void )this);
^
In file included from C:\Users\m_kor\Downloads\akso-win-3.0.1\akso-3.0.1\external/ChibiOS/os/rt/include/ch.h:117,
from ../firmware/patch.h:21,
from ../firmware/xpatch.h:2:
C:\Users\m_kor\Downloads\akso-win-3.0.1\akso-3.0.1\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*)'
../build/xpatch.cpp: At global scope:
../build/xpatch.cpp:544:6: error: 'instanceremind4__1' does not name a type; did you mean 'instancescope__1'?
instanceremind4__1 instanceremind4__1_i;
^~~~~~~~~~~~~~~~~~
instancescope__1
../build/xpatch.cpp:545:6: error: 'instanceOLED128x64__1' does not name a type; did you mean 'instancescope__1'?
instanceOLED128x64__1 instanceOLED128x64__1_i;
^~~~~~~~~~~~~~~~~~~~~
instancescope__1
../build/xpatch.cpp:551:115: error: 'display_metas' was not declared in this scope
{ name : {'s','c','o','p','e','
','1', 0 ,}, nparams : 0, params : 0, param_names : 0, ndisplays : 1, displays : &display_metas[0], nobjects : 0, objects : 0},
^~~~~~~~~~~~~
../build/xpatch.cpp:551:115: note: suggested alternative: 'Display_meta_t'
{ name : {'s','c','o','p','e','_','1', 0 ,}, nparams : 0, params : 0, param_names : 0, ndisplays : 1, displays : &display_metas[0], nobjects : 0, objects : 0},
^~~~~~~~~~~~~
Display_meta_t
../build/xpatch.cpp:558:23: error: 'NPRESETS' was not declared in this scope
int32_t presets[NPRESETS][NPRESET_ENTRIES][2] = {
^~~~~~~~
../build/xpatch.cpp:558:23: note: suggested alternative: 'RESET'
int32_t presets[NPRESETS][NPRESET_ENTRIES][2] = {
^~~~~~~~
RESET
../build/xpatch.cpp:558:33: error: 'NPRESET_ENTRIES' was not declared in this scope
int32_t presets[NPRESETS][NPRESET_ENTRIES][2] = {
^~~~~~~~~~~~~~~
../build/xpatch.cpp: In function 'const int32_t* GetPresets()':
../build/xpatch.cpp:641:22: error: 'presets' was not declared in this scope
return (int32_t *)&presets[0][0][0];
^~~~~~~
../build/xpatch.cpp:641:22: note: suggested alternative: 'GetPresets'
return (int32_t )&presets[0][0][0];
^~~~~~~
GetPresets
../build/xpatch.cpp: In function 'void ApplyPreset(int)':
../build/xpatch.cpp:648:16: error: 'nparams' was not declared in this scope
for(i=0;i<nparams;i++){
^~~~~~~
../build/xpatch.cpp:649:26: error: 'PExch' was not declared in this scope
ParameterChange(&PExch[i], p[i], 0xFFEF);
^~~~~
../build/xpatch.cpp:653:16: error: 'NPRESETS' was not declared in this scope
if (index < NPRESETS) {
^~~~~~~~
../build/xpatch.cpp:653:16: note: suggested alternative: 'RESET'
if (index < NPRESETS) {
^~~~~~~~
RESET
../build/xpatch.cpp:655:41: error: 'NPRESET_ENTRIES' was not declared in this scope
PresetParamChange_t p = &pa[indexNPRESET_ENTRIES];
^~~~~~~~~~~~~~~
../build/xpatch.cpp:659:47: error: 'nparams' was not declared in this scope
if ((pp->pexIndex>=0)&&(pp->pexIndex<nparams)) {
^~~~~~~
../build/xpatch.cpp:660:30: error: 'PExch' was not declared in this scope
ParameterChange(&PExch[pp->pexIndex],pp->value,0xFFEF); }
^~~~~
../build/xpatch.cpp: In function 'PExModulationTarget_t
GetModulationTable()':
../build/xpatch.cpp:666:61: error: 'NMODULATIONSOURCES' was not declared in this scope
static const PExModulationTarget_t PExModulationSources[NMODULATIONSOURCES][NMODULATIONTARGETS] =
^~~~~~~~~~~~~~~~~~
../build/xpatch.cpp:666:81: error: 'NMODULATIONTARGETS' was not declared in this scope
static const PExModulationTarget_t PExModulationSources[NMODULATIONSOURCES][NMODULATIONTARGETS] =
^~~~~~~~~~~~~~~~~~
../build/xpatch.cpp:675:37: error: 'PExModulationSources' was not declared in this scope
return (PExModulationTarget_t *)&PExModulationSources[0][0];
^~~~~~~~~~~~~~~~~~~~
../build/xpatch.cpp:675:37: note: suggested alternative: 'PExModulationTarget_t'
return (PExModulationTarget_t *)&PExModulationSources[0][0];
^~~~~~~~~~~~~~~~~~~~
PExModulationTarget_t
../build/xpatch.cpp: In function 'void Init()':
../build/xpatch.cpp:679:4: error: 'instanceremind4__1_i' was not declared in this scope
instanceremind4__1_i.Init(this );
^~~~~~~~~~~~~~~~~~~~
../build/xpatch.cpp:679:4: note: suggested alternative: 'instancescope__1_i'
instanceremind4__1_i.Init(this );
^~~~~~~~~~~~~~~~~~~~
instancescope__1_i
../build/xpatch.cpp:679:30: error: invalid use of 'this' in non-member function
instanceremind4__1_i.Init(this );
^~~~
../build/xpatch.cpp:680:4: error: 'instanceOLED128x64__1_i' was not declared in this scope
instanceOLED128x64__1_i.Init(this );
^~~~~~~~~~~~~~~~~~~~~~~
../build/xpatch.cpp:680:4: note: suggested alternative: 'instancescope__1_i'
instanceOLED128x64__1_i.Init(this );
^~~~~~~~~~~~~~~~~~~~~~~
instancescope__1_i
../build/xpatch.cpp:680:33: error: invalid use of 'this' in non-member function
instanceOLED128x64__1_i.Init(this );
^~~~
../build/xpatch.cpp:681:28: error: invalid use of 'this' in non-member function
instancescope__1_i.Init(this, (int8_t *)(&displayVector[0]) );
^~~~
../build/xpatch.cpp:681:46: error: 'displayVector' was not declared in this scope
instancescope__1_i.Init(this, (int8_t *)(&displayVector[0]) );
^~~~~~~~~~~~~
../build/xpatch.cpp:681:46: note: suggested alternative: 'Display_meta_t'
instancescope__1_i.Init(this, (int8_t *)(&displayVector[0]) );
^~~~~~~~~~~~~
Display_meta_t
../build/xpatch.cpp:688:29: error: 'PExch' was not declared in this scope
Parameter_t *param = &PExch[j];
^~~~~
../build/xpatch.cpp:694:19: error: 'PExModulationPrevVal' was not declared in this scope
int32_t *pp = &PExModulationPrevVal[0][0];
^~~~~~~~~~~~~~~~~~~~
../build/xpatch.cpp:694:19: note: suggested alternative: 'PExModulationTarget_t'
int32_t pp = &PExModulationPrevVal[0][0];
^~~~~~~~~~~~~~~~~~~~
PExModulationTarget_t
../build/xpatch.cpp:695:16: error: 'NMODULATIONSOURCES' was not declared in this scope
for(j=0;j<1
NMODULATIONSOURCES;j++){
^~~~~~~~~~~~~~~~~~
../build/xpatch.cpp: In function 'void Dispose()':
../build/xpatch.cpp:703:4: error: 'instanceOLED128x64__1_i' was not declared in this scope
instanceOLED128x64__1_i.Dispose();
^~~~~~~~~~~~~~~~~~~~~~~
../build/xpatch.cpp:703:4: note: suggested alternative: 'instancescope__1_i'
instanceOLED128x64__1_i.Dispose();
^~~~~~~~~~~~~~~~~~~~~~~
instancescope__1_i
../build/xpatch.cpp:704:4: error: 'instanceremind4__1_i' was not declared in this scope
instanceremind4__1_i.Dispose();
^~~~~~~~~~~~~~~~~~~~
../build/xpatch.cpp:704:4: note: suggested alternative: 'instancescope__1_i'
instanceremind4__1_i.Dispose();
^~~~~~~~~~~~~~~~~~~~
instancescope__1_i
../build/xpatch.cpp: In function 'void dsp()':
../build/xpatch.cpp:722:3: error: 'instanceremind4__1_i' was not declared in this scope
instanceremind4__1_i.dsp( this , 0, 0, 0 , 0 , 0 , 0 , (bool &)UNCONNECTED_OUTPUT, net0);
^~~~~~~~~~~~~~~~~~~~
../build/xpatch.cpp:722:3: note: suggested alternative: 'instancescope__1_i'
instanceremind4__1_i.dsp( this , 0, 0, 0 , 0 , 0 , 0 , (bool &)UNCONNECTED_OUTPUT, net0);
^~~~~~~~~~~~~~~~~~~~
instancescope__1_i
../build/xpatch.cpp:722:29: error: invalid use of 'this' in non-member function
instanceremind4__1_i.dsp( this , 0, 0, 0 , 0 , 0 , 0 , (bool &)UNCONNECTED_OUTPUT, net0);
^~~~
../build/xpatch.cpp:723:3: error: 'instanceOLED128x64__1_i' was not declared in this scope
instanceOLED128x64__1_i.dsp( this , net0, 0, 0, 0, 0);
^~~~~~~~~~~~~~~~~~~~~~~
../build/xpatch.cpp:723:3: note: suggested alternative: 'instancescope__1_i'
instanceOLED128x64__1_i.dsp( this , net0, 0, 0, 0, 0);
^~~~~~~~~~~~~~~~~~~~~~~
instancescope__1_i
../build/xpatch.cpp:723:32: error: invalid use of 'this' in non-member function
instanceOLED128x64__1_i.dsp( this , net0, 0, 0, 0, 0);
^~~~
../build/xpatch.cpp:724:27: error: invalid use of 'this' in non-member function
instancescope__1_i.dsp( this , zerobuffer, 0, (int8_t *)(&displayVector[0]));
^~~~
../build/xpatch.cpp:724:61: error: 'displayVector' was not declared in this scope
instancescope__1_i.dsp( this , zerobuffer, 0, (int8_t *)(&displayVector[0]));
^~~~~~~~~~~~~
../build/xpatch.cpp:724:61: note: suggested alternative: 'Display_meta_t'
instancescope__1_i.dsp( this , zerobuffer, 0, (int8_t *)(&displayVector[0]));
^~~~~~~~~~~~~
Display_meta_t
../build/xpatch.cpp: At global scope:
../build/xpatch.cpp:733:1: error: expected declaration before '}' token
};
^
make: *** [Makefile.patch:105: ../build/xpatch.o] Error 1
Compiling patch failed.
shell task failed, exit value: 1
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)

oled issue.zip

`

Compiler Error with jt/filter/vcf4pole2x

Compiler error when using these two filters

jt/filter/vcf4pole2x and
jt/filter/vcf4pole

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:220:56: error: redeclaration of 'const int rootc::PARAM_INDEX_bass_filter_colon_pitch'
static const int PARAM_INDEX_bass_filter_colon_pitch = 53;
^~
/Users/reubenfinger/Library/Akso/build/xpatch.cpp:217:18: note: previous declaration 'const int rootc::PARAM_INDEX_bass_filter_colon_pitch'
static const int PARAM_INDEX_bass_filter_colon_pitch = 50;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/reubenfinger/Library/Akso/build/xpatch.cpp:221:55: error: redeclaration of 'const int rootc::PARAM_INDEX_bass_filter_colon_reso'
static const int PARAM_INDEX_bass_filter_colon_reso = 54;
^~
/Users/reubenfinger/Library/Akso/build/xpatch.cpp:218:18: note: previous declaration 'const int rootc::PARAM_INDEX_bass_filter_colon_reso'
static const int PARAM_INDEX_bass_filter_colon_reso = 51;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/reubenfinger/Library/Akso/build/xpatch.cpp:222:56: error: redeclaration of 'const int rootc::PARAM_INDEX_bass_filter_colon_pitch'
static const int PARAM_INDEX_bass_filter_colon_pitch = 55;
^~
/Users/reubenfinger/Library/Akso/build/xpatch.cpp:217:18: note: previous declaration 'const int rootc::PARAM_INDEX_bass_filter_colon_pitch'
static const int PARAM_INDEX_bass_filter_colon_pitch = 50;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/reubenfinger/Library/Akso/build/xpatch.cpp:223:55: error: redeclaration of 'const int rootc::PARAM_INDEX_bass_filter_colon_reso'
static const int PARAM_INDEX_bass_filter_colon_reso = 56;
^~
/Users/reubenfinger/Library/Akso/build/xpatch.cpp:218:18: note: previous declaration 'const int rootc::PARAM_INDEX_bass_filter_colon_reso'
static const int PARAM_INDEX_bass_filter_colon_reso = 51;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [/Users/reubenfinger/Library/Akso/build/xpatch.o] Error 1
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)

Compiling patch failed.
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.