You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Fabrizio,
Just wanted to try the new CPM Multitasking example but I run into this:
`/tmp/.arduinoIDE-unsaved2024714-8245-1qpkqhb.w7ioi/MultitaskingCPM/src/BDOS.cpp: In member function 'void BDOS::searchNextFillDMA_FCB(FileSearchState*, bool, const char*)':
/tmp/.arduinoIDE-unsaved2024714-8245-1qpkqhb.w7ioi/MultitaskingCPM/src/BDOS.cpp:3906:45: error: no matching function for call to 'tmin(long int, int)'
3906 | m_HAL->writeByte(DMA + FCB_RC, fabgl::tmin((state->size + 127) / 128, 128));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/gert/Arduino/libraries/FabGL/src/fabgl.h:312,
from /tmp/.arduinoIDE-unsaved2024714-8245-1qpkqhb.w7ioi/MultitaskingCPM/src/HAL.h:34,
from /tmp/.arduinoIDE-unsaved2024714-8245-1qpkqhb.w7ioi/MultitaskingCPM/src/BDOS.h:31,
from /tmp/.arduinoIDE-unsaved2024714-8245-1qpkqhb.w7ioi/MultitaskingCPM/src/BDOS.cpp:29:
/home/gert/Arduino/libraries/FabGL/src/fabutils.h:140:10: note: candidate: 'template const T& fabgl::tmin(const T&, const T&)'
140 | const T& tmin(const T & a, const T & b)
| ^~~~
/home/gert/Arduino/libraries/FabGL/src/fabutils.h:140:10: note: template argument deduction/substitution failed:
/tmp/.arduinoIDE-unsaved2024714-8245-1qpkqhb.w7ioi/MultitaskingCPM/src/BDOS.cpp:3906:45: note: deduced conflicting types for parameter 'const T' ('long int' and 'int')
3906 | m_HAL->writeByte(DMA + FCB_RC, fabgl::tmin((state->size + 127) / 128, 128));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
exit status 1
Compilation error: no matching function for call to 'tmin(long int, int)'`
Any ideas ?
Kind regards,
Gert
The text was updated successfully, but these errors were encountered:
With Espressif board library 2.0.17 it compiles without errors and runs but WIFISCAn states no WIFI support, enable in defs. h
In defs.h it says #define HAS_WIFI..
Hi Fabrizio,
Just wanted to try the new CPM Multitasking example but I run into this:
`/tmp/.arduinoIDE-unsaved2024714-8245-1qpkqhb.w7ioi/MultitaskingCPM/src/BDOS.cpp: In member function 'void BDOS::searchNextFillDMA_FCB(FileSearchState*, bool, const char*)':
/tmp/.arduinoIDE-unsaved2024714-8245-1qpkqhb.w7ioi/MultitaskingCPM/src/BDOS.cpp:3906:45: error: no matching function for call to 'tmin(long int, int)'
3906 | m_HAL->writeByte(DMA + FCB_RC, fabgl::tmin((state->size + 127) / 128, 128));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/gert/Arduino/libraries/FabGL/src/fabgl.h:312,
from /tmp/.arduinoIDE-unsaved2024714-8245-1qpkqhb.w7ioi/MultitaskingCPM/src/HAL.h:34,
from /tmp/.arduinoIDE-unsaved2024714-8245-1qpkqhb.w7ioi/MultitaskingCPM/src/BDOS.h:31,
from /tmp/.arduinoIDE-unsaved2024714-8245-1qpkqhb.w7ioi/MultitaskingCPM/src/BDOS.cpp:29:
/home/gert/Arduino/libraries/FabGL/src/fabutils.h:140:10: note: candidate: 'template const T& fabgl::tmin(const T&, const T&)'
140 | const T& tmin(const T & a, const T & b)
| ^~~~
/home/gert/Arduino/libraries/FabGL/src/fabutils.h:140:10: note: template argument deduction/substitution failed:
/tmp/.arduinoIDE-unsaved2024714-8245-1qpkqhb.w7ioi/MultitaskingCPM/src/BDOS.cpp:3906:45: note: deduced conflicting types for parameter 'const T' ('long int' and 'int')
3906 | m_HAL->writeByte(DMA + FCB_RC, fabgl::tmin((state->size + 127) / 128, 128));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
exit status 1
Compilation error: no matching function for call to 'tmin(long int, int)'`
Any ideas ?
Kind regards,
Gert
The text was updated successfully, but these errors were encountered: