1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/cc2538
danpetry cd449e388b cpu/cc2538: Adapted UART driver incl. board config
Changed the style of the UART configuration for different boards,
from a define based configuration to one based on an array of
structs, one struct for each UART, with the format of the struct defined
in cc2538/include/periph_cpu.h.

  - Defined the fields of the struct in periph_cpu.h
  - Removed the compilation includes that were in uart.c for each UART
  - Implemented a generic ISR subroutine for clarity
  - combined uart_base and uart_init in uart.c
  - used bitmask for the interrupt setup
  - took the uart Rx, Tx, and IRQ numbers out of the config
  (as this has to match the .dev field). Replaced with
  macros from the uart number
  - took out some unused code
  - implemented power on/off commands
  - removed reset function - now bytes are just discarded on error
  - Rx now not initialised if Rx callback = NULL, as per
  drivers/periph/uart.h
  - device is now enabled after callbacks are set, not before
  - asserts raised if rts and cts are enabled for UART0
  - BIT macro removed
2018-02-08 14:36:51 +01:00
..
include cpu/cc2538: Adapted UART driver incl. board config 2018-02-08 14:36:51 +01:00
ldscripts cpu/cc2538: eliminate cc2538.ld and use cortexm_base.ld instead 2016-05-10 12:21:29 -04:00
periph cpu/cc2538: Adapted UART driver incl. board config 2018-02-08 14:36:51 +01:00
radio build: fix unused parameter errors 2017-11-28 14:36:01 +01:00
cpu.c drivers/periph&cpu: add and use common periph_init() 2017-01-25 16:46:46 +01:00
doc.txt cpu/cc2538: doxgen fixes 2016-01-27 09:55:24 +01:00
Makefile makefile: indentation cleanup 2017-09-22 12:00:47 +02:00
Makefile.features cpu: cortexm: provide periph_pm for all cortexm 2017-11-06 12:01:19 +01:00
Makefile.include Makefiles: move to new directory /makefiles 2017-04-04 15:11:54 +02:00
vectors.c cpu/cortexm: Remove leftover _estack declarations 2017-11-10 15:38:14 +01:00