Jump to content

Search the Community

Showing results for tags 'mplabx'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • PIC Embedded Programming
    • BoostC and Chameleon compilers programming
    • BoostC porting source code
    • BoostC++ compiler programming
    • BoostBasic compiler programming
    • Assembler programming PIC
    • Novo RTOS Programming
    • Hardware PIC
    • Enhancement Requests
    • Bug Reports

Found 4 results

  1. Is there any trick for float lib to work with mplab x? The code below compiles ok in sourceboost editor but not in mplabx. #include <system.h> #include <float.h> void main() { float f = float32_mul(2.5, 2.5); } Here is some errors when compiling this code in mplabx ide: Error: Unresolved external function:'__mul_32_32(unsigned long,unsigned long)' ... same error above repeated n times ! Error: Unresolved external symbol, function:__mul_32_32 ... same error above repeated n times ! make[2]: *** [dist/default/production/float.X.production.hex] Error -2 make[1]: *** [.build-conf] Error 2 make: *** [.build-impl] Error 2 BUILD FAILED (exit value 2, total time: 5s) float.pic18.lib was included as explained in the FoatMath.pdf page 9 PIC18LF67K40 / c++ pro licence / sourceboost 4.43 / mplab x 4.15
  2. Hi, I am using boostC with MplabX for PIC18F67K22. I have tried to : 1. Use fixed address like " int x@0x100" . This has worked for me previously in Mplab. Do I need to include any libraries to make this work in MplabX? 2. When I add an interrupt service routine as instructed in the boosC manual " void interrupt ( ) " the compiler shows error on all code lines in the isr. it does not see it as an interrupt. Is there a particular way to declare this in the MplabX environment? 3. Even when I include the "string.h" directive, the string length function "strlen(string)" is not recognised by the compiler. Hence the corresponding line is highlighted as an error. Thanks Bade I also tried including all these files below, but it still didn't work. #include <stdio.h> #include <stdlib.h> #include <system.h> #include <boostc.h> #include <BoostCPic18.h> #include "PIC18f67k22.h" #include <float.h> #include <eeprom.h> #include <string.h>
  3. The latest SourceBoost version (v7.05) doesn't support the PIC12F683 in MPLabX. I followed all the instructions in the MPLabX_Plugin.pdf. The PIC16x processors are supported but none of the PIC12 processors are. Looks like it needs a metadata change inside of com-sourceboost.jar which is buried inside of the SourceBoost config file for MPlab but I didn't want to go there. I'd be happy to beta test a fix for this...
  4. Mplabx Source Code Completion

    I installed sourceboost plugin for mplabx i create a sample project but mplabx don't find system.h in autocompletion and there's no options to include it the program compiles fine is only an annoyance
×