Jump to content

Search the Community

Showing results for tags 'Preprocessor Macro'.



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 1 result

  1. Hello - I am trying your excellent compiler before buying a license for my business. I have installed the toolchain in MPLAB-X V4.00 but the pre-processor macros do not work. Please see the attached file for an example of my configuration. I have defined 2 Preprocessor macros "_ICD3_DEBUG" and "_SJL_BUILD" , but they do not get passed to the compiler - CLEAN SUCCESSFUL (total time: 266ms) make -f nbproject/Makefile-ICD3_Debug.mk SUBPROJECTS= .build-conf make[1]: Entering directory 'E:/Projects/InCarKeepAlive' make -f nbproject/Makefile-ICD3_Debug.mk dist/ICD3_Debug/production/InCarKeepAlive.production.hex make[2]: Entering directory 'E:/Projects/InCarKeepAlive' gnumkdir -p build/ICD3_Debug/production gnumkdir -p build/ICD3_Debug/production gnumkdir -p build/ICD3_Debug/production "C:\Program Files (x86)\SourceBoost\xlaunch.exe" -t PIC12F635 -obj "build/ICD3_Debug/production" -o "build/ICD3_Debug/production/main.o" main.c -v "C:\Program Files (x86)\SourceBoost\xlaunch.exe" -t PIC12F635 -obj "build/ICD3_Debug/production" -o "build/ICD3_Debug/production/config.o" config.c -v "C:\Program Files (x86)\SourceBoost\xlaunch.exe" -t PIC12F635 -obj "build/ICD3_Debug/production" -o "build/ICD3_Debug/production/init.o" init.c -v BoostC Optimizing C Compiler Version 7.41 (for PIC16 architecture) http://www.sourceboost.com Copyright(C) 2004-2017 Pavel Baranov Copyright(C) 2004-2017 David Hobday Single user Lite License (Unregistered) for 0 node(s) Limitations: PIC12,PIC16 max code size:2048 words, max RAM banks:2, Non commercial use only main.c Starting preprocessor: "C:\Program Files (x86)\SourceBoost\pp.exe" main.c -i "C:\Program Files (x86)\SourceBoost\include" -d _PIC12F635 -la -c2 -o build/ICD3_Debug/production\main.pp -v -d _BOOSTC -d _PIC16 -d _CHAR_INDEX BoostC Optimizing C Compiler Version 7.41 (for PIC16 architecture) http://www.sourceboost.com Copyright(C) 2004-2017 Pavel Baranov Copyright(C) 2004-2017 David Hobday Single user Lite License (Unregistered) for 0 node(s) Limitations: PIC12,PIC16 max code size:2048 words, max RAM banks:2, Non commercial use only init.c Starting preprocessor: "C:\Program Files (x86)\SourceBoost\pp.exe" init.c -i "C:\Program Files (x86)\SourceBoost\include" -d _PIC12F635 -la -c2 -o build/ICD3_Debug/production\init.pp -v -d _BOOSTC -d _PIC16 -d _CHAR_INDEX BoostC Optimizing C Compiler Version 7.41 (for PIC16 architecture) http://www.sourceboost.com Copyright(C) 2004-2017 Pavel Baranov Copyright(C) 2004-2017 David Hobday Single user Lite License (Unregistered) for 0 node(s) Limitations: PIC12,PIC16 max code size:2048 words, max RAM banks:2, Non commercial use only C:\Program Files (x86)\SourceBoost\include\system.h(40): WARNING: Try our new Chameleon C compiler. It's fast, free and 95% backward compatible with BoostC. headers.h(14): WARNING: Release build headers.h(18): WARNING: BoostC compiler in use config.c Starting preprocessor: "C:\Program Files (x86)\SourceBoost\pp.exe" config.c -i "C:\Program Files (x86)\SourceBoost\include" -d _PIC12F635 -la -c2 -o build/ICD3_Debug/production\config.pp -v -d _BOOSTC -d _PIC16 -d _CHAR_INDEX C:\Program Files (x86)\SourceBoost\include\system.h(40): WARNING: Try our new Chameleon C compiler. It's fast, free and 95% backward compatible with BoostC. headers.h(14): WARNING: Release build headers.h(18): WARNING: BoostC compiler in use C:\Program Files (x86)\SourceBoost\include\system.h(40): WARNING: Try our new Chameleon C compiler. It's fast, free and 95% backward compatible with BoostC. headers.h(14): WARNING: Release build headers.h(18): WARNING: BoostC compiler in use init.c success config.c success Compile time: 0:01 success Compile time: 0:01 success main.c success Compile time: 0:01 success gnumkdir -p dist/ICD3_Debug/production "C:\Program Files (x86)\SourceBoost\boostlink_picmicro.exe" -t PIC12F635 -ld "C:\Program Files (x86)\SourceBoost"\lib -p dist/ICD3_Debug/production/InCarKeepAlive.production.hex build/ICD3_Debug/production/main.o build/ICD3_Debug/production/config.o build/ICD3_Debug/production/init.o BoostLink Optimizing Linker Version 7.41 http://www.sourceboost.com Copyright(C) 2004-2017 Pavel Baranov Copyright(C) 2004-2017 David Hobday Building CASM file Memory Usage Report =================== RAM available:64 bytes, used:12 bytes (18.8%), free:52 bytes (81.2%), Heap size:52 bytes, Heap max single alloc:51 bytes ROM available:1024 words, used:247 words (24.2%), free:777 words (75.8%) success make[2]: Leaving directory 'E:/Projects/InCarKeepAlive' make[1]: Leaving directory 'E:/Projects/InCarKeepAlive' BUILD SUCCESSFUL (total time: 7s) Loading code from E:/Projects/InCarKeepAlive/dist/ICD3_Debug/production/InCarKeepAlive.production.hex... Loading completed Please can you advise how to make this work? Many thanks
×