1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/lpc2387/periph
Benjamin Valentin 6dbbc8f33a cpu/lpc2387: rtc: remove _rtc_set()
Calling localtime() adds considerable overhead.
There are easier ways to set the date to 1970.

For tests/periph_rtc this results in this ROM change:

master:

   text    data     bss     dec     hex
  31328     240   98064  129632   1fa60

with this patch:

   text    data     bss     dec     hex
  20036     140   98168  118344   1ce48
2020-02-10 23:04:46 +01:00
..
adc.c cpu/lpc2387: implement periph/adc 2020-02-10 13:25:26 +01:00
dac.c cpu/lpc2387: implement periph/dac 2019-11-26 01:49:45 +01:00
gpio.c lpc2387: mark closing #endif for MODULE_PERIPH_GPIO_IRQ 2018-10-09 15:11:00 +02:00
Makefile cpu: make use of Makefile.periph 2017-11-06 12:01:19 +01:00
pm.c cpu/lpc2387: implement periph/pm 2019-11-22 09:11:39 +01:00
pwm.c cpu/lpc2387: remove useless periph file guard 2018-04-16 10:11:47 +02:00
rtc.c cpu/lpc2387: rtc: remove _rtc_set() 2020-02-10 23:04:46 +01:00
spi.c cpu/lpc2387: make periph/spi configurable 2020-01-31 12:01:09 +01:00
timer.c Merge pull request #7129 from haukepetersen/opt_periph_sharetimerset 2017-08-01 15:09:48 +02:00
uart.c boards/msba2: configure remaining UARTs 2019-11-07 21:55:25 +01:00