3e7c5423e5
Merge pull request #8917 from aabadie/pr/cpu/flashpage_l4
...
cpu/stm32l4: add support for flashpage
2018-08-06 14:11:45 +02:00
MichelRottleuthner
43e65ff5c8
Merge pull request #9500 from PeterKietzmann/pr_puf_nrfx
...
cpu/nrf5x_common: add PUF SRAM feature to makefile
2018-08-06 13:06:33 +02:00
d1a214ca74
cpu/stm32l4: configure flashpage
2018-08-06 12:33:03 +02:00
a008b983b3
cpu/stm32_common: add flashpage support for stm32l4
2018-08-06 12:33:03 +02:00
Martine Lenders
233935c539
Merge pull request #9700 from miri64/stm32_common/fix/unused-function
...
stm32_common: i2c_2: fix for -Wunused-function
2018-08-03 18:43:06 +02:00
Martine Lenders
6f78a7f331
stm32_common: i2c_2: fix for -Wunused-function
...
This came up when compiling an application for a STM32-based board
with LLVM/clang. The function is not used if I²C is not provided.
2018-08-03 16:12:52 +02:00
Martine Lenders
1ca6df3313
nrf5x_common: gpio: remove unused pin_num() function
...
This came up when compiling an application for an NRF5x-based board
with LLVM/clang. The function does not seem to be used throughout the
file so I just removed it.
2018-08-03 16:09:38 +02:00
smlng
df37e69b90
cpu/cc2538: add TI vendor headers
...
Currently the cc2538 is based on from-scratch adaption which is
not feature complete and thus lacks defines etc. Introducing the
official vendor header will ease future extension and adaptions
of the CPU and its features.
2018-08-03 08:29:32 +02:00
Sebastian Meiling
26c689ffbb
Merge pull request #9548 from RIOT-OS/new_i2c_if3
...
I2C: introduce and adapt new I2C interface (2nd attempt)
2018-08-02 12:00:59 +02:00
Martine Lenders
ad133da209
native: ignore -Wformat-nonliteral for formatting syscalls
...
The point of that call is to wrap the actual host system's formatting
functions, so the non-literal formatting string is alright here.
2018-08-01 09:03:01 +02:00
dylad
69297a0939
cpu/stm32_common: remove scl_af/sda_af attribut for STM32F1
2018-07-25 15:17:43 +02:00
smlng
0b9a54f184
cpu/kinetis: suppress selfAssignement warning by cppcheck
...
cppcheck raises a warning due to self assignment. As this is
intentional to clear all IRQ on register status flags, this
warning is suppressed now.
2018-07-25 12:01:40 +02:00
smlng
e39ebb1623
cpu/sam0: add doxygen group around i2c_speed_t
2018-07-25 12:01:40 +02:00
smlng
90f66a1952
cpu/sam0_common/i2c: fix ambiguous reg assignment
...
The value assigned to the register was unclear due to usage
of bit-comparison and ternary operator, added parentheses to
make it explicit.
2018-07-25 12:01:40 +02:00
Bas Stottelaar
e8a76acea5
cpu: efm32: adapt to new i2c interface.
2018-07-25 12:01:40 +02:00
5f1d5e0d83
cpu/stm32_common: various improvements in i2c_1 driver
...
- dont send stop if bus is busy and before any action is done on bus
- and bus check that looks for bus error, arbitration and nack events
- check for ACK (TXIS) before writing bytes on bus and not between each write
2018-07-25 12:01:39 +02:00
Laurent Navet
c7fed1526c
cpu/atmega_common: adapt to new i2c api
...
Rework atmega i2c to match new i2c interface.
Only i2c_read_bytes and i2c_write_bytes are implemented.
2018-07-25 12:01:39 +02:00
3e6336ce89
cpu/nrf51: adapt to new I2C api
2018-07-25 12:01:39 +02:00
MrKevinWeiss
e8c56ceadc
cpu/stm32_common/i2c: Fix return error code
2018-07-25 12:01:39 +02:00
Joakim Nohlgård
31b461d71c
kinetis: Interrupt based I2C transfers
2018-07-25 12:01:39 +02:00
Joakim Nohlgård
175f398b58
kinetis: Refactor I2C driver
2018-07-25 12:01:39 +02:00
Joakim Nohlgård
3ac45b5aa2
kinetis: Reflow text in doc.txt
2018-07-25 12:01:38 +02:00
MrKevinWeiss
6016266c77
cpu/stm_common/i2c: Fix error code
2018-07-25 12:01:38 +02:00
MrKevinWeiss
6a3f9f35dc
cpu/stm32_common/i2c: Fix extra clear_addr
2018-07-25 12:01:38 +02:00
MrKevinWeiss
6f6c3d7926
cpu/stm_common/i2c: style fix
2018-07-25 12:01:38 +02:00
MrKevinWeiss
6c4f144e25
cpu/stm32_common/i2c: fix addr nack and flags
2018-07-25 12:01:38 +02:00
smlng
eee4f36ef5
cpu/cc2538: adapt periph/i2c to new api
2018-07-25 12:01:38 +02:00
smlng
a27ae261b8
cpu/cc2538: add gpio_init_mux function
2018-07-25 12:01:38 +02:00
99b3bb88bd
cpu/stm32_common: update return values to error codes
2018-07-25 12:01:37 +02:00
Vincent Dupont
c0c9ea034c
cpu/stm32_common: add timeouts in stm32f4 i2c driver
2018-07-25 12:01:37 +02:00
06e11c5586
cpu/stm32_common: adapt i2c driver to stm32f1
2018-07-25 12:01:37 +02:00
9166fb27fa
cpu/stm32_common: split common i2c periph in 2
...
- i2c_1 is built for f0, f3, f7, l0 and l4
- i2c_2 is built for f4
2018-07-25 12:01:36 +02:00
ebc17acb59
cpu/stm32{f0,f3,f7,l0,l4}: unify i2c driver and use new API
2018-07-25 12:01:35 +02:00
35d65d8a44
cpu/stm32f3: update stm32f303xc CMSIS header file
2018-07-25 12:01:34 +02:00
ce108b9e18
cpu/stm32f3: update stm32f303xe CMSIS header file
2018-07-25 12:01:34 +02:00
dylad
4ff319b469
nrf52/i2c: adapt to new I2C API
2018-07-25 12:01:34 +02:00
dylad
e6bd6bfe3b
sam0/i2c: update driver to new API
2018-07-25 12:01:34 +02:00
Josarn
d6c0398f3d
atmega timer: Interrupt Pin
...
A debug pin can be used to probe timer interrupts with an oscilloscope or
other time measurement equipment. Thus, determine when an interrupt occurs
and how long the timer ISR takes.
The pin should be defined in the makefile as follows:
CFLAGS += -DDEBUG_TIMER_PORT=PORTF -DDEBUG_TIMER_DDR=DDRF \
-DDEBUG_TIMER_PIN=PORTF4
2018-07-18 20:48:17 +02:00
Francisco Acosta
d04058b54b
Merge pull request #9579 from MichelRottleuthner/pr_stm32_fix_ram_lengths
...
stm32_common: fix ram length for MCUs with non-contiguous ram regions
2018-07-18 14:35:29 +02:00
Michel Rottleuthner
b36131eea6
cpu/stm32_common: add variable for SRAM2 length on stm32l47xxx
2018-07-17 17:52:12 +02:00
Michel Rottleuthner
5610894ebe
stm32_common: fix ram length for MCUs with non-contiguous ram
...
stm32l47xxx see RM0351, Rev 6, page 75
https://www.st.com/resource/en/reference_manual/dm00083560.pdf#page=75
stm32f303xx see RM0316, Rev 8, page 53
https://www.st.com/resource/en/reference_manual/dm00043574.pdf#page=53
stm32f334xx see RM0364, Rev 3, page 47
https://www.st.com/resource/en/reference_manual/dm00093941.pdf#page=47
2018-07-17 17:12:57 +02:00
608f0135d7
zep: Use netdev reset function
2018-07-16 15:36:34 +02:00
smlng
0067be035c
cpu/cc2538: cleanup netdev calls in radio driver
...
Cleanup netdev calls using &dev->netdev for all functions and
thereby omiting the explicit cast.
2018-07-13 12:17:03 +02:00
smlng
520f5b60b3
cpu/cc2538: use netdev reset function in radio driver
2018-07-13 12:17:03 +02:00
Vincent Dupont
83168ce628
cpu/stm32f7: remove conflicting enum from vendor header
2018-07-10 15:37:59 +02:00
Vincent Dupont
dc793e92b4
cpu/stm32f4: remove conflicting enum from vendor header
2018-07-10 15:37:49 +02:00
Vincent Dupont
3af2ff0bd1
cpu/stm32f3: remove conflicting enum from vendor header
2018-07-10 15:37:41 +02:00
Vincent Dupont
5cc7342d10
cpu/stm32f2: remove conflicting enum from vendor header
2018-07-10 15:37:32 +02:00
Vincent Dupont
3aa7722e16
cpu/stm32f0: remove conflicting enum from vendor header
2018-07-10 15:37:24 +02:00
97bc07efee
Merge pull request #9520 from OTAkeys/pr/stm32f4_line_fixup
...
cpu/stm32f4: use CPU_LINE in stm32f410-specific code
2018-07-09 22:09:28 +02:00