Start a conversation

Compilers

Frequently asked questions about compilers.

  • Literal Strings

    If you have noticed this option in your compiler settings and you didn't know what was that about, let me explain it to you. Literal strings need to be placed in RAM when you are passing them by refer...

  • PIC18F87J50 - Setting pin as digital I/O

    In order to set a desired pin of a PIC18F87J50 as digital, you have to do the following: ADSHR_bit =1; ANCON0.B0 =1; ADSHR_bit =0; TRISA0_bit = 0;...

  • Installing older versions of compilers

    If you ever need, for whatever reason it may be, an older version of a compiler, then this is how you can get it. When you go to our SITE and select any of the compilers you wish to download, yo can o...

  • Extended Instruction Set

    Extended Instruction Set for the PIC18 family is not supported by the compiler....

  • Cannot save font with GLCD Font Creator

    This problem occurs if you are using Windows 7, you can avoid it if you run application in Windows XP Compatibility mode.  In order to do that: right click on GLCD Font Creator -> Properties -> Compat...

  • Installing packages for the click boards

    To install the library, use Package Manager, our free software. http://www.mikroe.com/package-manager/ Once the library is installed, open the compiler. It should be visible in the Library Manager in ...

  • PIC16F "Not enough ROM space" error

    In some projects when you try to compile the code, there can be an error Not enough ROM space when you add a single additional line of code, even if before you added it you saw you have more than enou...

  • Setting IRP bit for P16 and P16ENH

    Pointers with PIC16 are “near”: they carry only the lower 8 bits of the address. Compiler will automatically clear the 9th bit upon startup, so that pointers will refer to banks 0 and 1. To access the...

  • Move BootStartUp on another address

    If you want to move BootStartUp on address 0x9D006000, please use this instruction: mikroC: #pragma funcorg __BootStartUp 0x9D006000 mikroPascal: SetOrg(__BootStartUp, $9D006000); mikroBasic: SetOrg(_...

  • STM32 Fastest toggling speed

    If you need to toggle a pin on STM32 micro controller as fast as possible the code bellow will help you achieve that. void main() { unsigned long *ptr; unsigned long val = 2; unsigned long val1 = 2ul ...