Laurent Navet
31029daaab
boards/atmega_common: remove dead code on link
...
Don't include unused functions and data in binary.
2016-08-18 22:08:55 +02:00
kYc0o
03d380845e
Merge pull request #5593 from jthacker/atmega_regs_common
...
cpu/atmega_common: generalize register/peripheral definitions
2016-07-13 20:17:36 +02:00
Joakim Nohlgård
b02e0eca47
ps: Add current stack pointer and start of stack to isr_stack ps output (DEVELHELP)
2016-07-12 10:17:49 +02:00
Jon Thacker
2aec999900
cpu/atmega_common: generalize register/peripheral definitions
...
Makes AVR register definitions dependent on what avr-libc defines
for a given MCU, rather then duplicating that effort here.
Definitions done in this way are based on functionality provided,
rather than a specific MCU device.
2016-07-08 10:52:22 -05:00
kYc0o
62a9773a9c
boards/waspmote-pro: add support for Waspmote PRO v1.2
2016-07-05 13:05:12 +02:00
kYc0o
be70924800
cpu/atmega2560: update atmega2560 CPU code to use atmega_common code
2016-06-22 14:25:10 +02:00
kYc0o
17c78e70e2
cpu/atmega_common: add common atmega CPU code to atmega_common
2016-06-22 14:25:10 +02:00
zhuoshuguo
1cbe79a373
CPU: fix include header guards
...
Fix cpu/lpc2387/include/lpc2387.h
2016-06-08 16:38:20 +02:00
MohmadAyman
53df3e8b57
core: cpu: provide function to acquire ISR stack usage
2016-06-01 23:01:35 +02:00
c3f7186d4e
unify usage of inline assembly
2016-03-31 22:23:35 +02:00
DipSwitch
5b5810ab7b
Merge pull request #5109 from DipSwitch/pr/fix_core_inc_irq
...
core: Fix/refactor function naming in core/incude/irq.h
2016-03-22 08:12:24 +01:00
Joakim Nohlgård
d0033a5d20
avr: Use TARGET_ARCH instead of custom toolchain specification
2016-03-21 12:19:30 +01:00
DipSwitch
0bb4748a94
core: Fix/refactor function naming in core/incude/irq.h
2016-03-20 16:47:34 +01:00
2b010b5337
core: rename tcb_t -> thread_t, move into thread.h
2016-03-05 18:20:17 +01:00
9082273746
core: header cleanup
2016-02-28 22:46:28 +01:00
28d9eab420
cpu: atmega_common_ add off_t to sys/types.h
2015-11-26 20:41:36 +01:00
4769c3075d
cpu: avr_common: add unistd.h
2015-11-25 14:36:45 +01:00
effb15a2cc
Merge pull request #3313 from gebart/pr/eINT-fixes
...
eINT/dINT fixes
2015-09-29 12:39:16 +02:00
Oleg Hahm
d89ac480eb
atmega: added panic function
2015-09-20 21:44:26 +02:00
Joakim Gebart
199528d3fb
cpu/atmega: remove dINT/eINT definitions
2015-09-19 10:35:58 +02:00
Martine Lenders
aaff370bc9
Merge pull request #3710 from authmillenon/cpu/feat/atmega-errno
...
atmega_common: give distinct numbers to errnos
2015-09-17 10:14:57 +02:00
7fcb2b718e
cpu: atmega: implement irq_arch_in
2015-09-14 10:47:28 +02:00
Oleg Hahm
f3245cecac
core: panic: last instruction's address for assert
2015-09-11 23:23:31 +02:00
Oleg Hahm
d7161b6d4b
cpu: inline function to print instruction register
2015-09-11 23:23:31 +02:00
Martine Lenders
dc82939eb3
atmega_common: give distinct numbers to errnos
2015-08-25 22:07:22 +02:00
Joakim Gebart
63bde8906e
cpu/atmega_common/avr-libc-extra/inttypes.h: Correct format strings for 64 bit numbers
2015-07-07 00:53:26 +02:00
Hauke Petersen
9943f51080
global: renamed cpu-conf.h into cpu_conf.h
2015-05-28 15:45:05 +02:00
Martine Lenders
b11eb90042
Merge pull request #3005 from authmillenon/od/fix/PRI.64
...
od: add PRI.64 for unsupported boards
2015-05-23 10:05:59 +02:00
Martine Lenders
6d13c899c5
od: add PRI.64 for unsupported boards
2015-05-22 11:54:23 +02:00
Joakim Gebart
13832d8e62
everything: Remove filename from @file Doxygen command
2015-05-22 07:34:41 +02:00
Joakim Gebart
9ae63bac0b
cpu/atmega_common/avr-libc-extra/time.h: trailing whitespace
2015-05-09 09:10:41 +02:00
Joakim Gebart
215ccc1213
core: Introduce atomic counters
...
- Move generic implementation of atomic_set_return to core/atomic.c
- Generic implementation of atomic compare and swap in core/atomic.c
- atomic_cas is used to implement atomic counters in core/include/atomic.h
- atomic_int_t is an atomic integer type
- ATOMIC_INIT can be used as an initializer for atomic_int_t
- ATOMIC_VALUE gets a reference to the value of an atomic integer
2015-05-07 18:52:13 +02:00
BytesGalore
714ee38355
boards: core: cpu: drivers: sys: added missing header guards
2015-01-27 19:10:57 +01:00
Oleg Hahm
04b67f1ff0
doc: avr cleanup
2014-12-06 01:12:31 +01:00
Oleg Hahm
43c86b5a3e
doc: fix remaining doxygen warnings
2014-12-04 17:16:57 +01:00
BytesGalore
a4d2ee307c
cpu: added extern "C"
to headers
2014-11-24 19:10:15 +01:00
René Kijewski
fdb1190cfa
avr: define ssize_t
2014-11-11 10:45:56 +01:00
Oleg Hahm
c33e1b5dad
Merge pull request #1844 from OlegHahm/doxygen_cleanup
...
Doxygen cleanup
2014-10-24 16:04:01 +02:00
Oleg Hahm
cb48f7cd47
doc: fix warning from avr libc
2014-10-23 20:53:01 +02:00
Oleg Hahm
bbf82ab254
doc: put atmega cpu file into the right group
2014-10-23 20:53:00 +02:00
Oleg Hahm
db8f3d2650
cpu: use typed function pointer for thread_arch_init
2014-10-23 18:26:21 +02:00
Martine Lenders
97bf8b09ad
atmega_common: add ENOTSUP and ECANCELED to errno.h
2014-10-01 19:24:12 +02:00
René Kijewski
4e50d74272
core: Provide ssize_t in a common place
...
Now you can include `kernel_types.h` if you need the `ssize_t`, without
facing problems due to the terrible MSP toolchain.
2014-09-26 14:04:30 +02:00
Hinnerk van Bruinehsen
9933dd0b78
cpu: arm/cortex-mX/atmega: use uintptr_t for sp cast
2014-09-14 02:34:04 +02:00
Hinnerk van Bruinehsen
3d686c7cf1
cpu: atmega: doxygen: blacklist upstream headers
2014-09-06 12:38:04 +02:00
Hinnerk van Bruinehsen
a6b77b4745
cpu: atmega_common: Initial import
2014-08-27 16:22:48 +02:00