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

135 Commits

Author SHA1 Message Date
Andreas "Paul" Pauli
dc6eb82406
Merge pull request #9722 from smlng/pr/cc2538/adc
cpu/cc2538: enhance periph ADC
2018-09-06 14:12:03 +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
Joakim Nohlgård
8996cbe313 make: Introduce new feature flag periph_gpio_irq 2018-08-29 08:53:20 +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
Jose Alamos
a1e17ab5af doc: add wiki documentation to Doxygen files 2018-08-01 15:24:54 +02:00
smlng
dce3bba8c4 boards: fix config of cc2538 boards for new I2C API 2018-07-25 12:01:38 +02:00
cb991cd47d boards: use RIOTTOOLS variable 2018-05-15 11:23:44 +02:00
cladmi
3f145413f5 boards/makefiles: Remove '-Otype' from OFLAGS
* Remove '-Oihex' and '-Obinary' from OFLAGS for all boards
  It is now provided by the Makefile.include rule.
2018-04-09 17:32:46 +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
8a6d04ce52
Merge pull request #7925 from RIOT-OS/gnrc_netif2_integration/master
gnrc_netif2: gnrc_ipv6_nib: full integration into GNRC
2017-11-27 21:12:14 +01:00
Martine Lenders
3659df8300
cc2538dk: add renode emulator as a provided feature 2017-11-24 18:48:58 +01:00
Piotr Zierhoffer
0ca4f4252a boards: cc2538dk: add Renode test script 2017-11-08 12:43:16 +01:00
Martine Lenders
861035f22d gnrc: integrate gnrc_netif2
Not link-able, since NDP and NC are missing (intentionally)
2017-11-07 19:08:44 +01:00
ae51dc55d0 boards: adapt to reorganized CPU Makefile.features 2017-11-02 12:59:46 +01:00
02e055fc81 make: include cpu Makefile.features from board Makefile.features 2017-09-14 13:15:52 +02:00
3df5e12e10 boards: fix Makefile.dep indentation 2017-09-06 16:09:38 +02: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
Joakim Nohlgård
339a4da9dc Makefiles: move to new directory /makefiles 2017-04-04 15:11:54 +02:00
Martine Lenders
29842bb5e4 netdev2: rename to netdev and remove gnrc_netdev
With some minor hand-edits I used the following chain of commands:

```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
        xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
                     -e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
                     -e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
        grep "netdev2" | while read dir; do
                new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
                git mv -f "$dir" "$new_dir"
        done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | while read file; do
                new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
                git mv -f "$file" "$new_file"
        done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
        xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01: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
Francisco Acosta
eb06b13722 Merge pull request #5754 from locicontrols/cc2538-timer-pr
CC2538 periph/timer overhaul
2016-11-01 23:22:21 +01:00
10e9336c78 boards: adapt to automatically included boards/$board/Makefile.dep 2016-09-29 15:41:12 +02:00
PeterKietzmann
5eafb071a6 dist/tools/cc2538-bsl: enforce python2 2016-08-30 23:38:14 +02:00
Ian Martin
abae801105 cpu/cc2538/periph/timer overhaul. support 16-bit and 32-bit modes 2016-08-16 15:07:26 -04:00
kYc0o
e443b90815 Merge pull request #5452 from locicontrols/find-tty
Adjust find-tty.sh to return all matches, then use it in boards/cc2538dk
2016-07-22 16:01:46 +02:00
Aaron Sowry
bc18e597c0 boards/cc2538dk: 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
9faf55a27b boards/cc2538dk: use find-tty.sh to locate the board by serial number 2016-05-18 15:33:02 -04: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
Hauke Petersen
150bc96911 boards/cc25638dk: unified LED defines 2016-03-15 15:48:47 +01:00
kYc0o
e92f214478 boards/cc2538dk: adding PORT_DARWIN for mac support 2016-03-08 19:49:42 +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
Michael Andersen
adb62f4b55 boards/cc2538dk: Overwrite JLink flash scripts 2016-03-05 12:07:49 -08:00
Ian Martin
56b471c587 boards/cc2538dk: autodetect PORT_LINUX. 2016-03-04 13:56:24 -05: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
Joakim Nohlgård
7835ab2be7 make: Move BOARD and CPU includes to Makefile.modules 2016-02-10 16:37:03 +01:00
Joakim Nohlgård
fae9a092fd boards: Remove Makefile.include.cortexm_common 2016-02-10 16:37:03 +01:00
Hauke Petersen
f6d350a5a5 Merge pull request #4502 from haukepetersen/fix_doc_cc2538
cpu/cc2538: vendor header cleanup
2016-01-27 16:32:56 +01:00
Hauke Petersen
9d6ff3d218 boards/cc2538dk: cleaned up CPU header file usage 2016-01-27 09:55:24 +01:00
Hauke Petersen
b436219674 boards: removed F_CPU define from board.h 2016-01-27 09:52:44 +01:00
Hauke Petersen
db25206a58 boards: use default values for STDIO defines 2016-01-05 12:08:31 +01:00
Hauke Petersen
ac2b9f2524 boards: changed module name to 'board' 2015-12-07 17:53:22 +01:00
Hauke Petersen
528e832c90 boards: cleaned up entries in Makefile.features 2015-10-21 16:45:21 +02:00
Hauke Petersen
18e364ae17 boards: removed deprecated HW_TIMER defines 2015-09-17 11:22:03 +02:00
Hauke Petersen
8d89b95af5 boards: added missing periph_timer feature 2015-09-16 10:58:56 +02:00
Antonio Lignan
b8823b7afe Zolertia Re-Mote platform (cc2538 + cc1120) port 2015-08-17 14:17:32 +02: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
Oleg Hahm
5312ae998b boards: removed incorrect doxygen comment markers 2015-06-24 15:54:36 +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
49dcb692d1 boards: adapted Makefiles to cortexm_common folder
- changed naming of cortexm_common in makefiles
- included some minor cleanups
2015-05-28 19:30:07 +02:00
61ce881654 board: cc2538dk: adapt to common board Makefile 2015-05-26 10:46:34 +02:00
Tom Van den Eynde
435fc3094f boards: cc2538dk: split FEATURES_PROVIDED over multiple lines 2015-03-20 00:12:49 +01:00
Philipp Rosenkranz
02d0c88284 tests/travis: split buildtests into MCU groups. 2015-02-22 15:04:52 +01:00
Hauke Petersen
3b792080e0 board/cc2538dk: fixed doxygen group name 2015-02-12 13:35:53 +01:00
Joakim Gebart
2cb7735ce2 cc2538dk: Add -mno-thumb-interwork.
Cortex-M processors only support Thumb instructions (no ARM mode code).

Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-28 13:52:53 +01:00
Hauke Petersen
3db9935fa5 boards: added missing UART feature
added for:
- airfy-beacon
- arduino-mega2560
- cc2538dk
- msbiot
- openmote
- pca1000[0|5]
- spark-core
- stm32f4discovery
- yunjia-nrf51822
2014-12-08 18:15:46 +01:00
Hauke Petersen
467c6cf307 board/cc2538dk: enabled C++ support 2014-11-21 11:43:21 +01:00
Ian Martin
93290ddec1 boards/cc2538dk: allow the application's makefile to override the UPDATE_CCA parameter, for example:
CFLAGS += -DUPDATE_CCA=0
2014-11-10 14:14:46 -05:00
Ian Martin
6170d10bd4 boards/cc2538dk: Support flashing and debugging using the SEGGER JLink. 2014-10-30 14:44:05 -04:00
Hauke Petersen
56911ed01c Copy SEGGER JLink scripts from boards/openmote to boards/cc2538dk. 2014-10-30 14:43:39 -04:00
René Kijewski
765c88d08a make: allow drivers to implement features
This change allows drivers (or any module for that matter) to provide
features. This is e.g. useful if a board does not have a transceiver,
but your application uses `USEMODULE += some_driver`, which implements
the transceiver interface.

The line `FEATURES_PROVIDED += some_feature` should go to the guarded
block in `{sys,drivers}/Makefile.include`.
2014-10-26 23:54:10 +01:00
Hauke Petersen
eee159ee74 board/cc2538dk: made ISR functions configurable 2014-10-24 14:00:53 +02:00
Ludwig Ortmann
a20e287a96 make: introduce and use periph_cpuid feature 2014-10-16 19:35:41 +02:00
Ludwig Ortmann
3b52057fe5 make: introduce and use periph_random feature 2014-10-16 19:35:41 +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
Jelmer Tiete
1258183791 Add the latest cc2538-bsl script from https://github.com/JelmerT/cc2538-bsl/commit/f3701a0 2014-10-06 15:30:24 -04:00