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

2870 Commits

Author SHA1 Message Date
Hauke Petersen
9e995dde81 cpu/stm32f1: remove unused cpu_clock_scale 2017-06-01 18:52:15 +02:00
Joakim Nohlgård
7548c509e6 Merge pull request #7101 from haukepetersen/opt_kinetis_rmsymlinks
cpu/kinetis: prevent use of symlinks for ld-scripts
2017-06-01 06:35:43 +02:00
Cenk Gündoğan
044fac8d17 native: add break to satisfy compiler gcc-7.1.1
Building any application with gcc 7.1.1 fails with the following error:

```
~/RIOT % make -C examples/hello-world
make: Entering directory 'RIOT/examples/hello-world'
Building application "hello-world" for "native" with MCU "native".

"make" -C RIOT/boards/native
"make" -C RIOT/boards/native/drivers
"make" -C RIOT/core
"make" -C RIOT/cpu/native
RIOT/cpu/native/startup.c: In function ‘startup’:
RIOT/cpu/native/startup.c:292:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
       usage_exit(EXIT_SUCCESS);
       ^~~~~~~~~~~~~~~~~~~~~~~~
RIOT/cpu/native/startup.c:293:13: note: here
   case 'i':
   ^~~~
cc1: all warnings being treated as errors
make[2]: *** [RIOT/Makefile.base:81: RIOT/examples/hello-world/bin/native/cpu/startup.o] Error 1
make[1]: *** [RIOT/Makefile.base:20: ALL--RIOT/cpu/native] Error 2
make: *** [RIOT/examples/hello-world/../../Makefile.include:297: all] Error 2
make: Leaving directory 'RIOT/examples/hello-world'
```

```
% gcc --version
gcc (GCC) 7.1.1 20170528
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
```

fixed by adding a `break` statement after `usage_exit()`
2017-05-30 13:56:17 +02:00
Joakim Nohlgård
8efb714edd kinetis/mcg: Use {} for empty while loops 2017-05-30 08:50:30 +02:00
Joakim Nohlgård
5c34eb4e2c kinetis: Add support for low-end MCG without PLL
Found in Kinetis L series, among others
2017-05-30 08:50:30 +02:00
Joakim Nohlgård
a8450f2952 kinetis: Simplify MCG state traversal algorithm
The new implementation uses a precalculated map of which mode to switch
to next if going from mode A to mode B. This simplifies the
implementation for moving between modes which are not direct neighbors.
See mcg.h documentation for a diagram of the state machine for the
clocking modes. Also found in the CPU reference manual of all Kinetis
CPUs, MCG chapter, MCG mode state diagram.
2017-05-30 08:50:30 +02:00
Joakim Nohlgård
f9ed160fe2 cpu/kinetis_common: Add state graph to MCG documentation 2017-05-30 08:50:30 +02:00
Joakim Nohlgård
f6073c0aa4 Merge pull request #6993 from gebart/pr/kinetis-isr
kinetis: Unify default ISR definitions
2017-05-30 08:48:50 +02:00
Hauke Petersen
9b7ece6827 cpu/kinetis: prevent use of symlinks for ld-scripts
The use of symbolic links leads to trouble in certain environments
(e.g. vagrant under Win). This PR gets rid of symlinks and uses
variables in the Makefiles to map to the correct linkerscripts
instead.
2017-05-26 16:07:48 +02:00
Martine Lenders
d4693648ba Merge pull request #7095 from kaspar030/add_headerguard_check_script
dist: tools: add headerguard check script
2017-05-24 18:08:29 +02:00
0fcc7d3834 cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
a65931c04a add some missing header guards 2017-05-24 17:54:01 +02:00
Hauke Petersen
867b09c224 cpu/kinetis: make UART mode configurable per board 2017-05-24 14:48:49 +02:00
dfe55b6dec cpu/stm32f4: add support for smt32f412zg 2017-05-19 13:29:26 +02:00
Hauke Petersen
31dfe382a3 net/gnrc/eth: enable filtering of L2 addresses 2017-05-18 15:24:25 +02:00
dce3015e0c Merge pull request #7051 from OTAkeys/pr/stm32f7discovery
boards: add stm32f769 discovery
2017-05-17 19:24:03 +02:00
Vincent Dupont
460608cc7a cpu/stm32_common: add support of stm32f7 to RTC driver 2017-05-17 15:32:42 +02:00
Vincent Dupont
a7acc844c7 cpu/stm32f7: add support of stm32f769 2017-05-17 15:32:42 +02:00
Hauke Petersen
58cb30db6b Merge pull request #7060 from haukepetersen/opt_cpu_isrstacksizecleanup
cpu: remove ISR stack related placeholders
2017-05-16 10:44:52 +02:00
d768f5b357 cpu/sam0_common: add support for MCU used in Arduino MKR1000 board 2017-05-16 10:14:59 +02:00
8501a03cbc cleanup: apply enable_debug_false.cocci to codebase (coccinelle)
Skipped sys/cbor/cbor.c, examples/microcoap_server/microcoap_sock.c,
as they use different semantics.
2017-05-15 18:45:43 +02:00
Hauke Petersen
de4611f830 Merge pull request #6989 from photonthunder/samd21_waitstates
samd21/cpu:waitstates for low voltage
2017-05-15 11:48:39 +02:00
Hauke Petersen
5d5d4dc5a6 Merge pull request #6652 from hamilton-mote/spi-wtf
periph/spi: power regression
2017-05-15 09:17:28 +02:00
3d48eee095 cleanup: apply remove_atoi_casts.cocci (coccinelle) 2017-05-13 12:39:48 +02:00
6b0cf6a728 Merge pull request #7027 from dylad/saml21_adc
saml21/adc: initial support
2017-05-12 23:33:47 +02:00
Dan Evans
7a8551574b samd21/cpu:waitstates for low voltage 2017-05-12 14:13:09 -07:00
dylad
44dd56c3e8 sam0/adc: merged samd21 & saml21 adc driver
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-05-12 21:02:17 +02:00
Michael Andersen
20ee531486 periph/spi: hotfix for power regression 2017-05-12 10:24:47 -07:00
Hauke Petersen
9aad0e528f cpu: cleanup unused/umimplemented isr stack code
- removed ISR_STACKSIZE define where unused (set to 0)
- removed thread_arch_isr_stack_usage(), thread_arch_isr_stack_start(),
  and/or thread_arch_isr_stack_pointer() where not implemented
2017-05-12 18:07:08 +02:00
Martine Lenders
044ac554dd Merge pull request #7038 from haukepetersen/opt_sam0_sam0htovendor
cpu/sam0: move sam0.h to vendor header tree
2017-05-11 16:34:14 +02:00
8f239e4c61 Merge pull request #6812 from haukepetersen/fix_cortexm_usecommonsleep
cpu/sam0|stm32: use common cortexm_sleep()
2017-05-11 14:44:05 +02:00
Hauke Petersen
21d97c6aa7 cpu/sam0: move sam0.h to vendor header tree 2017-05-11 12:33:22 +02:00
dylad
55de3781ca saml21/adc: initial support
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-05-09 22:14:54 +02:00
Hauke Petersen
7079d481c7 cpu/stm32: added support for STM32F7 2017-05-08 09:16:12 +02:00
Hauke Petersen
10a7486246 cpu/cortex_common: added support for Cortex-M7 2017-05-08 09:16:11 +02:00
e18acd2078 Merge pull request #7009 from kbumsik/io1-fix
SAMD21/SAMR21: Add more ADC lines
2017-05-07 11:32:42 +02:00
Bumsik Kim
dfba4394c6 cpu/samd21: move adc channel struct definition to periph_cpu.h 2017-05-05 10:19:39 -04:00
Hauke Petersen
a7e54e10c0 driver/nrfmin: add get MAX_PACKET_SIZE option 2017-05-05 13:59:18 +02:00
Hauke Petersen
f875c3efc2 cpu/cortexm: s/cpu_sleep_until_.../cortexm_sle.../ 2017-05-04 13:45:11 +02:00
7fb528ef76 cpu/stm32f1: fix build issue with iotlab-m3 (arm-none-eabi-gcc 4.9.3) 2017-05-03 15:01:09 +02:00
Joakim Nohlgård
e618e6dfb4 kinetis: Unify default ISR definitions 2017-05-02 10:52:43 +02:00
Travis Griggs
828a47dd6a samd21/adc: initial implementation 2017-04-27 14:54:29 -07:00
Francisco Acosta
1e9ea82cc7 Merge pull request #6970 from haukepetersen/opt_stm32f1_clkinit
cpu/stm32f1: reworked clock initialization code
2017-04-27 13:34:48 +02:00
Hauke Petersen
c866634469 cpu/stm32f1: reworked clock initialization code 2017-04-27 11:06:48 +02:00
Hauke Petersen
4b9935b4f2 cpu/stm32_common: added common clk interface 2017-04-26 12:50:43 +02:00
524ba8f55a Merge pull request #6885 from dylad/saml21_exti_pb00
cpu/sam0: fix or add missing EXTI on GPIO
2017-04-26 09:56:58 +02:00
dylad
0bb43529b3 cpu/samd21: do the difference between samr21 and samd21 EXTI
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-04-25 21:47:54 +02:00
Martine Lenders
0cc15955f6 Merge pull request #6958 from haukepetersen/fix_kinetis_uart
cpu/kintis+boards: fixed UART configuration
2017-04-25 17:22:45 +02:00
Hauke Petersen
9dabbddb2f cpu/kintis+boards: fixed UART configuration 2017-04-25 14:27:33 +02:00
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
dylad
e5ef668ac1 cpu/samd21: fix or add missing EXTI on GPIO
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-04-10 21:03:16 +02: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
dylad
c960eaa491 saml21/gpio: Enable EXTI0 on PB00
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-04-09 19:30:50 +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
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
190f319066 cpu/sam0|stm32: use common cortexm_sleep() 2017-03-28 20:00:03 +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