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

2718 Commits

Author SHA1 Message Date
Joakim Nohlgård
9adeaf0942 cpu/sam0: cpuid: Refactor for clarity 2017-04-05 09:03:49 +02:00
Joakim Nohlgård
fe75996cbc cpu/lm4f120: Remove stub cpuid
NVIC_CPUID is not a unique device ID, it is the Cortex-M core family ID.
2017-04-05 09:03:49 +02:00
Joakim Nohlgård
cf067d082b cpu/stellaris: Rename Makefile -> Makefile.include 2017-04-04 19:57:12 +02:00
Martine Lenders
ac7671762d Merge pull request #6778 from miri64/posix_sockets/enh/port-to-vfs
posix_sockets: port to vfs for file descriptors
2017-04-04 19:51:51 +02:00
b0f4123537 Merge pull request #4699 from gebart/pr/makefile-reorganize
Makefiles: move all supporting Makefile includes to /makefiles
2017-04-04 19:45:58 +02:00
Joakim Nohlgård
339a4da9dc Makefiles: move to new directory /makefiles 2017-04-04 15:11:54 +02:00
Martine Lenders
577048db3a Merge pull request #6687 from dylad/fix_saml21_spi
SAML: Fix SPI SERCOM ID calculation
2017-04-03 20:24:30 +02:00
Martine Lenders
96e0ce8ed3 atmega_common: provide implementation for POSIX syscalls 2017-04-03 20:23:14 +02:00
Martine Lenders
6a6b9e8f16 doc: fix grouping of mtd_native 2017-03-31 13:38:01 +02:00
Hauke Petersen
278d39153d boards/nucleo-l476: enabled hwrng feature
- enabled hwrng feature
- fixed 48MHz clock selection for the STM32L4
2017-03-31 10:00:54 +02:00
Hauke Petersen
5311e12d8a Merge pull request #6820 from haukepetersen/opt_stm32_hwrng
cpu/stm32_common: unified hwrng driver
2017-03-31 09:59:04 +02:00
smlng
da57ce31a1 doc: adapt consistent naming for CPU CC26x0 2017-03-31 09:21:19 +02:00
Hauke Petersen
2a6a82ce2c cpu/stm32_common: unified hwrng driver 2017-03-30 17:18:31 +02:00
Hauke Petersen
964deefc39 cpu: added support for stm32l4 2017-03-30 16:58:34 +02:00
Hauke Petersen
4e33f0f735 Merge pull request #6764 from bergzand/stm32common-spi
stm32_common/spi: fix receive after transmit-only error
2017-03-30 09:44:41 +02:00
Neil Jones
dc67422f09 boards: pic32-clicker: Add support for the MikroE Clicker board.
This board features a pic32mx470f512h PIC32 device with a MIPS core.
2017-03-29 14:43:46 +01:00
Neil Jones
e30aed3bc6 cpu: mips-pic32mx: Add support for PIC32MZ devices
Specific support for the pic32mx470f512h device is added along with code common
to all pic32mx devices.
2017-03-29 14:43:45 +01:00
Hauke Petersen
76bae4b111 Merge pull request #6066 from neiljay/pr/add_mips-pic32_mz
cpu: Add PIC32MZ support
2017-03-29 12:53:47 +02:00
Vincent Dupont
b34611273c Merge pull request #6336 from OTAkeys/pr/stm32_uart
cpu/stm32_common: add UART HW flow control
2017-03-29 12:47:49 +02:00
Peter Kietzmann
d6a3d4608a Merge pull request #6717 from dkm/pr/gpio_fix
cpu/lm4f120: fix gpio isr
2017-03-29 11:00:39 +02:00
Marc Poulhiès
c3e46831da cpu/lm4f120: fix gpio isr
- add missing call to cortex_isr_end()
- clear IT as close as possible to its handler.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2017-03-29 09:37:42 +02:00
Vincent Dupont
a8da073f51 cpu/stm32_common: add UART HW flow control 2017-03-29 09:35:29 +02:00
Martine Lenders
c2463a9047 Merge pull request #6811 from haukepetersen/opt_pmlayred_blockinit
pm_layerd: fix initial value for PM_BLOCKER_INITIAL
2017-03-29 09:08:43 +02:00
Hauke Petersen
5c7ed2228d pm_layerd: fix initial value for PM_BLOCKER_INITIAL
the current value was a debugging left-over and should
actually be 0.
2017-03-28 19:32:32 +02:00
Neil Jones
c4d28cb5e2 boards: pic32-wifire: Add support for the Digilent WiFire board.
This board features a pic32mz2048efg100 PIC32 device with a MIPS core.
2017-03-28 16:25:31 +01:00
Joakim Nohlgård
d1ea50a600 mtd: Redefine MTD_0 as a mtd_dev_t * 2017-03-28 17:00:39 +02:00
Joakim Nohlgård
d578f9bfdc kinetis: Remove duplicate CPU_MODEL CFLAGS definition
These are already provided by cortexm_common
2017-03-25 18:28:35 +01:00
Francisco Acosta
9e998efb16 Merge pull request #6733 from gebart/pr/kinetis-vectors
kinetis: Refactor interrupt vector definition
2017-03-24 18:18:25 +01:00
d807875cd3 cpu/stm32f3: add support for stm32f303ze 2017-03-24 16:03:44 +01:00
Francisco Acosta
ffad15fa85 Merge pull request #6594 from aabadie/nucleo144_f429
boards/nucleo144-f429: initial support
2017-03-24 15:52:15 +01:00
Joakim Nohlgård
d73e6872ba kinetis: Refactor interrupt vector definition
... to match the vector definition in other Cortex-M platforms
2017-03-24 15:01:20 +01:00
Neil Jones
241087fd76 cpu: mips-pic32mz: Add support for PIC32MZ devices
specific support for the pic32mz2046efg100 is added along with code common to
all pic32 devices and all pic32mz devices.
2017-03-24 13:44:15 +00:00
Neil Jones
1838ca575a cpu: mips: Add EIC interrupt mode support.
Note this is only supported in unvectored mode currently.
2017-03-24 13:44:15 +00:00
4dc2028c9b Merge pull request #6672 from gebart/pr/ccas
make: Add support for specifying a different compiler for assembler
2017-03-24 11:25:43 +01:00
dylad
c24c9390e5 cpu/sam0_common/include: fix SERCOM ID calculation for SAML family
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-03-22 21:08:41 +01:00
Martine Lenders
25b2e65b77 cpu: native: make syscalls vfs ready (introduce real_fcntl) 2017-03-22 20:18:57 +01:00
465f2710c6 stm32_common/spi: fix receive after transmit-only error 2017-03-20 09:37:03 +01:00
8417aac5cc cpu/stm32f4: add support for stm32f429zi 2017-03-18 15:56:56 +01:00
Vincent Dupont
f656a31e58 cpu/cortexm_common: use linker variable to initialize SCB->VTOR 2017-03-17 18:07:22 +01:00
Vincent Dupont
1b2b5d9df9 Merge pull request #5624 from OTAkeys/pr/mtdi_flash
mtd: add a generic low level flash interface
2017-03-17 17:18:13 +01:00
8887cf55e7 cpu/stm32f4: add support for stm32f446ze 2017-03-16 18:23:38 +01:00
Vincent Dupont
9e8cb3d135 native: add mtd-compliant flash emulation 2017-03-16 11:24:22 +01:00
0c2314cd9d cpu/stm32f3: add support for stm32f302r8 2017-03-16 10:43:28 +01:00
bf45254a8d cpu/stm32l0: add support for stm32l031k6 2017-03-15 14:06:14 +01:00
Francisco Acosta
1a17955551 Merge pull request #6025 from aabadie/nucleo_f410
boards/nucleo-f410: initial support
2017-03-15 13:03:39 +01: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
2eda4bf2fe cpu/stm32f4: add support for stm32f410rb 2017-03-14 18:45:11 +01:00
lebrush
2af148d8cd Merge pull request #6714 from OTAkeys/pr/stm32_unify_gpio
cpu/stm32_common: unify gpio driver
2017-03-13 21:08:00 +01:00
Vincent Dupont
7b686b3015 cpu/stm32_common: unify gpio driver 2017-03-13 15:09:12 +01:00
Joakim Nohlgård
ba2689b422 Merge pull request #6673 from gebart/pr/llvm-objcopy
llvm: Fall back for missing objcopy
2017-03-13 12:43:01 +01:00
Oleg Hahm
1660abdc70 doc: cpu: fix doxygen 2017-03-10 14:56:28 +01:00
Joakim Nohlgård
887cc72365 Merge pull request #5616 from gebart/pr/vfs
vfs: file system abstraction
2017-03-09 09:44:56 +01:00
Peter Kietzmann
8c86aa787d Merge pull request #6692 from smlng/pr/cc2538/fix_xtimer_params
cc2538: fix xtimer
2017-03-09 08:05:39 +01:00
smlng
40431fe5e3 cc2538: add feature periph_pm 2017-03-07 22:00:03 +01:00
26b99a57be cpu: native: add vfs wrappers 2017-03-07 17:59:59 +01:00
Joakim Nohlgård
5e27bf4f31 msp430: Add all expected POSIX unistd.h declarations 2017-03-07 17:59:57 +01:00
Vincent Dupont
3485ab4e96 msp430: add libc missing symbols and defines 2017-03-07 17:59:57 +01:00
Joakim Nohlgård
9ec001b84b atmega_common: Update unistd.h with prototypes of all POSIX defined functions and constants 2017-03-07 17:59:57 +01:00
Joakim Nohlgård
738876a98f cpu/atmega_common: Improve POSIX headers 2017-03-07 17:59:57 +01:00
Joakim Nohlgård
33566a2fe7 msp430: Discard order argument when using __sync_xxx for atomics 2017-03-07 10:21:37 +01:00
Hauke Petersen
997244f9d7 cpu/stm32f2: fixed blank lines at EOF 2017-03-07 08:55:16 +01:00
Hauke Petersen
1ae911e889 cpu/cc26x0: fixed doxygen issues 2017-03-07 08:55:15 +01:00
Hauke Petersen
ef3cdde903 cpu/atmega_common: fixed doxygen issues 2017-03-07 08:55:15 +01:00
Hauke Petersen
37d4f44379 cpus: mv vendor headers to include/vendor/. 2017-03-07 08:55:15 +01:00
Francisco Acosta
1e8b3c8808 Merge pull request #6682 from dkm/pr/gpio_cleanup
cpu/lm4f120: remove useless gpio_pp_t type
2017-03-03 17:40:02 +01:00
Loïc Dauphin
71c6f28ad5 cpu/stm32f1: rename opencm9-04 into opencm904 2017-03-03 09:54:32 +01:00
lebrush
afaef0a578 Merge pull request #6628 from aabadie/nucleo_l053
boards/nucleo-l053: initial support
2017-03-02 22:13:10 +01:00
smlng
e0f19f3394 cc2538: fix timer_set for channel B 2017-03-02 14:49:16 +01:00
27ad3e6b1f cpu/stm32l0: add support for stm32l053r8 2017-03-02 13:52:12 +01:00
Marc Poulhiès
b3307e1e1a cpu/lm4f120: remove useless gpio_pp_t type
Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2017-03-02 12:57:42 +01:00
Oleg Hahm
1af1727759 Merge pull request #6660 from kaspar030/fix_native_thread_yield_higher
cpu: native: fix thread_yield_higher isr_is_in() case
2017-03-02 12:19:34 +01:00
Joakim Nohlgård
30aec689d9 llvm: Fall back for missing objcopy
Copied from Makefile.include.gnu
2017-03-01 14:51:47 +01:00
Joakim Nohlgård
d90f33e654 make: Add support for specifying a different compiler for assembler 2017-03-01 14:46:59 +01:00
Francisco Acosta
29753d6018 Merge pull request #6433 from aabadie/nucleo_l073
boards/nucleo-l073: initial support
2017-02-28 20:22:39 +01:00
718618fd96 Merge pull request #6640 from immesys/fix-features-pm
cpu/cortexm_common: fix periph_pm typo
2017-02-27 22:30:55 +01:00
2d92661b76 cpu: native: fix thread_yield_higher inisr() case 2017-02-27 16:10:12 +01:00
3f57790c47 Merge pull request #6565 from OTAkeys/pr/nucleo144-f413
boards/nucleo144-f413 add inital support
2017-02-24 17:24:12 +01:00
5bd4ba6da0 cpu/stm32l0: add support for stm32l0 cpu family 2017-02-24 16:12:00 +01:00
55bb8874f3 cpu/stm32_common: special case for STM32L0 cpu family 2017-02-24 16:12:00 +01:00
79b2fd89bb Merge pull request #6568 from haukepetersen/opt_periph_uarttxonly
periph/uart: enable to run UART in TX only mode
2017-02-24 13:01:38 +01:00
Vincent Dupont
efbad0dd3f cpu/stm32f4: add stm32f413zh support 2017-02-23 17:01:44 +01:00
Hauke Petersen
fc6b7f0575 Merge pull request #6564 from haukepetersen/opt_periph_pwmpower
periph/pwm: remove pwm_(start|stop) + doc
2017-02-23 10:58:44 +01:00
Hauke Petersen
bacdb8d3d3 Merge pull request #6593 from haukepetersen/rm_gpioint
drivers: remove gpioint interface
2017-02-23 10:57:11 +01:00
Michael Andersen
a72df9f015 cpu/cortexm_common: fix periph_pm typo 2017-02-22 15:58:20 -08:00
Hauke Petersen
26e9194631 cpu/cc430: remove gpioint driver 2017-02-22 17:49:27 +01:00
2317019fda cpu/stm32f0: add support for stm32f031k6 2017-02-22 16:34:44 +01:00
5e264f13eb cpu/stm32f4: add support for stm32f411re 2017-02-22 15:18:21 +01:00
Oleg Hahm
4b79950656 Merge pull request #6558 from haukepetersen/opt_lpc2387_rmadc
cpu/lpc2387: remove (unused) legacy ADC driver
2017-02-22 11:01:04 +01:00
Martine Lenders
4b5952e0ad Merge pull request #6622 from gebart/pr/cppcheck-fixes
cppcheck fixes 1
2017-02-17 16:11:11 +01:00
Joakim Nohlgård
ba31acae58 cpu/lpc2387: Add missing assert(buff != NULL) 2017-02-16 17:12:51 +01:00
Joakim Nohlgård
5f63bd38a4 cpu/lm4f120: Fix cppcheck warning 2017-02-16 17:12:23 +01:00
Joakim Nohlgård
9830912b23 llvm: Only use GCC include paths when cross compiling
native should only use the compiler defaults for system includes.
2017-02-16 16:28:36 +01:00
Hauke Petersen
d84982428b cpu/stm32: added compile guards to flashpage.c 2017-02-13 09:45:37 +01:00
Hauke Petersen
3bd8c32554 cpu/stm32: moved flashpage driver to common code 2017-02-13 09:45:37 +01:00
Hauke Petersen
8064bd9fa9 periph/pwm: remove pwm_(start|stop) + doc
- joined start/stop and poweron/poweroff
- added general documentation
2017-02-13 09:37:31 +01:00
Neil Jones
c74ec1c253 cpu: mips: Add support for mips32r2
cpu/mips32r2_common adds base architecture support for mips32r2 cores it can be
 built in it own right as a 'CPU', but is dependant on a bootloader (like
 u-boot) to have bootstrapped the system, this has been tested on a 'malta'
 FPGA system (BOARD=mips-malta) with various mips32r2 compliant cores
 (interAptiv, P5600, etc).
2017-02-09 12:18:44 +00:00
Neil Jones
eb9985119b cpu: mips32r2_common: Add make infrastructure for mips. 2017-02-09 12:16:55 +00:00
Hauke Petersen
c3f54e9d7f cpu/stm32_common: init RX pin only if RX is active 2017-02-09 10:42:53 +01:00
Hauke Petersen
b0def58927 cpu/nrf5x: implemented UART TX only mode 2017-02-09 10:42:53 +01:00
Hauke Petersen
a2bc7bf8c7 cpu/ezr32wg: implement UART TX only mode 2017-02-09 10:42:53 +01:00