Ian Martin
40b93ea6ad
cpu/cc2538: uart init overhaul
2015-09-29 12:26:13 -04:00
Ian Martin
aca53006b0
cpu/cc2538: preserve UART_CTL flags when clearing an error condition
2015-09-29 12:26:13 -04:00
Ian Martin
b2c51bed6a
cpu/cc2538: eliminate unused macros UART_1_CTS_PORT and UART_1_RTS_PORT
2015-09-29 12:26:13 -04:00
Ian Martin
d70705f840
cpu/cc2538: round when computing the UART baudrate divisor
2015-09-29 12:26:13 -04:00
8c147f1e3c
cpu: cc2538: remove obsolete hwtimer support
2015-09-16 10:58:52 +02:00
Emmanuel Baccelli
014939805e
Merge pull request #3062 from alignan/pull/remote-port
...
New Zolertia Re-Mote platform (CC2538 + CC1120)
2015-08-25 21:18:13 +02:00
daniel-k
7a86344c4d
cpu/cortexm_common: gather addition information on hardfault
2015-08-19 14:24:54 +02:00
Antonio Lignan
b8823b7afe
Zolertia Re-Mote platform (cc2538 + cc1120) port
2015-08-17 14:17:32 +02:00
Hauke Petersen
37078856e7
cpu/cc2538: optimization of startup code
...
- make use of common startup code
- make use of common exception handlers
- renamed startup.c to vectors.c
2015-06-15 16:00:51 +02:00
Hauke Petersen
47e8472949
cpu/cc2538: adjusted to changed GPIO interface
2015-06-12 19:10:49 +02:00
Joakim Gebart
c09a8484e2
cortexm: Move ldscripts into separate directory
...
Less clutter inside the cpu/* directories by placing linker scripts
under cpu/*/ldscripts/CPUNAME.ld
2015-05-30 12:20:07 +02:00
Hauke Petersen
52e51bfea1
cpu/cc2538: adapted to centralized cpu conf
2015-05-29 16:42:05 +02:00
haukepetersen
0d5c8546f3
cpu: adapted Makefiles to unified cortexm module
2015-05-28 19:30:07 +02:00
Hauke Petersen
9943f51080
global: renamed cpu-conf.h into cpu_conf.h
2015-05-28 15:45:05 +02:00
6e6e1eb2b3
cpu: cc2538: use cortex common makefile and newlib module
2015-05-26 10:46:03 +02:00
Joakim Gebart
13832d8e62
everything: Remove filename from @file Doxygen command
2015-05-22 07:34:41 +02:00
Lucas Jenss
426170b064
Improve naming of thread stacksize/priority constants
...
As discussed in #2725 , this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:
* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
2015-05-21 00:14:23 +02:00
Joakim Gebart
e9c567107d
all: remove extra blank lines at the end
2015-05-09 09:10:08 +02:00
Ian Martin
c3417d151a
cpu/cc2538: vector table address and alignment
...
Enforce the 512-byte vector table alignment and set the
VTOR register to the actual address of the vector table.
2015-02-11 11:09:19 -05:00
Oleg Hahm
a5dc951ef2
doc: fix doxygen group for cc2538 memory map
2014-12-06 14:32:22 +01:00
Oleg Hahm
000450c894
Merge pull request #2117 from OlegHahm/doxygen_eliminate_warnings
...
Doxygen eliminate warnings pt. 2
2014-12-04 17:18:42 +01:00
Oleg Hahm
43c86b5a3e
doc: fix remaining doxygen warnings
2014-12-04 17:16:57 +01:00
Ian Martin
58e413afce
cpu/cc2538: add eh_frame section to the linkerscript
...
Fixes linker errors on some toolchains, for example:
ld: foo.elf section `.eh_frame' will not fit in region `cca'
ld: region `cca' overflowed by 40 bytes
2014-12-03 11:41:59 -05:00
Oleg Hahm
ae8dd90884
doc: added missing closing doxygen brackets
2014-11-30 21:16:41 +01:00
DangNhat Pham-Huu
3e86b86472
Merge pull request #2083 from dangnhat/added_externc_for_missed_header
...
cpu/cc2538: added extern C for rfcore.h
2014-11-27 20:38:31 +07:00
Thomas Eichinger
b5071385db
Merge pull request #2036 from haukepetersen/fix_openmote_cpp
...
boards: enable C++ for CC2538 based boards
2014-11-25 18:57:40 +01:00
Pham Huu Dang Nhat
964d96e362
cpu/cc2538: added extern C for rfcore.h
2014-11-25 22:10:36 +07:00
Hauke Petersen
2220a9fab0
core/cpu/boards: removed fw_puts from RIOT
2014-11-21 13:09:02 +01:00
Hauke Petersen
f5480234c3
cpu/cc2538: made _kill(_r) syscalls weak
2014-11-21 11:43:21 +01:00
Hauke Petersen
62b6522e01
cpu: moved reboot_arch for cortex cpus
2014-11-20 17:22:39 +01:00
9ce0b676b4
core: sys: move ringbuffer to core
2014-11-19 14:18:39 +01:00
Thomas Eichinger
2b0d49c8b1
Merge pull request #1954 from haukepetersen/fix_cortex_irqstacksize
...
cpu: adjusted IRQ stack sizes for Cortex CPUs
2014-11-14 10:50:51 +01:00
Ian Martin
7bbdbcc7cb
Allow the application's makefile to specify a custom linker script, for example:
...
LINKERSCRIPT = custom-linkerscript.ld
2014-11-10 14:28:35 -05:00
Hauke Petersen
72b68bc9f0
cpu: adjusted IRQ stack sizes for Cortex CPUs
2014-11-06 15:16:33 +01:00
benpicco
cedc588d77
Merge pull request #1782 from benpicco/fix_malloc
...
check if the requested memory is really available in _sbrk_r
2014-11-05 13:21:40 +01:00
Benjamin Valentin
879768397e
malloc: check if the requested memory is really available
2014-11-05 12:11:24 +01:00
Ian Martin
b37698a064
cpu/cc2538: Enable the CC2538's more compact alternate interrupt mapping.
2014-11-03 14:17:00 -05:00
Benjamin Valentin
73f6ac6bce
Revert "cpu/cc2538: sbrk() checks if the requested memory is really available."
...
This reverts commit 81dea364a5
.
2014-11-03 18:46:49 +01:00
Hauke Petersen
e7fbaf3815
cpu: removed NAKED attribute from ISRs
...
- removed the __attribute__((naked)) from ISRs
- removed ISR_ENTER() and ISR_EXIT() macros
Rationale: Cortex-Mx MCUs save registers R0-R4 automatically
on calling ISRs. The naked attribute tells the compiler not
to save any other registers. This is fine, as long as the
code in the ISR is not nested. If nested, it will use also
R4 and R5, which will then lead to currupted registers on
exit of the ISR. Removing the naked will fix this.
2014-10-30 19:33:32 +01:00
Thomas Eichinger
b756534a58
Merge pull request #1874 from locicontrols/cc2538-oe
...
cpu/cc2538 bug fix: OE (output enable) bit was set by gpio_init_in().
2014-10-28 16:43:50 +01:00
Ian Martin
81dea364a5
cpu/cc2538: sbrk() checks if the requested memory is really available.
2014-10-27 20:00:52 -04:00
Ian Martin
34086fc6c6
cpu/cc2538 bug fix: OE (output enable) bit was set by gpio_init_in().
2014-10-24 14:36:06 -04:00
Hauke Petersen
ffea9fc4e8
cpu/cc2538: added linkerscript for cc2538sf53
2014-10-24 15:25:44 +02:00
Hauke Petersen
6889fd1f89
cpu/cc2538: adjusted GPIO register definitions
2014-10-24 14:43:52 +02:00
Hauke Petersen
9051c7be4b
Merge pull request #1861 from haukepetersen/fix_cc2538_irqvector
...
cpu/cc2538: cleaned up IRQ vector definition
2014-10-24 14:40:10 +02:00
Hauke Petersen
ca20603d54
cpu/cc2538: made ISR names configurable by a board
2014-10-24 14:00:53 +02:00
Hauke Petersen
24ac5a7e94
cpu/cc2538: cleaned up IRQ vector definition
2014-10-24 14:00:47 +02:00
Hauke Petersen
ccd601b429
cpu/cc2538: centralized all cpu specific includes
...
- added all CPU specific includes to cpu-conf.h
- removed now not needed includes from cpu .c files
2014-10-23 14:04:57 +02:00
Ian Martin
647391f71c
cc2538: Set __NVIC_PRIO_BITS to the correct value of 3.
2014-10-20 14:21:17 -04:00
Ian Martin
0605a7eb95
Add support for the Texas Instruments CC2538 ARM Cortex-M3 MCU and developer kit.
2014-10-13 09:29:49 -04:00
Hauke Petersen
ae48fccdf7
Copy some files from cpu/sam3x8e to cpu/cc2538.
2014-10-06 15:30:24 -04:00