Hello,
For Flowcode 6 you would use the following in the compiler options.
Compiler Parameters
Code: Select all
-v -t PIC$(chip:u) "$(target).c" -idx 2
Linker Parameters
Code: Select all
-ld "$(appdir)compilers\pic\boostc\lib" libc_$(family:/12F/16F).lib rand_$(family:/12F/16F).lib float_$(family:/12F/16F).lib "$(target).obj" -t PIC$(chip:u) -d "$(outdir:~-1)" -p "$(target)" -swcs 6 2 -idx2
This should be working but I am getting this error on my latest BoostC so maybe this now has a bug?
warning: unknown index size '2', ignored
Anyway have a go it might work for you.
Otherwise could you maybe use two string variables and switch between the two based on the index pointer or use a different device target e.g. 16-bit PIC or AVR?