Zolertia / contiki

Zolertia's Contiki repository
http://www.contiki-os.org/
Other
2 stars 4 forks source link

Z1: clean-up sensors/libraries include #15

Closed alignan closed 7 years ago

alignan commented 8 years ago
alignan commented 8 years ago

Work in progress in:

https://github.com/Zolertia/contiki/tree/pull/z1-sensors-update

Depends on https://github.com/contiki-os/contiki/pull/1523

alignan commented 8 years ago

Before the sensor's API change:

$ msp430-size test-tmp102.z1 
   text    data     bss     dec     hex filename
  20688     162    2804   23654    5c66 test-tmp102.z1

After:

$ msp430-size test-tmp102.z1 
   text    data     bss     dec     hex filename
  21036     166    2802   24004    5dc4 test-tmp102.z1
alignan commented 8 years ago

Before the sensor's API change:

$ msp430-size test-adxl345.z1
   text    data     bss     dec     hex filename
  31842     572    3032   35446    8a76 test-adxl345.z1

After

$ msp430-size test-adxl345.z1
   text    data     bss     dec     hex filename
  21662     178    2816   24656    6050 test-adxl345.z1
alignan commented 8 years ago

Conditionally add tmp102 and adxl345 to SENSORS

alignan commented 7 years ago

https://github.com/contiki-os/contiki/pull/1828