Search the Community
Showing results for tags 'mplabX'.
Found 5 results
-
SourceBoost C compiler with LINUX
drumanart posted a topic in BoostC and Chameleon compilers programming
Hello I use since ages Sourceboost with Linux and MPLAB IDE 8,90 under wine (OS UBUNTU). Recently I migrated to MPLABX (Linux version) using the free version of MPLABXC8 compiler. As I have good experiences with SourceBoost I'd would like to go ahead with this complier and purchase the newest version 7.43 and use it with MPLABX IDE under Linux. Did any body make it work? Kind regards Martin -
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
-
Fixed Memory Address And Interrupt In Mplabx
Badejavu posted a topic in BoostC and Chameleon compilers programming
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 replies
-
- fixed memory
- interrupt
-
(and 3 more)
Tagged with:
-
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...
-
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