Commit Graph

59 Commits (0f2fa7883cf75bec70d3ade0ec8d3e00b8151a7c)

Author SHA1 Message Date
Joakim Nohlgård 6cda6a6560 periph/cpuid: Unify implementations to a common driver for several platforms 7 years ago
smlng e0f19f3394 cc2538: fix timer_set for channel B 7 years ago
Hauke Petersen 2f9e3c89e1 periph/hwrng: use void* buf for hwrng_read() 7 years ago
PeterKietzmann 3fa8a5e87c cpu/cc2538: fix spi_transfer_bytes 7 years ago
Hauke Petersen ca5f1befb3 cpu/cc2538+boards: adapted to SPI API changes
- adapted the SPI driver
- adapted all boards using the CPU
7 years ago
Oleg Hahm 4f4214235b timex: unambiguous time conversion macros 7 years ago
Oleg Hahm d0316fa7ae periph timer: remove timer_irq_(en|dis)able 7 years ago
Hauke Petersen 8feeea9a12 cpu/cc2538: reworked GPIO driver 7 years ago
Hauke Petersen 3a00fe8e49 cpus: make use of cortexm_isr_end() 7 years ago
Oleg Hahm ccb9179c23 Merge pull request #5824 from kaspar030/change_default_c_dialect
make: use -std=c99 as default
7 years ago
Peter Kietzmann e547ff1d60 Merge pull request #6013 from haukepetersen/opt_periph_uartreturntypes
periph/uart: added names to return values
7 years ago
Kaspar Schleiser f4bee2672c cpu: cc2538: remove typeof() usage 7 years ago
Francisco Acosta eb06b13722 Merge pull request #5754 from locicontrols/cc2538-timer-pr
CC2538 periph/timer overhaul
7 years ago
Hauke Petersen 2eebf36eb2 cpu/uart: make use of named return values 7 years ago
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
7 years ago
Ian Martin abae801105 cpu/cc2538/periph/timer overhaul. support 16-bit and 32-bit modes 7 years ago
Aaron Sowry a301c37c2e cpu/cc2538: Remove union names from structs
Make the unions anonymous, since this makes referencing
their bytes much simpler.
7 years ago
Joakim Nohlgård c2b20f1f27 cpu/cc2538: Cast enum to unsigned int for comparison 7 years ago
DipSwitch eb6eed6c2c cpu/cc2538/spi: Fix compiler warning of possible uninitialized variable 8 years ago
kYc0o 699410efc8 Merge pull request #5124 from locicontrols/fixes
cpu/cc2538: fix build errors when UART1 or the 32 kHz crystal is enabled
8 years ago
Cenk Gündoğan 8b7512f0bf Merge pull request #5187 from Yonezawa-T2/i2c_debug
i2c: add missing #ifdef block
8 years ago
Yonezawa-T2 7271c928cc i2c: add missing #ifdef block 8 years ago
Yonezawa-T2 dc9f769835 NEEDS SQUASHING i2c: revert partially 8 years ago
Yonezawa-T2 1ce140d910 debug: fix compilation error for %p formatter 8 years ago
Ian Martin a553fe0f84 cpu/cc2538: fix build errors when UART1 or the 32 kHz crystal is enabled 8 years ago
Ian Martin a2ac92b2bd cpu/cc2538: add periph/spi driver 8 years ago
Ian Martin 7b8c86ec16 cpu/cc2538/periph/gpio: fix gpio_init() bugs in cfed0e3 8 years ago
Hauke Petersen cfed0e33cc cpu/cc2538: adapted to GPIO inerface changes 8 years ago
Joakim Nohlgård 30ed36b236 cpu/cc2538: i2c: Make WARN_IF use {} to silence Clang warning when ENABLE_DEBUG=0 8 years ago
Ian Martin 705879741c cpu/cc2538: use the MCU's default UART FIFO interrupt levels 8 years ago
Ian Martin 5f05a956db cpu/cc2538: clear only the latched UART interrupt flags
Otherwise incoming bytes can remain in the receive FIFO indefinitely.
8 years ago
Ian Martin 9642f2531a cpu/cc2538: add periph/i2c driver 8 years ago
kYc0o e730f1bdc3 Merge pull request #4878 from locicontrols/cc2538-periph-timer
cpu/cc2538/periph/timer overhaul
8 years ago
kYc0o ec1bea389b Merge pull request #2753 from locicontrols/baudrate-fix
cpu/cc2538: avoid using bitfields with the LCRH register
8 years ago
Ian Martin b6fbdb2f79 Avoid rounding errors during frequency scaling. 8 years ago
Ian Martin 4176d04b02 cpu/cc2538/periph/timer overhaul
* Use the 32-bit counter mode.
 * Apply frequency scaling for non-16 MHz frequencies.
8 years ago
Hauke Petersen b11a3ad74b cpus: adapted timer implementations to API changes 8 years ago
Ian Martin 04bd6e5f7c cpu/cc2538: avoid using bitfields with the LCRH register
Otherwise the UART ignores the new baudrate divisor.
8 years ago
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
8 years ago
Hauke Petersen 216a4cb432 cpu/cc2538: adapted HWRNG implementation 8 years ago
Joakim Nohlgård 943c106461 cpu/cc2538: Update to match timer_init API change 8 years ago
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
8 years ago
Hauke Petersen ad0abdcadd cpus: use default isr_ctx struct in GPIO drivers 8 years ago
Oleg Hahm 4780b5cba1 cc2538: fix pedantic compiler warnings 8 years ago
Hauke Petersen a58d577cb1 cpu/cc2538: adapted UART driver 8 years ago
Joakim Nohlgård cbaeccdb90 periph/timer: Drop timer_reset 8 years ago
Ian Martin 40b93ea6ad cpu/cc2538: uart init overhaul 8 years ago
Ian Martin aca53006b0 cpu/cc2538: preserve UART_CTL flags when clearing an error condition 8 years ago
Ian Martin b2c51bed6a cpu/cc2538: eliminate unused macros UART_1_CTS_PORT and UART_1_RTS_PORT 8 years ago
Ian Martin d70705f840 cpu/cc2538: round when computing the UART baudrate divisor 8 years ago