Hauke Petersen
a2bc258af0
drivers/dac: clarified doc and named return values
...
- added more comprehensive doc to dac_init and dac_set
- named return values for dac_init
- use named return values in existing implementations
2017-06-27 12:52:12 +02:00
901404ecae
cpu: stm32f4: i2c: fix some problems
2017-06-27 10:41:44 +02:00
Dan Evans
08224bd85a
samd21/clock: add xosc32/DFLL option
2017-06-26 10:42:23 -06:00
067231936f
Merge pull request #5793 from OTAkeys/pr/can_stack
...
can: add a CAN stack for RIOT
2017-06-26 16:02:35 +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
Vincent Dupont
2e97664c37
cpu/stm32f4: fix vector definition for stm32f413
2017-06-26 10:46:15 +02:00
Vincent Dupont
ecbe64d6f5
cpu/stm32f4: add stm32f413vg support
2017-06-26 10:46:15 +02:00
Martine Lenders
b75479c442
Merge pull request #6332 from ant9000/saml21_i2c_support
...
SAM L21 i2c support
2017-06-23 22:26:03 +02:00
c59a7d83c7
cpu/stm32f4: update stm32f412zx vendor cmsis version
2017-06-23 17:02:29 +02:00
Francisco Acosta
cd824c3bc2
Merge pull request #6723 from aabadie/nucleo144_f412
...
boards/nucleo144-f412: initial support
2017-06-23 15:29:41 +02:00
Antonio Galea
dae3472d49
cpu/sam0_common: add saml21 i2c driver adaption
2017-06-23 11:19:56 +02:00
1d062a93d7
Merge pull request #7125 from kbumsik/mkr-fix
...
cpu/samd21: Added CPU_MODEL_SAMD21G18A interrupt config
2017-06-22 16:00:39 +02:00
8b3082da82
cpu/stm32l0: add support for stm32l072cz
2017-06-21 15:08:41 +02:00
Joakim Nohlgård
f516717907
lpc11u34: Remove short name macros for GPIO modes
...
... and replace with a GPIO bitmask generator macro instead.
The short macro names in the original implementation were prone to
collisions or other problems with user applications and library code.
2017-06-21 13:15:56 +02:00
42830d2308
Merge pull request #6916 from gebart/pr/cortexm3-bitband
...
cpu: Add bit manipulation macros for Cortex-M
2017-06-21 12:47:41 +02:00
Joakim Nohlgård
ca1e32977f
kinetis: Fix typo in periph_cpu.h
2017-06-21 12:31:49 +02:00
Vincent Dupont
68f1ea8fd0
native: add a CAN device using socketCAN
2017-06-19 15:36:20 +02:00
biboc
0e41861db0
Change my email address:
...
<baptiste.clenet@xsoen.com>
to
<bapclenet@gmail.com>
2017-06-19 10:38:16 +02:00
a6fcbcde9c
Merge pull request #7159 from OTAkeys/pr/stmclk_f2
...
cpu/stm32f2: implement stmclk interface for stm32f2
2017-06-15 19:09:57 +02:00
9dadb9cbaf
Merge pull request #7158 from OTAkeys/pr/stmclk_f4
...
cpu/stm32f4: implement stmclk interface for stm32f4
2017-06-15 11:23:24 +02:00
Joakim Nohlgård
54b68844e0
Merge pull request #7165 from mfrey/kinetis-uart
...
kinetis: Use 9 bit UART config for 8E1, 8O1 modes
2017-06-13 09:04:04 +02:00
Francisco Acosta
5f0b8e5b80
Merge pull request #6978 from gebart/pr/kinetis-mcg
...
kinetis: MCG improvements
2017-06-12 23:27:39 +02:00
Michael Frey
282dafdd25
kinetis: Use 9 bit UART config for 8E1, 8O1 modes
2017-06-11 18:34:27 +02:00
Joakim Nohlgård
a63c0a84a6
kinetis: Use bit.h functions
2017-06-09 05:19:13 +02:00
Joakim Nohlgård
dc3aa13e90
cortexm_common: Introduce bitbanding macros
2017-06-09 05:19:13 +02:00
Vincent Dupont
73e0fa25e4
cpu/stm32f2: convert to stmclk
2017-06-08 19:10:55 +02:00
Vincent Dupont
91e601280c
cpu/stm32f2: update vendor headers
2017-06-08 19:10:55 +02:00
Dan Evans
4cc0e585d1
sam0/adc: assert resolution check fix
2017-06-08 11:04:11 -06:00
ed4d9003cc
cpu/stm32f7: add support for stm32f767zi
2017-06-08 17:35:22 +02:00
Vincent Dupont
22399d4b06
cpu/stm32f4: implement stmclk functions
2017-06-08 16:51:17 +02:00
Vincent Dupont
c0400100cc
cpu/stm32f4: update vendor headers
2017-06-08 16:51:17 +02:00
750b98c541
cpu/stm32l0: add I2C driver
2017-06-08 09:38:45 +02:00
Hauke Petersen
3cf30e4165
Merge pull request #7128 from haukepetersen/opt_cortexm_m0pvtor
...
cpu/cortexm: set VTOR for selected M0+ CPUs
2017-06-07 11:12:23 +02:00
Francisco Acosta
6df211383e
Merge pull request #5366 from haukepetersen/add_flashrom_samd21
...
cpu/samd21: added flashpage driver implementation
2017-06-06 15:54:04 +02:00
joris
6a5da1c1f7
cpu/stm32-common: add RTC support to stm32l0
...
Signed-off-by: joris <laborde.joris@gmail.com>
2017-06-02 20:03:09 +02:00
Hauke Petersen
a1499f4190
cpu: add and use shared code for timer_set()
2017-06-02 12:21:56 +02:00
Hauke Petersen
fd981dff22
cpu/cortexm: set VTOR for selected M0+ CPUs
2017-06-02 11:53:59 +02:00
Hauke Petersen
4e29dce36b
cpu/samd0: added flashpage driver implemenation
2017-06-02 11:32:34 +02:00
Joakim Nohlgård
91d930c574
cpu/mips32r2_common: ifdef __attribute__((optimize))
...
Causes compilation error on Clang
2017-06-02 10:24:44 +01:00
Joakim Nohlgård
14ec5237a1
cpu/mips: Integrate better with RIOT newlib layer
...
- Copied the relevant parts of mipshal.mk from the toolchain
- Cleaned up CFLAGS and more in Makefile.include
- Added empty syscalls implementation which can be used to interface
with the UHI system
- Added a note on why -std=gnu99 is necessary for this CPU presently
2017-06-02 10:24:43 +01:00
Bumsik Kim
ab7ab168fb
samd21: Added CPU_MODEL_SAMD21G18A interrupt config
2017-06-01 15:40:07 -04:00
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
dylad
600e6ec2ae
saml21/gpio: Allow multiple EXTI at the same time
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-04-19 12:43:09 +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
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
Hauke Petersen
99c2704583
cpu/atmega: implement UART TX only
2017-02-09 10:42:53 +01:00
Joakim Nohlgård
094107863f
Merge pull request #5688 from gebart/pr/atomics-refactor
...
core: Provide all C11 atomic operations
2017-02-09 09:00:16 +01:00
Joakim Nohlgård
83c2630d00
x86: Remove atomic_arch
2017-02-08 16:23:50 +01:00
Joakim Nohlgård
20b184604b
cortexm_common: Remove atomic_arch
2017-02-08 16:23:49 +01:00
Joakim Nohlgård
ee0cae69a5
msp430_common: Add supplemental __clzhi2, __ctzhi2, for old MSPGCC
2017-02-08 16:23:48 +01:00
Joakim Nohlgård
0cb384829c
msp430-common: Add stdatomic.h, sys/cdefs.h, sys/features.h from newlib
2017-02-08 16:23:47 +01:00
Joakim Nohlgård
48eeda4126
msp430-common: stdio.h: Move extern "C" brace to correct place
2017-02-08 16:06:09 +01:00
Martine Lenders
5b026c5753
netdev2: unify doc
2017-02-07 21:37:52 +01:00
Hauke Petersen
2f9e3c89e1
periph/hwrng: use void* buf for hwrng_read()
2017-02-07 13:20:39 +01:00
Hauke Petersen
1dd806bb28
cpu/lpc2387: remove (unused) legacy ADC driver
2017-02-07 10:56:33 +01:00
Martine Lenders
2ef1f2e8f7
Merge pull request #6521 from haukepetersen/rm_lpc_i2clma
...
cpu/drivers: remove deprecated lm75a+lpc2387 I2C drivers
2017-02-07 10:27:26 +01:00
Francisco Acosta
79a4acee43
Merge pull request #6516 from antmerlino/arduino-cleanup
...
Changes arduino-common to arduino-atmega-common.
2017-02-06 17:40:44 +01:00
cd45a145de
Merge pull request #6552 from aabadie/spi_divtable_whitespace
...
cpu/stm32_common/dist: prevent spi_divtable tool to add a trailing whitespace
2017-02-03 18:32:58 +01:00
58aa9eb8bd
cpu/stm32_common/dist: prevent spi_divtable tool to add a trailing whitespace
2017-02-03 16:24:47 +01:00
Francisco Acosta
b7774a2b4c
Merge pull request #6467 from OTAkeys/feat/flashpage_stm32
...
cpu/stm32f0: add flashpage driver from stm32f1 + fix stm32f1 driver
2017-02-03 15:37:44 +01:00
Anthony Merlino
23efa92cc9
cpu/atmega_common: Adds toolchain flags originally located in atmega-based boards
2017-02-02 14:12:02 -05:00
Bas Stottelaar
3b14a584b8
boards: *: remove SPI_*_EN now rework is merged
2017-01-31 19:38:41 +01:00
Hauke Petersen
c560e28eb6
cpu/lpc2387: remove deprecatd I2C driver
2017-01-30 16:14:19 +01:00
Peter Kietzmann
40a6664831
Merge pull request #6499 from haukepetersen/fix_stm32l1_hardfaultonisr
...
cpu/cortexm: disable interrupts before sleeping
2017-01-27 16:21:19 +01:00
Hauke Petersen
3da9ceb705
cpu/cortexm: fixed cortexm_sleep()
2017-01-27 13:00:24 +01:00
Hauke Petersen
0ffd4e1411
cpu/stm32_common: fixed timer speed
2017-01-27 09:31:07 +01:00
ac82506d7d
cpu: stm32: remove SPI rework leftovers
2017-01-26 11:16:31 +01:00
Peter Kietzmann
513b20ffd3
Merge pull request #4780 from haukepetersen/opt_periph_spi2
...
drivers/spi: reworked SPI driver interface
2017-01-25 22:07:36 +01:00
Oleg Hahm
c5abb08316
Merge pull request #4058 from daniel-k/pr/gdb_threads_openocd
...
cortex_m: Add debug symbols for OpenOCD/GDB thread support
2017-01-25 17:49:42 +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
0edef2a0e1
cpu/stm32*+boards: adapted to new SPI API
...
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:45 +01:00
Hauke Petersen
849ce20f5c
cpu/sam3+boards: adapted to new SPI API
...
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:45 +01:00
Hauke Petersen
ea07a6817c
cpu/sam0+boards: adapted to new SPI API
...
- adapted the SPI driver
- merged SPI driver for samr21 and saml21
- adapted all boards using the CPU
2017-01-25 16:46:45 +01:00
Hauke Petersen
10b0013315
cpu/lpc2387+boards: adapted to new SPI API
...
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Hauke Petersen
b097e0840b
cpu/nrf5x+boards: adapted to new SPI API
...
- adapted the SPI driver
- merged SPI drivers from nrf51 and nrf52
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Hauke Petersen
d5e00e594a
cpu/msp430fxyz+boards: adapted to new SPI API
...
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Hauke Petersen
c97a88ecb8
cpu/lpc11u34+boards: adapted to new SPI API
...
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Hauke Petersen
5880d0edda
cpu/kinetis+boards: adapted to new SPI API
...
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +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
Hauke Petersen
b7109bd564
cpu/kinetis_common: added SPI scaler calc tool
2017-01-25 16:46:05 +01:00
Hauke Petersen
e38fc727af
cpu/stm32_common: added SPI div calc tool
2017-01-25 16:46:05 +01:00
Hauke Petersen
f5595693f6
cpu/atmega_common: adapted SPI driver
2017-01-25 16:46:05 +01:00
be7771e0b9
cpu: cortexm_common: add define for number of non-isr exceptions
2017-01-25 10:22:03 +01:00
865008ea7e
cpu: samd21: make isr vector table -pedantic safe
2017-01-25 10:22:02 +01:00
9ec39de1d0
cpu: samd21: misc Wextra fixes
2017-01-25 10:10:47 +01:00
d8f0eaf127
cpu: cortexm: fix signed<->unsigned compare
2017-01-25 10:10:47 +01:00
46d2f26c37
Merge pull request #6448 from OTAkeys/pr/stm32_rtc
...
stm32_common: unified RTC driver
2017-01-24 18:32:59 +01:00
Vincent Dupont
54dc75d63c
cpu/stm32f1: fix flashpage driver HSI disabling
2017-01-24 18:11:06 +01:00
Vincent Dupont
e5a1c7835f
cpu/stm32f0: add flashpage config in cpu_conf.h
2017-01-24 18:11:06 +01:00
Vincent Dupont
455881ee58
cpu/stm32f0: add periph/flashpage driver
2017-01-24 18:11:06 +01:00
Martine Lenders
4fb9249fa8
Merge pull request #6429 from smlng/pr/fix_doc
...
doc: correct typos
2017-01-24 15:28:44 +01:00
Vincent Dupont
05475f9600
cpu/stm32_common: unified RTC driver
2017-01-24 15:16:47 +01:00
Francisco Acosta
e44236d379
Merge pull request #6170 from haukepetersen/add_periph_romaddrtopage
...
drivers/flashrom: added addr-to-page function
2017-01-24 14:18:41 +01:00
d1db946188
Merge pull request #6344 from haukepetersen/opt_pm_misc
...
pm: misc cleanup and fixes
2017-01-24 14:07:36 +01:00
Hauke Petersen
0c8b4e9755
cpu/lpc11u34: define CPU_FLASH_BASE value
2017-01-24 09:41:56 +01:00
Paul RATHGEB
750fb9ac61
cpu/lpc11u34 - Fixed GPIO_PIN macro
...
This macro is not coherent with the PORT_SHIFT def in gpio.c. This commit fixes the consistency.
Signed-off-by: Paul RATHGEB <paul.rathgeb@skynet.be>
2017-01-22 19:02:17 +01:00
Martine Lenders
5b1c00ad8b
Merge pull request #6388 from astralien3000/opencm9-04
...
boards/opencm9-04 : initial support
2017-01-21 14:37:50 +01:00
Peter Kietzmann
5880047d76
Merge pull request #6423 from haukepetersen/opt_lpc11_pwm
...
cpu/lpc11u34: remodeled PWM driver
2017-01-20 18:11:31 +01:00
Loïc Dauphin
480e966737
cpu/stm32f1: add opencm9-04 specific linker script
2017-01-20 18:10:42 +01:00
Peter Kietzmann
5f26171e83
Merge pull request #6435 from ks156/master
...
cpu/lpc11u34: Bug with toggle function
2017-01-20 13:52:52 +01:00
smlng
34b96603fc
cpu: doc typos
2017-01-20 13:36:26 +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
Paul RATHGEB
9317c1a212
Toggle function is LPC_GPIO->NOT and not LPC_GPIO->CLR
...
Signed-off-by: Paul RATHGEB <paul.rathgeb@skynet.be>
2017-01-19 22:54:59 +01:00
245f60edfa
cpu: fix typo in author email
2017-01-19 21:45:23 +01:00
Oleg Hahm
3c6678b037
*: fix mismatching endifs for header guards
2017-01-19 18:30:53 +01:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
Oleg Hahm
693636690c
Merge pull request #6399 from OlegHahm/timex_constants
...
timex: unambiguous time conversion macros
2017-01-19 17:29:26 +01:00
Francisco Acosta
70fbcbf7ed
Merge pull request #6311 from miri64/native/enh/multi-tap
...
cpu/native: allow for multiple netdev2_tap devices
2017-01-19 14:56:55 +01:00
Oleg Hahm
4f4214235b
timex: unambiguous time conversion macros
2017-01-19 13:18:08 +01:00
Hauke Petersen
ce29ac305d
cpu/lpc11u34: remodeled PWM driver
2017-01-19 12:49:28 +01:00
Martine Lenders
1f6f02e196
cpu/native: adapt start-up and auto-init for multiple netdev2_tap
2017-01-19 12:07:10 +01:00
Hauke Petersen
a37ba98bfd
cpu/msp430-common: moved pm_reboot to periph/pm.c
2017-01-19 11:07:59 +01:00
261965d936
cpu/stm32f3: add support for stm32f303k8
2017-01-19 11:06:58 +01:00
Hauke Petersen
61045d127c
cpu/lpc1768: unuse module periph_common
2017-01-19 11:05:44 +01:00
Hauke Petersen
801eeceb59
cpu/cortexm: removed unused pm include in panic.c
2017-01-19 11:05:44 +01:00
Hauke Petersen
409516c4d2
cpu/cortexm: moved pm.c to periph/pm.c
2017-01-19 11:05:44 +01:00
Hauke Petersen
cd53fe92e6
cpu/arm7: moved pm_reboot to periph/pm.c
2017-01-19 11:05:44 +01:00
Hauke Petersen
efa0aa1fa9
cpu/cc430|chronos: moved periph_common dep to CPU
2017-01-19 11:05:44 +01:00
Peter Kietzmann
224e4f50a7
Merge pull request #5927 from keestux/sam21_i2c_wait_for_response
...
sam21_common:i2c refactor a function to wait for response
2017-01-19 09:23:03 +01:00
Toon Stegen
37c4810fba
cpu/native: allow multiple netdev2 tap devices
...
With arg added to async_read callback in 7020b7c0
, we don't need to keep
track of netdev2_tap locally. As a result we can use multiple
netdev2_tap instances.
2017-01-18 23:03:44 +01:00
Hauke Petersen
a35709b4f8
Merge pull request #6360 from OlegHahm/periph_timer_remove_irq
...
periph timer: remove timer_irq_(en|dis)able
2017-01-18 22:58:21 +01:00
Oleg Hahm
7c04f05d29
Merge pull request #6337 from miri64/native/enh/pretty-startup
...
native: prettify argument parsing
2017-01-18 22:56:12 +01:00
Kees Bakker
2cbd3c4819
cpu/sam21:i2c: function _start was declared inline, but definition not
2017-01-18 21:30:13 +01:00
Kees Bakker
d509221e77
cpu/samd21:i2c: increase timeout in _start to facilitate SHT2x hold
2017-01-18 21:30:13 +01:00
Kees Bakker
bf4741d0d7
cpu/sam21_common:i2c: refactor a function to wait for response
2017-01-18 21:30:13 +01:00
Kees Bakker
8ca8640060
cpu/sam21_common:i2c: uncrustify
2017-01-18 21:30:13 +01:00
Peter Kietzmann
06da507c2f
Merge pull request #6348 from haukepetersen/opt_pm_nrf
...
cpu/nrf5x: unified pm.c
2017-01-18 20:54:50 +01:00
Hauke Petersen
b5920a38b9
cpu/nrf5x: unified pm.c
2017-01-18 14:54:56 +01:00
Hauke Petersen
2c5a9a5cbf
cpu/kinetis: unified PM implementation
2017-01-18 14:54:16 +01:00
079a6ec5f4
Merge pull request #6346 from haukepetersen/opt_pm_cortexmsleep
...
cpu/cortexm: added shared cortexm_sleep() function
2017-01-18 10:55:04 +01:00
20089be486
Merge pull request #6393 from haukepetersen/opt_stm32_pwmchanconf
...
cpu/stm32/pwm: made channel config more flexible
2017-01-18 09:02:47 +01:00
47f6ff3056
Merge pull request #6237 from kaspar030/rename_AD_to_Q
...
make: rename AD to Q
2017-01-17 16:16:02 +01:00
Hauke Petersen
346b51d9fa
cpu/stm32/pwm: made channel config more flexible
2017-01-17 14:08:13 +01:00
Hauke Petersen
7b5d26340a
cpu/lpc2387: cleanup for the PWM driver
2017-01-17 10:50:02 +01:00
a98c4c6bdd
Merge pull request #6381 from cgundogan/pr/jenkins_ccache_optimizations
...
jenkins: ccache optimizations
2017-01-17 08:35:24 +01:00
Martine Lenders
9f5f51b2f0
Merge pull request #6368 from OlegHahm/doc_native_internal
...
doc: native: do not parse internal functions
2017-01-17 08:30:41 +01:00
Peter Kietzmann
274d77e6a5
Merge pull request #6378 from haukepetersen/fix_stm32f4_hwrngtypo
...
cpu/stm32f4: fixed minor typo in the hwrng driver
2017-01-16 22:30:25 +01:00
daniel-k
9d403d95ce
cortex_m: Add debug symbols for OpenOCD/GDB thread support
2017-01-16 20:50:35 +01:00
Martine Lenders
456ae68fbe
Merge pull request #6340 from gebart/pr/warn-fixes
...
sys+cpu: Some warning fixes
2017-01-16 17:18:29 +01:00
Cenk Gündoğan
d853dd63c1
cpu: make CFLAGS_DBG configurable
2017-01-16 15:54:59 +01:00
Hauke Petersen
65f27f073f
cpu/stm32f4: fixed minor typo in the hwrng driver
2017-01-16 14:37:08 +01:00
Hauke Petersen
63599e25b4
cpu/msp430_common: fixed doxygen for msp430_types.h
2017-01-16 12:22:23 +01:00
Joakim Nohlgård
45c8bc47e8
kinetis_common: Fix -Wsign-compare in gpio.c
2017-01-16 08:55:08 +01:00
Joakim Nohlgård
8c82d9952b
cortexm_common: Fix -Wsign-compare warning in cortexm_init
2017-01-16 08:55:08 +01:00
Joakim Nohlgård
2c5e1065c5
cortexm_common: Fix unused parameter warnings in mpu_configure
2017-01-16 08:55:08 +01:00
Oleg Hahm
bfc439aa04
doc: native: do not parse internal functions
2017-01-15 13:06:43 +01:00
Oleg Hahm
d0316fa7ae
periph timer: remove timer_irq_(en|dis)able
2017-01-14 15:34:53 +01:00
Hauke Petersen
f8eaff4bbe
cpu: moved msp430-common to msp430_common
2017-01-13 13:33:32 +01:00
Hauke Petersen
ed5d7ac0fd
cpu/cortexm: added shared cortexm_sleep() function
2017-01-13 12:26:42 +01:00
5da88f794a
Merge pull request #6335 from kaspar030/fix_saml21_pm_init
...
cpu: saml21: re-add periph/pm initialization
2017-01-13 10:21:57 +01:00
Martine Lenders
e9d13d73bc
native: prettify argument parsing
2017-01-12 23:40:17 +01:00
Martine Lenders
72a3e7e6e1
Merge pull request #6174 from cgundogan/pr/netdev2_tap/assert_to_if
...
netdev2_tap: assert address len >= ETHERNET_ADDR_LEN
2017-01-12 22:28:56 +01:00
Cenk Gündoğan
aaf012ad83
netdev2_tap: assert address len >= ETHERNET_ADDR_LEN
2017-01-12 18:14:14 +01:00
389870e181
cpu: saml21: re-add periph/pm initialization
2017-01-12 17:48:11 +01:00
Hauke Petersen
6270283033
Merge pull request #6160 from kaspar030/introduce_new_power_management
...
Introduce new power management
2017-01-12 17:31:49 +01:00
Hauke Petersen
3faf8f6799
Merge pull request #6242 from ant9000/saml21_update_to_xdk3.33
...
SAM L21 update to ASF xdk 3.33
2017-01-12 17:07:10 +01:00
Hauke Petersen
efd27b6bd1
Merge pull request #6257 from PeterKietzmann/cpu_stm32f1_cmsis_fix_ACR_bit
...
cpu/stm32f1: cmsis fix flash latency bit
2017-01-12 16:57:52 +01:00
9d1c5f02d7
cpu: stm32_common: periph_cpu_common.h doxygen fix
2017-01-12 16:26:03 +01:00
5798beca64
cpu: stm32f1/2/4: unify periph/pm support
2017-01-12 16:26:02 +01:00
a8c5fcc5eb
cpu: saml21: add periph/pm support
2017-01-12 16:26:02 +01:00
c2b48ca230
cpu: nrf51: initial periph/pm support
2017-01-12 16:26:02 +01:00
f0cf52f622
cpu: nrf52: initial periph/pm support
2017-01-12 16:26:02 +01:00
662bec002a
cpu: k60: add periph/pm support
2017-01-12 16:26:02 +01:00
db823679aa
board: samr21-xpro: move periph_pm to cpu/samd21/Makefile.features
2017-01-12 16:26:02 +01:00
066332d6dc
cpu: stm32f1: add periph/pm support
2017-01-12 16:26:02 +01:00
0fb66a0fd1
cpu: cortexm: always use periph_common module
2017-01-12 16:26:02 +01:00
fa9fbabd97
cpu: x86: add stub periph_cpu.h
2017-01-12 16:26:02 +01:00
062b90788a
cpu: arm7_common: adapt to periph/pm
2017-01-12 16:26:02 +01:00
8c8ce5a092
cpu: x86: adapt to periph/pm
2017-01-12 16:26:02 +01:00
fb46d57705
cpu: msp430-common: adapt reboot to periph/pm
2017-01-12 16:26:01 +01:00
52d53a92ab
cpu: lpc1768: adapt to periph/pm
2017-01-12 16:26:01 +01:00
040c6e9967
cpu: lpc11u34: remove obsolete reboot implementation
2017-01-12 16:26:01 +01:00
3e365b89fa
cpu: atmega_common: adapt to periph/pm
2017-01-12 16:26:01 +01:00
f42e5381ee
cpu: samd21: add periph/pm support
2017-01-12 16:26:01 +01:00
807a190e20
cpu: cortexm: adapt to periph/pm
2017-01-12 16:26:01 +01:00
ca7bf15ac4
core: panic: adapt to pariph/pm
2017-01-12 16:26:01 +01:00
4291c1f839
native: support add periph/pm support
2017-01-12 11:24:15 +01:00
0194091673
remove obsolete lpm code
2017-01-12 11:24:15 +01:00
Peter Kietzmann
280a200377
Merge pull request #6230 from haukepetersen/opt_kinetis_pwm
...
cpu/kinetis: reworked PWM driver implementation
2017-01-12 10:16:31 +01:00
Hauke Petersen
8feeea9a12
cpu/cc2538: reworked GPIO driver
2017-01-11 10:19:06 +01:00
Oleg Hahm
e59f159664
doc: correct doxygen group for nrfmin
2017-01-10 20:04:09 +01:00
PeterKietzmann
40976cb40a
cpu/stm32f1: optimize ACR setting and move to cpu.c
2017-01-10 17:09:23 +01:00
Peter Kietzmann
a8297595e6
Merge pull request #6108 from haukepetersen/opt_nrf_nrfmin
...
cpu/nrf5x: ported nrfmin driver to netdev2
2017-01-10 16:52:54 +01:00
Peter Kietzmann
dcfd0d656b
Merge pull request #6142 from haukepetersen/add_nrf51_i2c
...
cpu/nrf51: added I2C driver implementation
2017-01-10 15:25:18 +01:00
Peter Kietzmann
f76b2f4906
Merge pull request #6273 from OTAkeys/pr/nucleo-f042
...
boards: add nucleo-f042
2017-01-10 14:52:00 +01:00
Hauke Petersen
a05233633f
cpu/nrf5x: moved nrfmin driver to nrf5x_common
2017-01-10 11:54:49 +01:00
Hauke Petersen
36317c56f3
cpu/nrf51: ported nrmin radio driver to netdev2
2017-01-10 11:54:16 +01:00
Hauke Petersen
ee56f37809
cpu/nrf51: added I2C driver implementation
2017-01-10 11:52:36 +01:00
Hauke Petersen
8d48239f9b
cpu/nrf5: restructured periph_cpu.h files
...
- inserted one specific for each family (nrf51 and nrf52)
- renamed the common one to periph_cpu_common.h
2017-01-10 11:52:36 +01:00
Vincent Dupont
83b8495259
cpu/stm32f0: add support for stm32f042x6 mcu
2017-01-10 10:34:18 +01:00
Peter Kietzmann
11a0422b83
Merge pull request #6181 from haukepetersen/opt_lpc11u34_gpio
...
cpu/lpc11u34: reworked GPIO driver
2017-01-10 09:43:17 +01:00
Antonio Galea
ff8ed15aca
updated list of saml21 variants as defined in Atmel ASF v3.33.0
2017-01-09 18:29:32 +01:00
Antonio Galea
610767cb54
remove blank line at EOF
2017-01-09 17:32:50 +01:00
Antonio Galea
fa1e8fcfc9
saml21 cmsis includes: fix whitespace
2017-01-09 16:13:17 +01:00
Oleg Hahm
3485026a48
cpu: stm32: use unsigned as loop counter
2017-01-09 10:15:20 +01:00
Francisco Acosta
7b2dc4ff5d
Merge pull request #6252 from jthacker/avr_reboot_disable_interrupts
...
atmega_common: disable interrupts prior to rebooting
2017-01-06 15:29:36 +01:00
Hauke Petersen
ade8bd2a17
Merge pull request #6187 from haukepetersen/opt_stm32_uart
...
cpu/stm32x: unified UART driver implementations
2017-01-06 10:18:29 +01:00
Hauke Petersen
21300cb40f
cpu/stm32: fix timer speed for STM32F1 and F2
2017-01-05 14:47:38 +01:00
Hauke Petersen
c062bf71b9
Merge pull request #6177 from gebart/pr/kinetis-adc-clock-scaler-fix
...
kinetis: Fix ADC clock computation
2017-01-05 14:08:00 +01:00
Hauke Petersen
625d804fcb
cpu/stm32_common: unified UART driver
2017-01-05 11:00:18 +01:00
Hauke Petersen
5afb191027
cpu/stm32x: unified gpio_init_af() function
2017-01-05 10:58:54 +01:00
Hauke Petersen
d1db190f83
cpu/kinetis_common: reworked PWM driver
2017-01-05 10:55:15 +01:00
Oleg Hahm
84b2910657
Merge pull request #6253 from gebart/pr/newlib-nano-include-dir-fix
...
LLVM+newlib include path search fixes
2017-01-04 11:19:54 +01:00
Joakim Nohlgård
c2ccc1bfa0
kinetis: Fix ADC clock computation
...
The ADC prescaler computation was broken and gave too high ADC clock for
module clocks slower than 32 MHz (the >32 MHz case is already handled
separately)
2016-12-27 17:10:25 +01:00
Oleg Hahm
ea83b8c14f
Merge pull request #5856 from OTAkeys/pr/stm32f2_pll_i2s
...
stm32f2: add initialization of PLL I2S for MCO2
2016-12-23 10:47:29 +01:00
f44763f346
make: adapt Makefiles to AD -> Q rename
2016-12-22 12:12:38 +01:00
924fff7513
Merge pull request #6171 from haukepetersen/opt_cortex_isrend
...
cpu/cortexm: added and use central yield_from_isr() function
2016-12-22 09:32:25 +01:00
Joakim Nohlgård
e9f8608307
llvm: Only add -target to CFLAGS if TARGET_ARCH is set
2016-12-21 13:54:35 +01:00
Joakim Nohlgård
2001b36284
llvm: Refactor include path search
...
The patterns in GCC_CXX_INCLUDE_PATTERNS are tested in order from first
to last and the first matching pattern is used instead of the last.
The latest version within each pattern will be selected, like before, to
get the most recent tool chain version.
2016-12-21 13:08:48 +01:00
Joakim Nohlgård
9021001200
llvm: Add support for >=GCC-6 C++ headers on Gentoo
2016-12-21 13:08:00 +01:00
Hauke Petersen
adfd201a20
cpu/sam3: reworked PWM driver implementation
2016-12-21 13:06:27 +01:00
Hauke Petersen
38c7d11f8c
cpu/sam3: add gpio_init_mux() function
2016-12-21 13:05:59 +01:00
Hauke Petersen
3a00fe8e49
cpus: make use of cortexm_isr_end()
2016-12-21 11:28:46 +01:00
Hauke Petersen
04b246cb01
cpu/cortexm_common: added cortexm_isr_end() function
2016-12-21 11:27:46 +01:00
Jon Thacker
c62803d243
atmega_common: disable interrupts prior to rebooting
...
If the watchdog is being reset in another thread, then
the reboot will never take place. This commit disables interrupts prior
to setting the watchdog timer to 250ms. This functionallity was common
to all Atmega CPUs, so it was moved to atmega_common.
2016-12-20 17:22:39 -06:00
smlng
35adde55d2
cppcheck: cpu/cc2538 reduce scope of variables
2016-12-20 15:48:54 +01:00
Antonio Galea
9421152cb8
SAML21: updated periph driver to match ASF-3.33 includes
2016-12-19 18:27:47 +01:00
Antonio Galea
e936177646
SAML21: typo in README
2016-12-19 15:20:39 +01:00
Antonio Galea
eb1d267975
SAML21: updated CMSIS files to ASF XDK 3.33.0
2016-12-19 13:48:43 +01:00
Antonio Galea
11b6f47502
saml21: add README stating origin for SAML21 CMSIS includes
2016-12-19 13:30:01 +01:00
Ludwig Knüpfer
0d628b6dc3
Merge pull request #6110 from lebrush/stm32f1-no-pll
...
cpu/stm32f1: implement lpm + run without PLL
2016-12-18 19:33:04 +01:00
Hauke Petersen
96fb9bfbdc
Merge pull request #5842 from OTAkeys/pr/stm32_rcc_fix
...
cpu/stm32(_common & f2): implement delay after RCC peripheral clock enable
2016-12-16 21:23:14 +01:00
310e193494
Merge pull request #6224 from haukepetersen/rm_saml21_saml21periphh
...
cpu/saml21: removed unused saml21_periph.h
2016-12-16 21:07:27 +01:00
Pieter Willemsen
a0835ccb1d
stm32: use periph_clk_en/dis functions for clock changes
2016-12-16 15:01:56 +01:00
Pieter Willemsen
2b37d369a0
stm32_common: add delay when turn on peripheral clock
...
Implements workaround 1 (use __DSB()) proposed in the stm32 errata
It was possible to lose data when you configure a peripheral
right after enabling its clock
2016-12-16 14:51:35 +01:00
79043d2518
Merge pull request #6186 from haukepetersen/opt_stm32_pwm
...
cpu/stm32x: unified PWM driver implementations
2016-12-16 14:34:33 +01:00
596f8c516b
Merge pull request #6189 from bergzand/stm32f401-i2c
...
cpu/stm32f4: Add I2C low speed support to the stm32f4
2016-12-16 14:30:44 +01:00
3ec401da61
cpu/stm32f4: add i2c low speed mode support
2016-12-15 20:56:10 +01:00
Hauke Petersen
4d09d09ee4
cpu/stm32x: unified PWM driver
2016-12-15 12:18:39 +01:00
Hauke Petersen
74bba2a183
cpu/saml21: removed unused saml21_periph.h
2016-12-15 11:59:54 +01:00
Hauke Petersen
fcb1e68732
cpu/sam0: renamed sam21_common to sam0_common
2016-12-15 11:47:03 +01:00
Hauke Petersen
bfb52afde9
cpu/sam21: unified structure for sam[drl]21 CPUs
2016-12-15 11:39:19 +01:00
Cenk Gündoğan
0b85959efc
Revert "netdev2_tap: return actual byte number on read request"
...
This reverts commit 613bceeae3
.
FIONREAD seems to be unsupported for tun/tap interfaces in Linux.
2016-12-14 14:17:14 +01:00
Vincent Dupont
283f0c3b29
stm32f2: improve MCO2 clock output support
...
MCO2 output prescaler can be set by using:
Valid values are in range 1 - 5
2016-12-14 10:56:46 +01:00
Toon Stegen
5f6b182a8d
stm32f2: add initialization of PLL I2S for MCO2
...
To use it, add the following defines to your periph_conf.h:
/* prescaler for 8MHz I2S clock */
#define ENABLE_PLLI2S_MCO2 1
#define CLOCK_PLL_I2S_R (6U)
#define CLOCK_PLL_I2S_N (240U)
2016-12-14 10:56:46 +01:00
Hauke Petersen
ad3ed80f05
cpu/arm7_common: s/u_long/unsigned long/
2016-12-13 13:26:37 +01:00
Hauke Petersen
2a62ec5f6b
cpu/stm32f[3|4] adapted PWM driver
2016-12-09 12:20:03 +01:00
Hauke Petersen
0aa70faa3d
cpu/stm32f2: temporarily removed PWM driver
2016-12-09 12:20:03 +01:00
Hauke Petersen
47b379e45d
cpu/stm32x: unified timer driver
2016-12-09 12:20:03 +01:00
Hauke Petersen
e50479f84f
cpu/stm32: changed TIM->CCR def in vendor headers
2016-12-09 12:20:03 +01:00
Hauke Petersen
7979c3ac5c
cpu/stm32_common: added periph_apb_clk() function
2016-12-09 12:20:02 +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
Oleg Hahm
d1b370ece6
Merge pull request #6163 from locicontrols/arvalid
...
cpu/cortexm_common: simplify ARVALID tests and fix BFARVALID test.
2016-12-08 12:28:01 -05:00
Hauke Petersen
dad5f0c269
lpc11u34: remodeled GPIO driver
2016-12-07 10:44:46 +01:00
jfbortolotti
b2e79959b1
cpu: nRF52: move clearing of TXRDY flag
...
... before writing the data to avoid an infinite loop in case of multiple thread accessing the UART. (#6029 )
2016-12-06 10:52:27 +01:00
Victor Arino
419dcfdf11
cpu/stm32f1: allow to run without PLL
2016-12-06 10:08:41 +01:00
Ian Martin
299a3eed3b
cpu/cortexm_common: simplify ARVALID tests and fix BFARVALID test.
2016-12-01 17:18:06 -05:00
Hauke Petersen
fe1d4bf9ed
cpu/nrf51/2: unified erase reg in vendor header
2016-11-30 16:51:10 +01:00
Hauke Petersen
df19605145
cpu/nrf5x: added flashpage driver implemenation
2016-11-30 16:51:10 +01:00
Hauke Petersen
c3a4a44f49
cpu/stm32f1: added flashpage driver implementation
2016-11-30 16:51:09 +01:00
Francisco Acosta
84d0d61279
Merge pull request #5608 from gebart/pr/xtimer-ticks
...
xtimer: Allow arbitrary timer frequency, second attempt
2016-11-29 23:00:31 +01:00
Joakim Nohlgård
7c48c891a0
xtimer: Update xtimer usage to match API changes
2016-11-29 20:44:31 +01: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
Martine Lenders
613bceeae3
netdev2_tap: return actual byte number on read request
2016-11-16 23:57:04 +01:00
smlng
e9aba880cd
native: fix netdev2_tap for macOS
2016-11-16 18:50:49 +01:00
Martine Lenders
d31d3d5fb9
Merge pull request #6130 from zhuoshuguo/fix_stm32f4_include_guards
...
cpu/stm32f4: fix include guards.
2016-11-16 18:07:48 +01:00
Martine Lenders
c833a82f03
Merge pull request #6129 from zhuoshuguo/fix_stm32f2_include_guards
...
cpu/stm32f2: fix include guards.
2016-11-16 17:20:06 +01:00
Martine Lenders
e1cbb4c794
Merge pull request #6128 from zhuoshuguo/fix_stm32f0_include_guards
...
cpu/stm32f0: fix include guards.
2016-11-16 15:54:12 +01:00
zhuoshuguo
a60fa5b8d3
cpu/cortexm_common: fix include guards.
2016-11-16 11:45:03 +01:00
zhuoshuguo
501bdcf305
cpu/stm32f4: fix include guards.
2016-11-16 11:33:26 +01:00
zhuoshuguo
672b99c9e1
cpu/stm32f2: fix include guards.
2016-11-16 11:29:55 +01:00
zhuoshuguo
7f5dbe6f77
cpu/stm32f0: fix include guards.
2016-11-16 11:22:42 +01:00
1f70e65faf
cpu: msp430: set gnu99 as C dialect
2016-11-15 14:59:36 +01:00
705f0c768a
cpu: atmega1281: asm -> __asm__
2016-11-15 14:59:36 +01:00
f4bee2672c
cpu: cc2538: remove typeof() usage
2016-11-15 14:59:36 +01:00
Victor Arino
163d1634a7
cpu/stm32f1: remove unnecessary line
2016-11-11 15:25:37 +01:00
Victor Arino
787d255ccd
cpu/stm32f1: implement lpm
2016-11-11 15:25:26 +01:00
smlng
e867d83eff
cbor: fix redefined macro error on macOS
2016-11-10 16:16:06 +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
Martine Lenders
ee698f17ad
Merge pull request #6009 from kaspar030/fix_cortexm_compile_warning
...
cpu: cortexm_common: fix compile warning
2016-11-01 15:56:11 +01:00
Yonezawa-T2
fe96a4c9c4
make: use gobjcopy if objcopy is not available
2016-10-31 22:28:43 +01:00
Martine Lenders
61daeff04c
Merge pull request #5881 from miri64/core/enh/add-verbose-assert
...
core: define macro for verbose behavior for assert()
2016-10-31 20:13:59 +01:00
Martine Lenders
65a11162fe
core: define macro for verbose behavior for assert()
...
Since this is also done for MSP430 specifically that file can be
removed.
2016-10-31 13:51:54 +01:00
Oleg Hahm
3aab6bb286
Merge pull request #2071 from LudwigKnuepfer/2071
...
native: *long* overdue fixes
2016-10-30 19:37:40 +01:00
Hauke Petersen
2eebf36eb2
cpu/uart: make use of named return values
2016-10-28 10:32:00 +02:00
0dfcefc003
cpu: cortexm_common: fix compile warning
2016-10-27 15:20:56 +02:00
Martine Lenders
3422190c51
Merge pull request #5957 from OlegHahm/cpu_stack_size_cleanup
...
cpu: minor improvements for MSP430 and AVR
2016-10-27 14:24:11 +02:00
Oleg Hahm
69b703729f
cpu: make standard stack sizes configurable
2016-10-27 11:46:47 +02:00
Oleg Hahm
a8004a8b3a
cpu: some cosmetics
2016-10-27 11:46:47 +02:00
Martine Lenders
9e97b0a028
Merge pull request #5977 from miri64/ieee802154/enh/centralize-default-values
...
ieee802154: centralize default values
2016-10-26 16:39:44 +02:00
Martine Lenders
3114c05cc9
Merge pull request #5782 from aabadie/nucleo_f070
...
boards: initial support for nucleo-f070
2016-10-26 15:35:27 +02:00
Martine Lenders
20e1fce5b7
ieee802154: centralize default values
2016-10-26 15:32:12 +02:00
efe3d52ba4
cpu/stm32f0: initial support for stm32f070xb cpu
2016-10-26 13:05:50 +02:00
Aaron Sowry
9f05620654
cc2538: Fix indentation
2016-10-26 19:48:34 +13:00
Hauke Petersen
bee57a4d6a
Merge pull request #5798 from aabadie/nucleo-f030
...
boards: initial support for Nucleo f030 board
2016-10-25 19:50:59 +02:00
Francisco Acosta
b2bed29683
Merge pull request #5564 from locicontrols/mpu-rebase2
...
Cortex-M MPU driver and pseudo-module for guarding against stack overflows
2016-10-25 11:56:40 +02:00
Peter Kietzmann
d8d658f1f7
Merge pull request #5974 from cgundogan/pr/atmega_common_time
...
cpu/atmega_common: include time.h for time_t
2016-10-25 08:10:58 +02:00
Martine Lenders
6434687271
Merge pull request #5989 from haukepetersen/fix_stm32f103cb_linkerscript
...
cpu/stm32f103cb: generalize linkerscript
2016-10-24 22:42:42 +02:00
Peter Kietzmann
32eb239b5a
Merge pull request #5985 from smlng/pr/netstats_l2
...
netstats_l2: cc2538 (and at86rf2xx fixes)
2016-10-24 20:59:12 +02:00
Ian Martin
22b5de86a5
add mpu_stack_guard pseudomodule (just Cortex-M for now)
...
triggers an exception during stack overflow,
but at a cost of 32-63 bytes of RAM per thread.
2016-10-24 12:40:44 -04:00
Hauke Petersen
f2eb4618f2
boards/spark-core: added custom linkerscript
2016-10-24 17:36:31 +02:00
Hauke Petersen
ecb24e55bf
cpu/stm32f103cb: generalized linkerscript
2016-10-24 17:35:44 +02:00
Martine Lenders
3225f020e5
Merge pull request #5964 from kaspar030/make_fix_appdir_bindir
...
make: remove trailing slash from BINDIR and APPDIR variables
2016-10-24 14:33:40 +02:00
smlng
89978ab8e5
cc2538: add netstat_l2
2016-10-21 21:56:04 +02:00
Cenk Gündoğan
9ef148e931
cpu/atmega_common: include time.h for time_t
2016-10-20 15:33:01 +02:00
Ian Martin
b7bd6b3479
cpu/cortexm_common: add Memory Protection Unit (MPU) driver
2016-10-19 11:12:36 -04:00
PeterKietzmann
f57e185f5d
cpu/stm32f1: remove leftover from #5921
2016-10-19 12:21:42 +02:00
PeterKietzmann
bb4bf51020
cpu/stm32f1: improve SPI driver speed
2016-10-19 08:56:18 +02:00
560a509036
make: remove trailing slash from BINDIR variable
2016-10-18 23:27:59 +02:00
Hauke Petersen
470fe20a40
cpu/msp430fxyz: added bifields for SPI STAT reg
2016-10-17 20:47:27 +02:00
Hauke Petersen
6cd8d98f1d
cpu/msp430fxyz: improved SPI driver speed
2016-10-17 20:47:26 +02:00
Ludwig Ortmann
cabb20036f
cpu/samd21: implement low power modes
2016-10-16 20:20:55 +02:00
Ludwig Ortmann
0b72be7c87
native: add syscall-leave trampoline
2016-10-15 07:50:44 +02:00
Ludwig Ortmann
237340b3e3
native: add thread_yield_higher misuse warning
2016-10-15 07:50:44 +02:00
Ludwig Ortmann
83886d61c7
native: start with interrupts disabled
2016-10-15 07:50:44 +02:00
Ludwig Ortmann
3b6d0595ef
native: indicate interrupt status in ISR context
2016-10-15 07:50:44 +02:00
Ludwig Ortmann
535eda8805
native: improve comments, coding style
2016-10-15 07:40:49 +02:00
Martine Lenders
d1111dcafa
Merge pull request #5918 from PeterKietzmann/fix_msp430f1_spi_clk
...
cpu/msp430: fix spi clk config for msp430f1xxx
2016-10-14 12:52:04 +02:00
PeterKietzmann
17b322494d
cpu/msp430: remove non-effective code for msp430f2xxx
2016-10-14 11:41:00 +02:00
PeterKietzmann
d4ee66cfb7
cpu/msp430: fix spi clk config for msp430f1xxx
2016-10-14 11:40:05 +02:00
Joakim Nohlgård
11c11a5ecf
Merge pull request #5727 from kaspar030/fix_panic_compile
...
cpu: cortexm_common: fix compile warning
2016-10-14 10:08:42 +02:00
88d03aebfe
cpu/stm32f0: adding stm32f030r8 support
2016-10-12 11:16:03 +02:00
Martine Lenders
2e953b7261
Merge pull request #5907 from jfbortolotti/nRF52_linker
...
cpu: cortexm_common: Remove useless path when setting default value for LINKER_SCRIPT
2016-10-11 10:21:44 +02:00
Sebastian Meiling
be38643a2d
Merge pull request #5915 from aeneby/send_wait_v2
...
cpu/cc2538: Wait for transmission to complete before returning from send()
2016-10-10 13:23:44 +02:00
3dfafde027
cpu: cortexm_common: fix compile warning
2016-10-07 12:06:43 +02:00
Hauke Petersen
ac6b73a35c
cpu/samd21(common): cleaned up pad selection macros
...
- renamed uart and spi pad selection macros to consistent style
- adapted uart and spi implementation to use new names
2016-10-07 11:02:14 +02:00
Peter Kietzmann
9063121558
Merge pull request #5910 from haukepetersen/fix_sam0_muxstuff
...
cpu/sam21: removed superfluous gpio_init_sercom
2016-10-07 08:08:02 +02:00
Aaron Sowry
191dc0ffad
cpu/cc2538: Wait for transmission to complete before returning from send()
2016-10-07 12:25:38 +13:00
Francisco Acosta
ba6a8e06b0
Merge pull request #5475 from aabadie/arduino_zero
...
boards/arduino-zero: add initial support
2016-10-06 20:26:33 +02:00
Peter Kietzmann
108832d6fb
Merge pull request #5912 from haukepetersen/fix_sam0_periphcpu
...
cpu/sam21_common: remove unused defines
2016-10-06 08:57:05 +02:00
Hauke Petersen
b2d996034f
cpu/sam21_common: remove unused defines
2016-10-05 15:18:39 +02:00
Hauke Petersen
d3e41e7b58
cpu/sam21: removed superfluous gpio_init_sercom
...
This function was a duplication of the existing gpio_init_mux,
where the exiting function is the more general one, as the mux
inititalization is not only valid for the sercom module...
2016-10-05 13:19:52 +02: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
68acc8857e
boards/arduino-zero: add initial support
2016-10-04 18:34:51 +02:00
Jeff Bortolotti
488723b394
cpu: cortexm_common: Remove useless path when setting default value for LINKER_SCRIPT
2016-10-03 23:19:00 +02:00
Martine Lenders
536aec648b
Merge pull request #5895 from jfbortolotti/nRF52_linker
...
cpu: cortexm_common: allow overriding of linker script
2016-10-03 16:04:27 +02:00
Peter Kietzmann
d1c3233242
Merge pull request #5892 from gebart/pr/kinetis-gpio-include
...
kinetis: Add stddef, stdint missing includes for gpio.c
2016-09-30 08:33:20 +02:00
Jeff Bortolotti
92e533de74
cpu: cortexm_common: allow overriding of linker script
2016-09-29 23:56:47 +02:00
f2c5314643
Merge pull request #5860 from keestux/add-sodaq-autonomo
...
boards: add sodaq autonomo
2016-09-29 22:00:38 +02:00
Joakim Nohlgård
1a2b2575fb
kinetis: Add stddef, stdint missing includes for gpio.c
2016-09-29 15:47:53 +02:00
Peter Kietzmann
d33786d0c7
Merge pull request #5706 from aabadie/nucleo_f446
...
boards: initial support of ST Nucleo f446
2016-09-29 13:25:45 +02:00
Kees Bakker
076d5bda11
boards: add support for SODAQ Autonomo
...
The following features were tested (briefly):
* UART (the first)
* I2C using a BMP180 on a SODAQ TPH board
* SPI0, connected to the on-board serial data flash (only DevID was read
using the periph_spi test program)
* xtimer is working (it's the same code as in samr21)
boards/sodaq-autonomo: Disable the "big" unittests because it does not fit
2016-09-28 18:02:16 +02:00
Kees Bakker
6aa346fbad
cpu/sam21_common: some corrections to CMSIS samd21 include files
...
See README.md for details
* eliminate trailing white space
* remove define of LITTLE_ENDIAN
2016-09-28 18:01:12 +02:00
Kees Bakker
3123b501b5
cpu/sam21_common: add samd21 include files from ASF CMSIS
...
This adds support for all samd21 variants. Notice that the previous samd21
was moved to cpu/samr21
To use this cpu variant you must set at least the following in your boards
Makefile.include:
export CPU = samd21
export CPU_MODEL = samd21j18a # Not sure if this is used
CFLAGS += -D__SAMD21J18A__ # or whatever variant you have
The samd21 include files were copied from ASF 3.30
2016-09-28 18:01:12 +02:00
b50ab2f46e
cpu/stm32f4: adding support for stm32f446re cpu
2016-09-28 17:00:56 +02:00
Martine Lenders
ff2f9983f0
Merge pull request #5880 from OlegHahm/fix_debug_newlines
...
debug: add missing line breaks
2016-09-28 15:21:28 +02:00
Peter Kietzmann
4fa4626c15
Merge pull request #5861 from hamilton-mote/fix-samr21e
...
cpu/sam21_common: support SAMR21E18
2016-09-28 09:25:39 +02:00
Oleg Hahm
b428979a1d
debug: add missing line breaks
2016-09-27 23:38:41 +02:00
Peter Kietzmann
f7056cf976
Merge pull request #5868 from immesys/patch-1
...
samd21: spi: fix power regression
2016-09-27 21:25:44 +02:00
smlng
77250f89a3
cc2538: disable l2 ack recv irq
2016-09-27 15:04:39 +02:00
Michael Andersen
68f9916ab6
samd21: spi: fix power regression
...
The MISO pin cannot be left floating as it increases power consumption
2016-09-26 19:59:51 -07:00
Peter Kietzmann
436ff13c1c
Merge pull request #5804 from aeneby/no_mutex_lock
...
cpu/cc2538: Remove superfluous mutex lock
2016-09-26 10:46:39 +02:00
Oleg Hahm
63615157ef
Merge pull request #5819 from makomi/stm32l1
...
cpu/stm32l1: uart: suppress cppcheck nullPointer errors
2016-09-23 20:15:50 +02:00
Oleg Hahm
797ab580c8
Merge pull request #5818 from makomi/stm32f3
...
cpu/stm32f3: uart: suppress cppcheck nullPointer errors
2016-09-23 20:13:29 +02:00
Oleg Hahm
50215e9b5d
Merge pull request #5817 from makomi/stm32f0
...
cpu/stm32f0: uart: suppress cppcheck nullPointer errors
2016-09-23 19:50:31 +02:00
Oleg Hahm
ed3aa6c46e
Merge pull request #5835 from mali/timer
...
cpu/atmega_common: fix timer_set_absolute return code
2016-09-23 19:35:22 +02:00
Michael Andersen
41190ac2a8
cpu/sam21_common: support SAMR21E18
2016-09-22 16:24:09 -07:00