Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: __bss_end and __brkval on Teensy 3.0?

Threaded View

  1. #1
    Member dlchambers's Avatar
    Join Date
    Nov 2012
    Location
    Elkins, NH
    Posts
    47

    __bss_end and __brkval on Teensy 3.0?

    I picked up this LCD from adafruit:
    https://www.adafruit.com/products/438

    and downloaded their Arduino lib, and opened their st7565lcd example.
    It compiles & works perfectly on a Teensy 2.0.

    But when I compile for Teensy 3.0 I get these errors:
    Code:
    sps_lcd.cpp.o: In function `freeRam()':
    C:\Program Files\Arduino\arduino-1.0.3/sps_lcd.ino:120: undefined reference to `__brkval'
    C:\Program Files\Arduino\arduino-1.0.3/sps_lcd.ino:120: undefined reference to `__bss_end'
    Any ideas as to the equivalents for these symbols (extern int) on Teensy 3.0?

    Update: When I comment out the offending lines, the sketch compiles & loads, but doesn't run. I need to do some debugging!
    Last edited by dlchambers; 03-24-2013 at 01:19 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •