0194091673
remove obsolete lpm code
2017-01-12 11:24:15 +01:00
Hauke Petersen
8feeea9a12
cpu/cc2538: reworked GPIO driver
2017-01-11 10:19:06 +01:00
Hauke Petersen
3a00fe8e49
cpus: make use of cortexm_isr_end()
2016-12-21 11:28:46 +01:00
smlng
35adde55d2
cppcheck: cpu/cc2538 reduce scope of variables
2016-12-20 15:48:54 +01:00
Oleg Hahm
ccb9179c23
Merge pull request #5824 from kaspar030/change_default_c_dialect
...
make: use -std=c99 as default
2016-12-08 13:44:34 -05:00
Peter Kietzmann
e547ff1d60
Merge pull request #6013 from haukepetersen/opt_periph_uartreturntypes
...
periph/uart: added names to return values
2016-11-29 19:14:09 +01:00
f4bee2672c
cpu: cc2538: remove typeof() usage
2016-11-15 14:59:36 +01:00
Francisco Acosta
eb06b13722
Merge pull request #5754 from locicontrols/cc2538-timer-pr
...
CC2538 periph/timer overhaul
2016-11-01 23:22:21 +01:00
Hauke Petersen
2eebf36eb2
cpu/uart: make use of named return values
2016-10-28 10:32:00 +02:00
Martine Lenders
20e1fce5b7
ieee802154: centralize default values
2016-10-26 15:32:12 +02:00
Aaron Sowry
9f05620654
cc2538: Fix indentation
2016-10-26 19:48:34 +13:00
smlng
89978ab8e5
cc2538: add netstat_l2
2016-10-21 21:56:04 +02:00
Aaron Sowry
191dc0ffad
cpu/cc2538: Wait for transmission to complete before returning from send()
2016-10-07 12:25:38 +13:00
Kees Bakker
bac5cda1e3
periph/i2c: convert char to uint8_t where applicapable
...
In general, data transferred through I2C are bytes and thus should have
type uint8_t, not char.
Also convert uint8_t ptrs to void ptrs
2016-10-04 20:26:39 +02:00
smlng
77250f89a3
cc2538: disable l2 ack recv irq
2016-09-27 15:04:39 +02:00
Aaron Sowry
2ba43d560f
cpu/cc2538: Remove superfluous mutex lock
2016-09-04 20:51:51 +12:00
Oleg Hahm
908f5489b6
Merge pull request #5653 from aeneby/rssi_lqi_fix_v2
...
cpu/cc2538: Make ED and LQI values 802.15.4 compliant
2016-09-04 10:27:02 +02:00
Peter Kietzmann
28638bea92
Merge pull request #5725 from aeneby/tx_underrun_fix
...
cpu/cc2538: wait for ongoing transmission before flushing TX FIFO
2016-08-30 21:07:14 +02:00
5ab97fe38b
cpu: build cortexm vectors.c without LTO
2016-08-29 13:30:17 +02:00
Aaron Sowry
5f71cc82fb
cpu/cc2538: wait for ongoing transmission before flushing TX FIFO
2016-08-25 21:25:11 +12:00
Ian Martin
abae801105
cpu/cc2538/periph/timer overhaul. support 16-bit and 32-bit modes
2016-08-16 15:07:26 -04:00
Martine Lenders
bd2429f299
cpu: drivers: adapt devices for netdev2 parameter type change
2016-08-03 12:30:51 +02:00
Jason Tran
4136b95930
cpu/cc2538: fix debug statements
2016-07-25 18:35:05 -07:00
Aaron Sowry
66b36397b6
cpu/cc2538: Enable CRC checking of received packets ( #5654 )
2016-07-25 12:34:44 -04:00
kYc0o
91410f5259
Merge pull request #5626 from aabadie/default_channel
...
makefiles: expose a single DEFAULT_CHANNEL variable
2016-07-18 14:26:24 +02:00
Aaron Sowry
105c31925f
cpu/cc2538: Make ED and LQI values 802.15.4 compliant
2016-07-17 09:45:47 +12:00
Aaron Sowry
a301c37c2e
cpu/cc2538: Remove union names from structs
...
Make the unions anonymous, since this makes referencing
their bytes much simpler.
2016-07-16 12:55:12 +12:00
271cbc26b8
drivers/cc2420 & cpu/cc2538: adding support for default channel configuration
2016-07-14 17:50:50 +02:00
Aaron Sowry
a2ba22dd0f
cpu/cc2538: Add RF driver
2016-07-13 14:19:45 +12:00
Andreas "Paul" Pauli
29f0eea2ef
cpu/cc2538: add GPIO_PIN() macro to periph_conf.h. ( #5507 )
2016-06-08 14:36:54 -04:00
zhuoshuguo
1cbe79a373
CPU: fix include header guards
...
Fix cpu/lpc2387/include/lpc2387.h
2016-06-08 16:38:20 +02:00
Joakim Nohlgård
c2b20f1f27
cpu/cc2538: Cast enum to unsigned int for comparison
2016-06-01 16:42:15 +02:00
Ian Martin
10b001c3eb
cpu/cc2538: eliminate cc2538.ld and use cortexm_base.ld instead
2016-05-10 12:21:29 -04:00
DipSwitch
eb6eed6c2c
cpu/cc2538/spi: Fix compiler warning of possible uninitialized variable
2016-04-19 22:43:51 +02:00
kYc0o
699410efc8
Merge pull request #5124 from locicontrols/fixes
...
cpu/cc2538: fix build errors when UART1 or the 32 kHz crystal is enabled
2016-04-14 12:00:53 +02:00
Cenk Gündoğan
8b7512f0bf
Merge pull request #5187 from Yonezawa-T2/i2c_debug
...
i2c: add missing #ifdef block
2016-03-30 09:34:40 +02:00
Yonezawa-T2
7271c928cc
i2c: add missing #ifdef block
2016-03-30 16:24:38 +09:00
Yonezawa-T2
dc9f769835
NEEDS SQUASHING i2c: revert partially
2016-03-29 17:37:50 +09:00
Yonezawa-T2
1ce140d910
debug: fix compilation error for %p formatter
2016-03-29 11:46:29 +09:00
Ian Martin
a553fe0f84
cpu/cc2538: fix build errors when UART1 or the 32 kHz crystal is enabled
2016-03-28 17:31:58 -04:00
Ian Martin
a2ac92b2bd
cpu/cc2538: add periph/spi driver
2016-03-28 17:24:07 -04:00
Ian Martin
7b8c86ec16
cpu/cc2538/periph/gpio: fix gpio_init() bugs in cfed0e3
2016-03-23 13:59:02 -04:00
Hauke Petersen
cfed0e33cc
cpu/cc2538: adapted to GPIO inerface changes
2016-03-17 14:39:11 +01:00
Joakim Nohlgård
30ed36b236
cpu/cc2538: i2c: Make WARN_IF use {} to silence Clang warning when ENABLE_DEBUG=0
2016-03-13 08:14:39 +01:00
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
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