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

43 Commits

Author SHA1 Message Date
Benjamin Valentin
5d111e71aa boards: drop board_init() from board.h 2022-02-25 15:08:58 +01:00
Francisco Molina
e2c57cde95
cpu/cc2538: cleanup init, add cc2538_rf_obs_sig module 2020-10-22 18:17:08 +02:00
Francisco Molina
145d24499d
cpu/cc2538_rf: remove RADIO_IRQ_PRIO 2020-10-22 17:26:08 +02:00
Benjamin Valentin
ddb2f17cb2 boards: include cc2538_eui_primary.h in cc2538 boards 2020-09-11 13:33:37 +02:00
Francisco Molina
493a56ee87
boards: use common condiguration headers for cc2538 boards 2020-03-25 08:20:53 +01:00
Francisco Molina
5d14104056
boards: add clock configuration for cc2538 2020-03-21 19:32:23 +01:00
Francisco Molina
2f3a0e9b7e
boards: fix CORE_CLOCK for cc2538 based boards 2020-03-19 16:31:56 +01:00
Dylan Laduranty
6baf501a3d boards/cc2538: update to use generic uart_hw_fc module 2020-03-10 14:22:34 +01:00
Benjamin Valentin
8af04cd939 boards: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
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
Kevin Weiss
1bbd7fcd62
Merge pull request #9724 from smlng/pr/cc2538/spi_clk
cpu/cc2538: generalise SPI clock configuration
2018-08-07 14:33:05 +02:00
Kevin Weiss
8468fe1c94
Merge pull request #8516 from jia200x/wiki_dox_convertion
doc: move wiki to Doxygen documentation (second attempt)
2018-08-07 13:27:04 +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
Jose Alamos
7b28fbf110 boards: fix Doxygen group directives 2018-08-01 15:24:55 +02:00
smlng
dce3bba8c4 boards: fix config of cc2538 boards for new I2C API 2018-07-25 12:01:38 +02:00
70802fc652 boards*: cleanup doxygen
- replace brief with name where required
- remove some unwanted empty lines
- fix missing closing doxygen name block
2018-04-18 12:08:56 +02:00
danpetry
06b98c8d0d boards/openmote-cc2538: Changed UART config format
Changed the configuration of the OpenMote 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
a4274ebe17 boards, openmote: 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
Hauke Petersen
5809c1940c boards: don't redefine xtimer default values 2017-08-18 11:18:45 +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
882bcff048 boards: replace @brief with @name when necessary 2017-04-13 12:10:30 +02:00
smlng
ba3a46435c cc2538: revert xtimer params from #5608 2017-03-07 21:59:53 +01: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
Joakim Nohlgård
24b41dc633 boards: Update XTIMER_SHIFT and XTIMER_HZ configurations to match xtimer changes 2016-11-28 11:05:03 +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
4b4cbb0317 boards/openmote-cc2538: Add RF driver as dependency for board 2016-07-13 14:19:52 +12:00
Joakim Nohlgård
4d862955c2 xtimer: Rename XTIMER -> XTIMER_DEV 2016-07-06 22:23:04 +02:00
Ian Martin
a2ac92b2bd cpu/cc2538: add periph/spi driver 2016-03-28 17:24:07 -04:00
Hauke Petersen
15ab6141e2 boards/openmote-cc2538: unified LED defines 2016-03-15 18:37:52 +01:00
Martine Lenders
dc16cb188a Merge pull request #4433 from aeneby/openmote-cca
Update OpenMote board header file to define UPDATE_CCA
2016-03-07 20:02:45 +01:00
Aaron Sowry
24f5bc8cef Update OpenMote board header file to define UPDATE_CCA.
As per the cc2538dk and ReMote boards. This enables the cc2538's
bootloader backdoor, to allow flashing via the serial interface even
when a valid image is already present.

Backdoor enable is set to LOW, PORT A, PIN 6 (ON/SLEEP on the OpenBase),
for consistency with the default OpenMote firmware.
2016-03-04 07:37:00 +13:00
Ian Martin
9642f2531a cpu/cc2538: add periph/i2c driver 2016-03-03 11:04:39 -05:00
Ian Martin
e97af73862 enclose the numeric defines in parenthesis. 2016-03-01 15:15:19 -05:00
Ian Martin
4b29d2ef6d set xtimer parameters for cc2538-based boards. 2016-03-01 15:15:19 -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
b436219674 boards: removed F_CPU define from board.h 2016-01-27 09:52:44 +01:00
Aaron Sowry
7759611713 Rename 'openmote' board to 'openmote-cc2538'
This is to avoid ambiguity with future versions of the OpenMote platform.
2016-01-23 08:06:15 +13:00