Page 1 of 1

Tamaguino on a stm32

Posted: Wed Jan 18, 2023 3:36 pm
by Iraton
Im trying to put Tamaguino (https://github.com/alojzjakob/Tamaguino) on a stm32 (obviously with stm32duino) but it doesent work, first o get 4 error from a float array that is not int, after that i recive this "Error: bad instruction `jmp 0'". i don't know what i can do, with arduino it work without problem but when i switch board this appen

Re: Tamaguino on a stm32

Posted: Wed Jan 18, 2023 4:56 pm
by fpiSTM
jmp 0 is not a valid instruction for STM32.
https://github.com/alojzjakob/Tamaguino ... .ino#L1291

You could probably replace it by:
NVIC_SystemReset();

Re: Tamaguino on a stm32

Posted: Wed Jan 18, 2023 8:53 pm
by Iraton
Thanks now it compile but doesn't work, bot at least i have no error😂