Jump to content

futz

EstablishedMember
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

0 Neutral

About futz

  • Rank
    Newbrie

Contact Methods

  • Website URL
    http://ghmicro.com
  • ICQ
    0

Profile Information

  • Gender
    Male
  1. Yes. After posting my question here I continued Googling. Found it about a half hour later on someone's blog. Thanks for the help though. Code looks like this now, and it works. I'm tinkering with WS2812s. Still need to put a few more things into the asm section to tighten up timing more, but it's good for now.
  2. Anybody have a working example of how to do inline assembly with BoostC and MPLAB X v3.55? I've tried everything in the manual, but nothing works. It just errors out with "unknown assembly identifier"s. It's happy with my nop's, but complains about porta and PORTA. Tried a bunch of other things - no go. Here's the last thing I tried - no go:
  3. Still doesn't work in 7.30. I desperately want to get away from Windows and do everything in Linux but my compiler is preventing it.
  4. Found an interesting problem with the "-idx 2" option. With it enabled, sprintf does not work. The program compiles fine, but the linker gives this error list: BoostLink Optimizing Linker Version 7.01 http://www.sourceboost.com Copyright(C) 2004-2010 Pavel Baranov Copyright(C) 2004-2010 David Hobday Optimisation level:1 Warning: Overlapping user DATA at address:0x00300001 Warning: Overlapping user DATA at address:0x00300006 Error: Unresolved external function:'sprintf(unsigned char*,unsigned char*,unsigned short)' Error: Unresolved external function:'sprintf(unsigned char*,unsigned char*,unsigned short)' Error: Unresolved external function:'sprintf(unsigned char*,unsigned char*,unsigned short)' Error: Unresolved external function:'sprintf(unsigned char*,unsigned char*,unsigned short)' Error: Unresolved external function:'sprintf(unsigned char*,unsigned char*,unsigned short)' Error: Unresolved external function:'sprintf(unsigned char*,unsigned char*,unsigned short)' Error: Unresolved external function:'sprintf(unsigned char*,unsigned char*,unsigned short)' Error: Unresolved external function:'sprintf(unsigned char*,unsigned char*,unsigned short)' Error: Unresolved external function:'sprintf(unsigned char*,unsigned char*,unsigned short)' Error: Unresolved external function:'sprintf(unsigned char*,unsigned char*,unsigned short)' Error: Unresolved external symbol, function:sprintf failure Link step failed. BUILD FAILED: Sat Jan 08 15:54:27 2011
  5. So I upgraded from v6.97 to v7.01 because I wanted large array support. It should save me writing some kludgey code to jump from bank to bank using multiple arrays. But now that I have v7.01 I don't know how to enable large arrays. Default is still 256-byte maximum. I have this ultra-vague memory of reading how somewhere, but can't find the information anywhere.
×