Ian Martin
705879741c
cpu/cc2538: use the MCU's default UART FIFO interrupt levels
2016-03-07 17:52:06 -05:00
Ian Martin
5f05a956db
cpu/cc2538: clear only the latched UART interrupt flags
...
Otherwise incoming bytes can remain in the receive FIFO indefinitely.
2016-03-07 17:52:06 -05:00
a6a98dc5a9
cpu: cc2538: add missing include to periph_cpu.h
2016-03-07 23:25:20 +01:00
kYc0o
740635daaa
Merge pull request #3765 from locicontrols/cc2538-i2c
...
cpu/cc2538: add periph/i2c driver
2016-03-07 18:22:32 +01:00
6881f65f46
cpu: cortexm*: move cpu_conf.h stuff from cpu.h into cpu_conf_common.h
2016-03-05 18:20:17 +01:00
Ian Martin
4936edb80f
cpu/cc2538: initialize the GPIO controller to a default state
2016-03-03 11:16:24 -05:00
Ian Martin
9642f2531a
cpu/cc2538: add periph/i2c driver
2016-03-03 11:04:39 -05:00
kYc0o
e730f1bdc3
Merge pull request #4878 from locicontrols/cc2538-periph-timer
...
cpu/cc2538/periph/timer overhaul
2016-03-03 11:11:57 +01:00
kYc0o
ec1bea389b
Merge pull request #2753 from locicontrols/baudrate-fix
...
cpu/cc2538: avoid using bitfields with the LCRH register
2016-03-02 11:41:02 +01:00
Ian Martin
b6fbdb2f79
Avoid rounding errors during frequency scaling.
2016-03-01 15:18:45 -05:00
Ian Martin
4176d04b02
cpu/cc2538/periph/timer overhaul
...
* Use the 32-bit counter mode.
* Apply frequency scaling for non-16 MHz frequencies.
2016-03-01 15:15:16 -05:00
Ian Martin
92a16a50dd
cc2538 gptimer corrections.
2016-03-01 14:59:50 -05:00
Ian Martin
c91ae645a5
cpu/cc2538: break-out the bitfields in the GPTimer IMR register.
2016-03-01 14:59:50 -05:00
Hauke Petersen
b11a3ad74b
cpus: adapted timer implementations to API changes
2016-02-29 14:45:00 +01:00
Ian Martin
04bd6e5f7c
cpu/cc2538: avoid using bitfields with the LCRH register
...
Otherwise the UART ignores the new baudrate divisor.
2016-02-26 11:42:32 -05:00
Joakim Nohlgård
e2f7ac78f0
Merge pull request #4040 from gebart/pr/periph-timer-init-freq
...
periph/timer: Change timer_init API to support arbitrary (integer) frequencies
2016-02-15 23:36:44 +01:00
Hauke Petersen
216a4cb432
cpu/cc2538: adapted HWRNG implementation
2016-02-14 12:58:30 +01:00
Joakim Nohlgård
943c106461
cpu/cc2538: Update to match timer_init API change
2016-02-13 21:29:36 +01:00
Hauke Petersen
940097336a
cpu: cleanup and unification of CPUID implementations
...
- moved definition of CPUID_LEN to periph_cpu.h
- fixed some doxygen
- simplyfied some implementations
2016-02-08 14:36:03 +01:00
Hauke Petersen
ad0abdcadd
cpus: use default isr_ctx struct in GPIO drivers
2016-01-27 17:00:37 +01:00
Hauke Petersen
e1df626a9b
cpu/cc2538: doxgen fixes
...
- added missing documentation
- repaired doxygen groups
2016-01-27 09:55:24 +01:00
Hauke Petersen
ad23d0dcea
cpu/cc2538: harmonized naming of vendor headers
2016-01-27 09:55:24 +01:00
Oleg Hahm
4780b5cba1
cc2538: fix pedantic compiler warnings
2015-12-07 20:28:53 +01:00
Hauke Petersen
a58d577cb1
cpu/cc2538: adapted UART driver
2015-10-27 14:59:38 +01:00
Joakim Nohlgård
cbaeccdb90
periph/timer: Drop timer_reset
2015-10-17 20:11:03 +02:00
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