Kevin O'Connor
da305e6b61
build: Update declfuncs.lds.S to only use progmem sections on AVR
...
On non-avr platforms the declfunc stuff still needs to be in the
binary in a rodata section.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2016-06-14 14:00:57 -04:00
Kevin O'Connor
b3e4ff7ef0
sched: Use 'unsigned int' instead of 'uint16_t' for shutdown reason
...
Use 'unsigned int' instead of 'uint16_t' as is faster on some
platforms.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2016-06-14 14:00:57 -04:00
Kevin O'Connor
b0524947e5
sched: Use uint_fast8_t for return type of timers
...
Some architectures are faster passing regular integers than 8bit
integers. Use uint_fast8_t so that the architecture chooses the
appropriate type.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2016-06-14 14:00:53 -04:00
Kevin O'Connor
ed103822f5
sched: Change sched_from_ms() to sched_from_us()
...
Some code may require micro-second precision so update sched_from_ms()
to use micro-seconds.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2016-06-02 17:52:11 -04:00
Kevin O'Connor
f582a36e4d
Initial commit of source code.
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2016-05-25 11:37:40 -04:00