Hello everyone,I want use USB port as USB OTG but firmware do not support this mode, instead Device and Host modes separately. Where can I read example of USB OTG driver implementation for free?Thanks in advance
Hello everyone.SLCC generated a strange instruction similar to JRF, represented as .byte 0x21 pseudo-instruction. Can anyone explain what this is? A code snippet is provided in the attachment. The compiler options are as follows: -mstm8 --out-fmt-elf...
Hello everyone,Is it possible, without using third-party programs, to calculate the largest stack consumption of the non-recursive function by free STM8 tools based on SDCC?Thanks in advance.
In my opinion, the best solution to this problem was proposed by Philipp Krause in Sourceforge. https://sourceforge.net/p/sdcc/discussion/1864/thread/01c26712ef/#2044/d050/c5a5 I think the question is settled. Thanks again.
I understand. There is no way to do this using SDCC without external tools. In any case, is possible resort to editing the code in assembler and linking the program code manually, through explicit indication of sections locations. Thanks.
Very thanks. Copying a segment is not a problem. The problem is to create it correctly. I did not find in the SDCC documentation the possibility of creating relocatable code. Is it possible? This would greatly simplify the design processes. In the gi...