Lego NXT with GCC

Discussion in 'Embedded Systems and Microcontrollers' started by Shagas, Sep 30, 2013.

  1. Shagas

    Thread Starter Active Member

    May 13, 2013
    Hello !

    I apologise if this has been discussed before but I have not managed to find such a thread so I decided to make one .

    I'll be working with the LEGO NXT brick for some project for school.
    I would like to use C as the programming language because the in built languages of the NXT are pretty crap and lack control.
    I've found a GCC toolchain for this brick on

    I'm reading on how it works but not really understanding the principle.

    Does anyone have any experience/info on using the nxt with gcc compiler?

    How will the language be written ? Are there going to be specific functions for the peripherals ?(light sensor , motor etc) or will I have to write those ?

    The NXT brick uses an ARM7 processor and I think an atmega secondary but not sure .

    Any info would be appreciated and thanks in advance !