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
185c7ac11b some (ptr == 0) -> (ptr == NULL) fixes (found by coccinelle) 2017-04-20 23:31:32 +02:00
0e6b957b76 cpu: k60: remove dangling symlink 2017-04-20 11:00:02 +02:00
Martine Lenders
2e6520d7a7 Merge pull request #6829 from francois-berder-imgtec/periph-gpio
PIC32: Add GPIO peripheral
2017-04-19 12:43:15 +02:00
a884640dec Merge pull request #6875 from dylad/fix_samd21_cpu_bug
cpu/samd21: fix NVM wait states
2017-04-19 10:26:39 +02:00
Martine Lenders
38f383c68d Merge pull request #6703 from OlegHahm/cppcheck_fixes
dist: enable cppcheck warnings for all files
2017-04-19 08:18:47 +02:00
Francisco Acosta
7333016547 Merge pull request #6791 from gebart/pr/kinetis-ldscript-unification
kinetis: move ldscripts to kinetis_common for easier reuse
2017-04-18 10:38:41 +02:00
3e0edad466 Merge pull request #6877 from steffen-p/stm32_clk_init_hse_i2c
cpu/stm32f3: fix for non-functional i2c
2017-04-14 18:48:55 +02:00
76155ea820 cpu/stm32l4/ldscripts: fix stm32l476rg cpuid 2017-04-14 14:48:25 +02:00
Oleg Hahm
984077d35c cpu: x86: eliminate cppcheck warnings 2017-04-14 14:36:16 +02:00
Oleg Hahm
4219011b66 cpu: lpc2387: make comment a comment 2017-04-14 14:36:16 +02:00
Oleg Hahm
242cd6290a cpu: kinetis: suppress incorrect cppcheck warning 2017-04-14 14:36:16 +02:00
Martine Lenders
72b965cd7e Merge pull request #6897 from kaspar030/fix_byteorder_names
core: byteorder.h: rename NTOH* -> ntoh*, HTON* -> hton*
2017-04-13 16:39:20 +02:00
Joakim Nohlgård
5203ad2643 k60: Use kinetis_common ldscript, rectify CPU_MODEL to full part number 2017-04-13 14:42:56 +02:00
Joakim Nohlgård
1079866b33 k64f: Use kinetis_common ldscript 2017-04-13 14:42:55 +02:00
Joakim Nohlgård
ed3ee07cac kw2x: Use kinetis_common ldscripts 2017-04-13 14:42:53 +02:00
Joakim Nohlgård
12c9004a82 kinetis: Add ldscripts for various memory layouts 2017-04-13 14:42:19 +02:00
Joakim Nohlgård
14ec05eab8 Merge pull request #6847 from gebart/pr/kw2x-rename-kw2xd
kw2xd: Rename CPU kw2x -> kw2xd
2017-04-13 13:13:28 +02:00
cfd10c394a adapt to changed byteorder.h 2017-04-13 11:35:35 +02:00
Joakim Nohlgård
95e3d202f2 kw2xd: Rename CPU kw2x -> kw2xd
NXP calls the family KW2xD in their material.
http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/kinetis-cortex-m-mcus/w-series-wireless-m0-plus-m4:KINETIS_W_SERIES
2017-04-13 10:47:42 +02:00
Vincent Dupont
70ed63ed25 Merge pull request #6838 from aabadie/nucleo32_l432
boards/nucleo32-l432: initial support
2017-04-13 09:44:05 +02:00
dylad
2b1a1e70c3 cpu/samd21: fix NVM wait states
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-04-12 20:23:51 +02:00
Francois Berder
74a999abe4 cpu: mips: Fix missing include for pic32mx and pic32mz
Compilation for pic32mx and pic32mz did not include the path
to cpu/mips_pic32_common/include. Also,
cpu/mips_pic32_common/Makefile.include was never parsed. It was
found that mips32r2_common and mips_pic32_common are both defining
similar parameters for linkers which cause issues if both
Makefile.include get parsed.

Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-04-12 10:58:52 +01:00
Francois Berder
72234d7df4 boards: pic32-wifire: Add support for GPIO peripheral
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-04-12 10:58:52 +01:00
Francois Berder
847c126fbe boards: pic32-clicker: Add support for GPIO peripheral
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-04-12 10:58:52 +01:00
Francois Berder
37281c8c5e cpu: pic32_common: Implement simple GPIO driver
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-04-12 10:58:52 +01:00
Steffen Pengel
c7e334d3dc cpu/stm32f3: set i2c clk input to sysclk when HSI is deactivated
According to the STM32F3 clocktree (ref. manual p. 126) the I2CX
hardware is driven by either HSI or SYSCLK.
If HSI is deactivated SYSCLK clock must be selected as I2CX clock.

Signed-off-by: Steffen Pengel <steffen.pengel@gmail.com>
2017-04-09 21:09:22 +02:00
Joakim Nohlgård
39fcc8bc62 Merge pull request #6858 from gebart/pr/native-init-ctors
native: Finish iterating constructor calls before moving on to native_cpu_init
2017-04-09 18:56:07 +02:00
Joakim Nohlgård
ad01950b97 native: Finish iterating constructor calls before moving on to native_cpu_init 2017-04-09 17:22:17 +02:00
Joakim Nohlgård
a107a416cf kinetis: Refactor UART driver 2017-04-09 17:21:38 +02:00
Joakim Nohlgård
4a9cb807c6 k60: Remove (broken) support for first revision K60 hardware
The CPU has multiple issues and several parts of the platform code
does not even compile cleanly for this CPU in the current state.

This removes support for parts MK60DN256ZVLL10, MK60DN512ZVLL10
(note the Z) CPUs with this part number were used in Mulle v0.60 which
only has been used in some in-house projects at Eistec and LTU.
2017-04-07 08:39:49 +02:00
8717008959 cpu/stm32l4: add support for stm32l432kc 2017-04-06 22:16:04 +02:00
Martine Lenders
752421f931 Merge pull request #6825 from smlng/docu/cpu/cc26x0
doc: adapt consistent naming for CPU CC26x0
2017-04-06 21:20:08 +02:00
Martine Lenders
8e54448aea Merge pull request #6867 from gebart/DipSwitch-pr/remove_system_core_clock_update
cpu: remove superfluous SystemCoreClockUpdate
2017-04-06 21:19:36 +02:00
d36bf378fc Merge pull request #6819 from aabadie/nucleo_l1_adc_dac
stm32l1: add adc & dac support, update configuration for nucleo-l1
2017-04-06 17:23:36 +02:00
6529abd687 Merge pull request #6834 from haukepetersen/add_stm32l_rtt
cpu/stm32_common: added LPTIM based rtt implementation
2017-04-06 16:08:39 +02:00
Hauke Petersen
e1dde6b456 cpu/nrf5x: unified rtt driver 2017-04-06 11:58:52 +02:00
DipSwitch
a322200582 cpu: remove superfluous SystemCoreClockUpdate 2017-04-06 10:19:27 +02:00
Hauke Petersen
56c3d3e5bf cpu/stm32_common: added LPTIM1 based rtt impl. 2017-04-06 09:57:30 +02:00
Hauke Petersen
deacd69534 cpu/stm32l4: fixed number of IRQs 2017-04-06 09:57:18 +02:00
730c611fab cpu/stm32l1: add adc support 2017-04-05 21:40:06 +02:00
Hauke Petersen
469acf7db8 Merge pull request #6851 from haukepetersen/opt_nrf_clkinit
cpu/nrf5x: unified clock initialization code
2017-04-05 21:31:33 +02:00
Francisco Acosta
9edca89ea7 Merge pull request #6625 from aabadie/nucleo144_f303
boards/nucleo144-f303: initial support
2017-04-05 19:31:26 +02:00
Hauke Petersen
3060d96bfd cpu/nrf5x: unified clock initialization code 2017-04-05 18:07:23 +02:00
Martine Lenders
8899825630 Merge pull request #6863 from haukepetersen/add_board_nrf52840dk
boards: add support for nRF52840dk
2017-04-05 18:00:37 +02:00
Hauke Petersen
334b2a6dc1 cpu/nrf52: added support for nRF52840
- added vendor header files for nrf52840
- added config for nrf52840
- added additional isr vectors for the nrf52840
- enabled port 1 in GPIO driver
- adapted periph drivers to cope with GPIO driver changes
- adapted the GPIO config of the I2C driver for the nrf51
2017-04-05 16:43:49 +02:00
89c5507239 Merge pull request #6788 from gebart/pr/kinetis-lptimer-latch-macro
kinetis: Remove LPTIMER_CNR_NEEDS_LATCHING
2017-04-05 16:14:57 +02:00
Francisco Acosta
ffd67cacea Merge pull request #6789 from gebart/pr/cpu-model-redundant
kinetis: Remove duplicate CPU_MODEL CFLAGS definition
2017-04-05 16:08:33 +02:00
Francisco Acosta
5d68661c98 Merge pull request #6860 from gebart/pr/stellaris-makefile
cpu/stellaris: Rename Makefile -> Makefile.include
2017-04-05 14:02:10 +02:00
Joakim Nohlgård
7f8cde177b kinetis: Remove LPTIMER_CNR_NEEDS_LATCHING
The macro is no longer used after the timer driver was refactored
2017-04-05 09:04:54 +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