1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

26 Commits

Author SHA1 Message Date
smlng
d40cfab95a cpu/cc2538: enhance periph ADC
Adapt the periph ADC implementation to use vendor defines where
    ever possible. Remove duplicate or obsolete defines and adapt
    board configuration as required.
2018-09-03 09:01:42 +02:00
smlng
e246c19fe1 cpu/cc2538: adapt periph/spi to gpio API
Rework SPI periph driver to use proper RIOT GPIO API functions.
    Also cleanup header files by using vendor defines and remove
    obsolete code. Further, adapt board config accordingly.
2018-08-10 10:38:51 +02:00
smlng
459f7ebce0 cpu/cc2538: generalise SPI clock configuration
The SPI bus frequency/clock is calculated relative to the MCUs
    core clock. Currently all boards use the default 32MHz, hence
    prescaler settings for SPI are all the same. This PR moves the
    default config for 32MHz to the CPU and allows to be overriden
    by board config if needed.
2018-08-07 12:15:45 +02:00
smlng
dce3bba8c4 boards: fix config of cc2538 boards for new I2C API 2018-07-25 12:01:38 +02:00
danpetry
c0a85babda boards/cc2538dk: Changed UART config format
Changed the configuration of the cc2538dk board to fit the new
cc2538 format defined in the previous commit. That is, from a defines
based format to a struct based format.
2018-02-08 14:36:52 +01:00
smlng
0da95b0248 boards, cc2538dk: adapt uart pin config 2017-12-14 10:44:02 +01:00
smlng
0379461b64 boards: adapt timer config for cc2538 based boards 2017-08-28 21:43:21 +02:00
smlng
bfae64d670 boards: adapt ADC config of cc2538 based boards
adapted boards are: cc2538dk, openmote-cc2538, remote-pa,
remote-reva, and remote-revb.
2017-07-20 20:52:29 +02:00
PeterKietzmann
9b772a45de boards/cc2538: fix SPI clock initialisation 2017-01-25 16:46:46 +01:00
Hauke Petersen
ca5f1befb3 cpu/cc2538+boards: adapted to SPI API changes
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Hauke Petersen
4419f4e191 boards: removed GPIO_x defines for cc2538-based b. 2017-01-11 10:19:06 +01:00
Ian Martin
abae801105 cpu/cc2538/periph/timer overhaul. support 16-bit and 32-bit modes 2016-08-16 15:07:26 -04:00
Aaron Sowry
bc18e597c0 boards/cc2538dk: Add RF driver as dependency for board 2016-07-13 14:19:52 +12:00
kYc0o
e48079fa3f boards/cc2538dk: fix wrong UART CTS and RTS pins 2016-04-14 12:10:59 +02:00
Ian Martin
a2ac92b2bd cpu/cc2538: add periph/spi driver 2016-03-28 17:24:07 -04:00
Ian Martin
9642f2531a cpu/cc2538: add periph/i2c driver 2016-03-03 11:04:39 -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
Hauke Petersen
fe5023b7d4 boards: adapted to HWRNG changes 2016-02-14 12:59:47 +01:00
Hauke Petersen
9d6ff3d218 boards/cc2538dk: cleaned up CPU header file usage 2016-01-27 09:55:24 +01:00
Oleg Hahm
e634b8c5a8 Merge pull request #3056 from OlegHahm/board_leading_underscore_removal
boards: remove header guard under scores
2015-06-28 17:27:28 +02:00
BigDaddyD
b6bd067863 boards: removed leading underscores from macros
* also added a trailing underscore to header guards for consistency

Commit for PR 2623, repairing header file include guards.
This PR is intended to fix the include guards in files under RIOT/boards

SQUASH ME: fix underscore removal overdos

SQUASH ME: consistent macro naming

SQUASH ME: missed that one

SQUASH ME: fixed overdo

SQUASH ME: consistency
2015-06-24 15:54:36 +02:00
Hauke Petersen
a174b7644a boards: adjusted peripheral confs to GPIO changes 2015-06-12 19:12:21 +02:00
Hauke Petersen
3b792080e0 board/cc2538dk: fixed doxygen group name 2015-02-12 13:35:53 +01:00
Hauke Petersen
eee159ee74 board/cc2538dk: made ISR functions configurable 2014-10-24 14:00:53 +02: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