Commit Graph

7 Commits

Author SHA1 Message Date
Atis Elsts
7dcfe77fba Fix inconsistent usage of short/long integer type in mbxxx platform's configuration file.
The type used to store rtimer ticks on this platform is 32-bit integer, but the macro uses 16-bit comparison.
As a result, the output of the RTIMER_CLOCK_LT(a,b) macro was incorrect when used for comparisons between time values with sufficiently large difference.
The code to repeat this problem on mbxxx platform:

  rtimer_clock_t a = 6 * RTIMER_ARCH_SECOND;
  rtimer_clock_t b = 0;
  printf("%d\n", RTIMER_CLOCK_LT(a,b)); // expected output: "0", actual: "1"
2014-04-22 14:52:50 +02:00
Maria Laura Stefanizzi
10c7066035 mbxxx eeprom driver
This patch adds the eeprom driver needed to access M24C64
eeprom which is on some mbxxx boards.
Signed-off-by: Maria Laura Stefanizzi <laura28582@gmail.com>
2013-11-27 15:40:07 +01:00
Adam Dunkels
bb2dcaa057 A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01:00
stefano pascali
36e7db42de Some little refactor 2013-07-19 16:15:55 +02:00
stefano pascali
fcb09d5d30 Fixed mbxxx platform 2013-07-11 17:56:17 +02:00
George Oikonomou
67bf9ec10e DOS EOL and indentation fixes (platform files)
- Removed some DOS EOLs
- Changed some tabs to spaces
- Removed some trailing whitespaces

Closes #6
2012-10-30 13:44:25 +00:00
simonduq
0eb9a46e3a stm32w platforms: contiki-conf cleanup and added platform-conf 2012-03-20 17:30:57 +01:00