About ARMmbed programming

12 Sep 2016

hi there, I started mbed programming few days back. I am really curious to know something. There are around 100s of boards available, we can do programming for all the boards in a language that is similar to arduino's programming. All boards have same program, I export program to keil for teensy and lpc1768 boards, there are two different folders for both of them. Now I just want to know what makes them different and those codes can run only on the board that are chosen for that program. So I can't run teensy's code on lpc1768 board, though code look similar. What changes occur(or i can do) at architecture level and/or in program that make teensy's code to compatible to lpc1768 board.

Thank you