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

208 Commits

Author SHA1 Message Date
167bd30453 all: fix my email address 2017-10-20 15:02:41 +02:00
smlng
fc5c432510 cpu, cc2538: fix pm, don't go into cortexm_sleep(0)
fixes #7746
2017-10-18 16:01:38 +02:00
Hauke Petersen
70e17ee5a3 cpu/cc2538/gpio: do not clear output pin on init 2017-10-04 12:15:03 +02:00
Hauke Petersen
938ba0b3c5 Merge pull request #7535 from haukepetersen/opt_cortexm_vectordefs
cpu: use shared Cortex-M base vector table
2017-10-01 21:46:17 +02:00
035d266d49 makefile: indentation cleanup 2017-09-22 12:00:47 +02:00
smlng
1ed6f84992 doc: fix whitespaces 2017-09-06 08:49:05 +02:00
Hauke Petersen
3ede8e9d95 cpu: force size of CPU specific vector table 2017-09-04 15:13:43 +02:00
Hauke Petersen
1a20ef8223 cpu: unified cortex-m base interrupt vector 2017-09-04 15:13:32 +02:00
Andreas "Paul" Pauli
a12dcaa299 Merge pull request #7361 from smlng/enh/cc2538/periph_timer
cpu, cc2538: enhance and cleanup periph timer
2017-08-29 20:03:35 +02:00
smlng
12868d2416 cpu, cc2538: cleanup periph/timer 2017-08-28 21:43:12 +02:00
Joakim Nohlgård
065bc62e0a netdev: Make set() value parameter const void * 2017-08-25 13:41:19 +02:00
smlng
46facf4ff7 cpu, cc2538: add gpio alternative functions 2017-08-24 15:31:52 +02:00
Francisco Acosta
f2efd88f98 Merge pull request #7129 from haukepetersen/opt_periph_sharetimerset
cpu: add and use shared code for timer_set()
2017-08-01 15:09:48 +02:00
smlng
b30d0617aa cpu, cc2538: add low-lever adc driver 2017-07-20 20:47:49 +02:00
smlng
e94672599d cpu, cc2538: gpio helper functions 2017-07-07 11:57:07 +02:00
Anon Mall
c4584aca2b gpio interrupt fix 2017-07-04 00:03:13 +02:00
0ccc264538 drivers: initial implementation of sx127x radio (LoRa mode only) 2017-06-30 19:00:40 +02:00
smlng
01af6d94c4 cpu, periph: retain constness in spi_transfer_bytes 2017-06-29 15:47:13 +02:00
smlng
bb82789644 cc2538: fix cppcheck warning in periph i2c driver 2017-06-26 15:29:04 +02:00
smlng
692cf96297 doc: fix doxygen grouping of cpu periph drivers 2017-06-26 14:42:11 +02:00
Hauke Petersen
a1499f4190 cpu: add and use shared code for timer_set() 2017-06-02 12:21:56 +02:00
0fcc7d3834 cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
Joakim Nohlgård
6cda6a6560 periph/cpuid: Unify implementations to a common driver for several platforms 2017-04-05 09:03:49 +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
40431fe5e3 cc2538: add feature periph_pm 2017-03-07 22:00:03 +01:00
smlng
e0f19f3394 cc2538: fix timer_set for channel B 2017-03-02 14:49:16 +01:00
Hauke Petersen
2f9e3c89e1 periph/hwrng: use void* buf for hwrng_read() 2017-02-07 13:20:39 +01:00
Hauke Petersen
5bdb3bfa61 misc: aggregated doxygen fixes 2017-01-25 16:46:46 +01:00
Hauke Petersen
4bfce892d3 drivers/periph&cpu: add and use common periph_init() 2017-01-25 16:46:46 +01:00
Hauke Petersen
ed4cb561bb boards/remote: fixed includes 2017-01-25 16:46:46 +01:00
PeterKietzmann
3fa8a5e87c cpu/cc2538: fix spi_transfer_bytes 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
3e49d0c8c6 Merge pull request #6434 from aabadie/petersen_typo
cpu: fix typo in author email
2017-01-20 10:43:24 +01:00
245f60edfa cpu: fix typo in author email 2017-01-19 21:45:23 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Oleg Hahm
4f4214235b timex: unambiguous time conversion macros 2017-01-19 13:18:08 +01:00
Oleg Hahm
d0316fa7ae periph timer: remove timer_irq_(en|dis)able 2017-01-14 15:34:53 +01:00
0194091673 remove obsolete lpm code 2017-01-12 11:24:15 +01:00
Hauke Petersen
8feeea9a12 cpu/cc2538: reworked GPIO driver 2017-01-11 10:19:06 +01:00
Hauke Petersen
3a00fe8e49 cpus: make use of cortexm_isr_end() 2016-12-21 11:28:46 +01:00
smlng
35adde55d2 cppcheck: cpu/cc2538 reduce scope of variables 2016-12-20 15:48:54 +01:00
Oleg Hahm
ccb9179c23 Merge pull request #5824 from kaspar030/change_default_c_dialect
make: use -std=c99 as default
2016-12-08 13:44:34 -05:00
Peter Kietzmann
e547ff1d60 Merge pull request #6013 from haukepetersen/opt_periph_uartreturntypes
periph/uart: added names to return values
2016-11-29 19:14:09 +01:00
f4bee2672c cpu: cc2538: remove typeof() usage 2016-11-15 14:59:36 +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
Hauke Petersen
2eebf36eb2 cpu/uart: make use of named return values 2016-10-28 10:32:00 +02:00
Martine Lenders
20e1fce5b7 ieee802154: centralize default values 2016-10-26 15:32:12 +02:00
Aaron Sowry
9f05620654 cc2538: Fix indentation 2016-10-26 19:48:34 +13:00
smlng
89978ab8e5 cc2538: add netstat_l2 2016-10-21 21:56:04 +02:00
Aaron Sowry
191dc0ffad cpu/cc2538: Wait for transmission to complete before returning from send() 2016-10-07 12:25:38 +13:00
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
2016-10-04 20:26:39 +02:00
smlng
77250f89a3 cc2538: disable l2 ack recv irq 2016-09-27 15:04:39 +02:00
Aaron Sowry
2ba43d560f cpu/cc2538: Remove superfluous mutex lock 2016-09-04 20:51:51 +12:00
Oleg Hahm
908f5489b6 Merge pull request #5653 from aeneby/rssi_lqi_fix_v2
cpu/cc2538: Make ED and LQI values 802.15.4 compliant
2016-09-04 10:27:02 +02:00
Peter Kietzmann
28638bea92 Merge pull request #5725 from aeneby/tx_underrun_fix
cpu/cc2538: wait for ongoing transmission before flushing TX FIFO
2016-08-30 21:07:14 +02:00
5ab97fe38b cpu: build cortexm vectors.c without LTO 2016-08-29 13:30:17 +02:00
Aaron Sowry
5f71cc82fb cpu/cc2538: wait for ongoing transmission before flushing TX FIFO 2016-08-25 21:25:11 +12:00
Ian Martin
abae801105 cpu/cc2538/periph/timer overhaul. support 16-bit and 32-bit modes 2016-08-16 15:07:26 -04:00
Martine Lenders
bd2429f299 cpu: drivers: adapt devices for netdev2 parameter type change 2016-08-03 12:30:51 +02:00
Jason Tran
4136b95930 cpu/cc2538: fix debug statements 2016-07-25 18:35:05 -07:00
Aaron Sowry
66b36397b6 cpu/cc2538: Enable CRC checking of received packets (#5654) 2016-07-25 12:34:44 -04:00
kYc0o
91410f5259 Merge pull request #5626 from aabadie/default_channel
makefiles: expose a single DEFAULT_CHANNEL variable
2016-07-18 14:26:24 +02:00
Aaron Sowry
105c31925f cpu/cc2538: Make ED and LQI values 802.15.4 compliant 2016-07-17 09:45:47 +12:00
Aaron Sowry
a301c37c2e cpu/cc2538: Remove union names from structs
Make the unions anonymous, since this makes referencing
their bytes much simpler.
2016-07-16 12:55:12 +12:00
271cbc26b8 drivers/cc2420 & cpu/cc2538: adding support for default channel configuration 2016-07-14 17:50:50 +02:00
Aaron Sowry
a2ba22dd0f cpu/cc2538: Add RF driver 2016-07-13 14:19:45 +12:00
Andreas "Paul" Pauli
29f0eea2ef cpu/cc2538: add GPIO_PIN() macro to periph_conf.h. (#5507) 2016-06-08 14:36:54 -04:00
zhuoshuguo
1cbe79a373 CPU: fix include header guards
Fix cpu/lpc2387/include/lpc2387.h
2016-06-08 16:38:20 +02:00
Joakim Nohlgård
c2b20f1f27 cpu/cc2538: Cast enum to unsigned int for comparison 2016-06-01 16:42:15 +02:00
Ian Martin
10b001c3eb cpu/cc2538: eliminate cc2538.ld and use cortexm_base.ld instead 2016-05-10 12:21:29 -04:00
DipSwitch
eb6eed6c2c cpu/cc2538/spi: Fix compiler warning of possible uninitialized variable 2016-04-19 22:43:51 +02:00
kYc0o
699410efc8 Merge pull request #5124 from locicontrols/fixes
cpu/cc2538: fix build errors when UART1 or the 32 kHz crystal is enabled
2016-04-14 12:00:53 +02:00
Cenk Gündoğan
8b7512f0bf Merge pull request #5187 from Yonezawa-T2/i2c_debug
i2c: add missing #ifdef block
2016-03-30 09:34:40 +02:00
Yonezawa-T2
7271c928cc i2c: add missing #ifdef block 2016-03-30 16:24:38 +09:00
Yonezawa-T2
dc9f769835 NEEDS SQUASHING i2c: revert partially 2016-03-29 17:37:50 +09:00
Yonezawa-T2
1ce140d910 debug: fix compilation error for %p formatter 2016-03-29 11:46:29 +09:00
Ian Martin
a553fe0f84 cpu/cc2538: fix build errors when UART1 or the 32 kHz crystal is enabled 2016-03-28 17:31:58 -04:00
Ian Martin
a2ac92b2bd cpu/cc2538: add periph/spi driver 2016-03-28 17:24:07 -04:00
Ian Martin
7b8c86ec16 cpu/cc2538/periph/gpio: fix gpio_init() bugs in cfed0e3 2016-03-23 13:59:02 -04:00
Hauke Petersen
cfed0e33cc cpu/cc2538: adapted to GPIO inerface changes 2016-03-17 14:39:11 +01:00
Joakim Nohlgård
30ed36b236 cpu/cc2538: i2c: Make WARN_IF use {} to silence Clang warning when ENABLE_DEBUG=0 2016-03-13 08:14:39 +01:00
Ian Martin
705879741c cpu/cc2538: use the MCU's default UART FIFO interrupt levels 2016-03-07 17:52:06 -05:00
Ian Martin
5f05a956db cpu/cc2538: clear only the latched UART interrupt flags
Otherwise incoming bytes can remain in the receive FIFO indefinitely.
2016-03-07 17:52:06 -05:00
a6a98dc5a9 cpu: cc2538: add missing include to periph_cpu.h 2016-03-07 23:25:20 +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
6881f65f46 cpu: cortexm*: move cpu_conf.h stuff from cpu.h into cpu_conf_common.h 2016-03-05 18:20:17 +01:00
Ian Martin
4936edb80f cpu/cc2538: initialize the GPIO controller to a default state 2016-03-03 11:16:24 -05:00
Ian Martin
9642f2531a cpu/cc2538: add periph/i2c driver 2016-03-03 11:04:39 -05:00
kYc0o
e730f1bdc3 Merge pull request #4878 from locicontrols/cc2538-periph-timer
cpu/cc2538/periph/timer overhaul
2016-03-03 11:11:57 +01:00
kYc0o
ec1bea389b Merge pull request #2753 from locicontrols/baudrate-fix
cpu/cc2538: avoid using bitfields with the LCRH register
2016-03-02 11:41:02 +01:00
Ian Martin
b6fbdb2f79 Avoid rounding errors during frequency scaling. 2016-03-01 15:18:45 -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
Ian Martin
92a16a50dd cc2538 gptimer corrections. 2016-03-01 14:59:50 -05:00
Ian Martin
c91ae645a5 cpu/cc2538: break-out the bitfields in the GPTimer IMR register. 2016-03-01 14:59:50 -05:00
Hauke Petersen
b11a3ad74b cpus: adapted timer implementations to API changes 2016-02-29 14:45:00 +01:00
Ian Martin
04bd6e5f7c cpu/cc2538: avoid using bitfields with the LCRH register
Otherwise the UART ignores the new baudrate divisor.
2016-02-26 11:42:32 -05:00
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
2016-02-15 23:36:44 +01:00
Hauke Petersen
216a4cb432 cpu/cc2538: adapted HWRNG implementation 2016-02-14 12:58:30 +01:00
Joakim Nohlgård
943c106461 cpu/cc2538: Update to match timer_init API change 2016-02-13 21:29:36 +01:00