1
0
mirror of https://github.com/elua/elua.git synced 2025-01-08 20:56:17 +08:00
Bogdan Marinescu b5f59efa8e - added "board" as a compile time parameter, it will specify a name for the board on which eLua works. This helps if the same CPU is used on more than one board with different
I/O setup. 
- the pd() module has a new method (board) and gets it CPU, platform and board name directly from the build system (command line macros). It's much easier to work like this.
- the samples (examples/) were updated to check pd.board() rather than pd.platform()/pd.cpu(), which is a much more logical way to do things, since it ties the sample to a 
  specific I/O configuration, not with a CPU.
- updated PWM code for AT91SAM7X, now the "piano" example works for both LM3Sxxxx and AT91SAM7X256.
- added 3 new methods to the PIO module: pullup(), pulldown(), ad nopullup(), their meaning is obvious.
2008-08-27 20:05:09 +00:00
..
2008-07-29 11:08:54 +00:00
2008-08-27 13:39:10 +00:00
2008-08-07 11:45:43 +00:00
2008-08-27 13:39:10 +00:00
2008-08-09 09:56:08 +00:00