Głąbek, Andrzej
de2114f92b
TARGET_NRF5: removed TWI master driver, as it is no longer used by i2c_api.c.
2017-02-21 07:49:11 +01:00
Głąbek, Andrzej
4bc09b3a8f
TARGET_NRF5: reworked i2c_api.c.
2017-02-21 07:48:54 +01:00
0xc0170
bf77857641
NXP KL43Z/KL27Z: fix spi format bits check
...
Fixes #2989 . It was always true for valid values (if its not 8 neither 16 bits, fail).
2017-02-20 10:42:18 +00:00
bcostm
30565cbe5e
Revert "Coding style"
...
This reverts commit 32b801b40c
.
2017-02-20 11:29:30 +01:00
bcostm
02653add15
Remove can_api.c file present in TARGET_STM32F2 folder (no more needed now)
2017-02-20 11:19:53 +01:00
bcostm
32b801b40c
Coding style
2017-02-20 11:19:53 +01:00
bcostm
eec6e10138
Add a #else to cover default STM32 devices for the IRQHandler functions.
...
Change also the coding style for the "{".
2017-02-20 11:19:53 +01:00
bcostm
8568b40887
F103 devices: Set CAN_RD pins in Input mode instead of A/F Push-Pull
...
Now MBED_A27/A28 tests are OK again.
Problem seen also by @mgiaco and discussed in PR 2988.
2017-02-20 11:19:53 +01:00
bcostm
f527ff95ab
Add support to L4 targets.
2017-02-20 11:19:53 +01:00
bcostm
caef97c5e6
Add support to F7 targets.
2017-02-20 11:19:53 +01:00
bcostm
0c4688e7e8
Add support to F4 targets.
2017-02-20 11:19:53 +01:00
bcostm
b6b21672e8
Add F3 differences.
2017-02-20 11:19:53 +01:00
bcostm
0fd596e0ab
Add can_device.h for F2 targets
2017-02-20 11:19:53 +01:00
bcostm
1f47619e82
Add F2 differences. Mainly add support for CAN2 instance.
2017-02-20 11:19:53 +01:00
bcostm
5fa0c4e172
Remove can_api.c file for F1 targets
2017-02-20 11:19:53 +01:00
bcostm
311648ab6c
Add F1 differences.
...
Create can_device.h files to define specific code for the STM32 family
2017-02-20 11:19:53 +01:00
bcostm
45c7e0dca9
Initial commit: copy can_api.c from F0 target
2017-02-20 11:19:53 +01:00
TomoYamanaka
d1866f2a49
Bug fix of initial value of interrupt edge in "gpio_irq_init" again
...
I modified the bug in PR #3289 . But It seems not enough the changes.
For the reason, It occured the following issue.
https://github.com/ARMmbed/mbed-os/issues/3694
So I reviewed and re-modified about the setting of initial value of interrupt edge in "gpio_irq_init".
2017-02-20 16:41:59 +09:00
Russ Butler
36cbae6420
Add a function to transfer control to another app
...
Add the function mbed_start_application() which allows a bootloader to
transfer control to an application.
2017-02-18 19:48:14 -06:00
Russ Butler
242909cf9a
Fix vector table bug when using bootloader on ST
...
The address of the vector table is hardcoded to the start of flash in
many, if not all, ST targets. This causes a crash in applications that
are using a bootloader. This patch updates the boards STM32F429xI,
STM32F439xI and Odin so they properly handle updating the VTOR with
a bootloader.
2017-02-17 22:53:04 -06:00
Christopher Haster
3531a1579e
events: Added better documentation for binding types to events
2017-02-17 14:33:09 -06:00
Jimmy Brisson
1f64e2bc43
Remove export subdir readme
...
It was really out of date, and is the same as `mbed export -S`. This
makes me think that it's useless
2017-02-17 11:07:22 -06:00
Sam Grove
7fc73e42f2
Merge pull request #3781 from geky/lwip-dtls-speed
...
lwip: Added delay to dtls handshake test to compensate for local network
2017-02-17 09:20:58 -06:00
Sam Grove
2a331143c8
Merge pull request #3772 from Ingramz/master
...
Improve readability of USBHID related descriptors
2017-02-17 09:20:42 -06:00
Sam Grove
9ea5702634
Merge pull request #3765 from theotherjimmy/remove-zip-dupes
...
Remove duplicate files in zipped exports
2017-02-17 09:19:12 -06:00
Sam Grove
a7c2e1ec5f
Merge pull request #3761 from AnotherButler/patch-2
...
Delete exporters.md
2017-02-17 09:17:57 -06:00
Sam Grove
cfa27dfcb0
Merge pull request #3757 from 0xc0170/fix_ncs36510_lpticker
...
ncs36510: lp ticker - remove unused header file inclusion (sleep)
2017-02-17 09:17:35 -06:00
Sam Grove
02f6cd0f5c
Merge pull request #3754 from mikaleppanen/lwip_send_filter
...
Added filter to send minus events to lwip adaptation
2017-02-17 09:16:39 -06:00
Sam Grove
a0b2984280
Merge pull request #3752 from YarivCol/patch-1
...
fix in mbed_error_vfprintf
2017-02-17 09:13:58 -06:00
Sam Grove
825f9a4bc9
Merge pull request #3749 from c1728p9/linker_script_updates
...
Linker script updates
2017-02-17 09:13:16 -06:00
Sam Grove
75560f3121
Merge pull request #3745 from theotherjimmy/ld-flags-once-make
...
Pass linker flags to the linker only once
2017-02-17 09:12:40 -06:00
Sam Grove
99dda9a60b
Merge pull request #3740 from jeromecoutant/PR_L4_RTC
...
STM32L4 HAL update for RTC Wake Up Timer
2017-02-17 09:12:01 -06:00
Sam Grove
69de788f94
Merge pull request #3712 from JojoS62/enable-GCC_CR-in-memmap
...
add GCC_CR as toolchain for memmap
2017-02-17 09:11:22 -06:00
Sam Grove
ff043cb811
Merge pull request #3561 from ilg-ul/master
...
Add GNU ARM Eclipse exporter
2017-02-17 09:10:13 -06:00
Sam Grove
769712f2f3
Merge pull request #3517 from hasnainvirk/ONME_2927
...
[ONME-2927] Socket adaptation layer for nanostack
2017-02-17 09:09:13 -06:00
Jimmy Brisson
1d95604275
Remove GCC_CR
...
It has not worked since the introduction of build profiles
2017-02-16 15:03:24 -06:00
Christopher Haster
6e920fdfe9
events: Increased test tolerance to +-5ms
2017-02-16 13:26:59 -06:00
Laurent MEUNIER
d7902e53c2
Style consistency
...
Correcting the style format errors.
Also updating the copyright year.
2017-02-16 19:34:13 +01:00
Laurent MEUNIER
32ecd00c3a
STM32: move pin_lines_desc to c file
...
Move the const table initialization from the header file
to a new C file to avoid any multiple defined errors.
2017-02-16 19:34:11 +01:00
Laurent MEUNIER
18abfdb604
STM32: gpio: style consistency
2017-02-16 19:34:08 +01:00
Laurent MEUNIER
73955b678e
STM32: pins: move pin_lines_desc table to const
2017-02-16 19:34:05 +01:00
Laurent MEUNIER
273ac81680
stm32: use default in switch case
...
As commented during PR review, better use default case.
2017-02-16 19:34:01 +01:00
Jimmy Brisson
bcbfe6abe1
Rename codered to lpcexpresso in code
2017-02-16 12:09:43 -06:00
Laurent MEUNIER
5317ea5bb6
STM32: I2C - pin mode
...
The default pin mode shall be set as part of the pinamp_pinout, and
as defined in tables of PeripheralPins.c, but this is currently
over-written by a call to pin_mode(pin, PullNone); from
mbed_pinmap_common.c, so we need a set the mode again here, including
OpenDrain config as needed for I2C.
2017-02-16 18:57:34 +01:00
Laurent MEUNIER
21bc5af3c2
STM32: common pinmap using LL layer to access registers
...
this first makes pinmap.c a common file
then rework it with several goals:
- avoid gpio / irq / pin management extra dependencies
- improve performances when switching between pin modes
This change is based on LL layer to access to registers level
instead of using HAL higher level API.
The family specific functions are implemented in pin_device.h
of each family. Mostly this is F1 family that is differnt
from other ones.
2017-02-16 18:57:18 +01:00
Laurent MEUNIER
dce2ca75d8
STM32: gpio few performance improvements
...
Those are minor changes to increase performance of widely used
GPIO functions.
2017-02-16 18:55:56 +01:00
Laurent MEUNIER
3517eb108e
STM32: Change Set_GPIO_Clock return type
...
Directly return a GPIO_TypeDef pointer to avoid extra casts.
Also move it to GPIO file.
2017-02-16 18:55:44 +01:00
Laurent MEUNIER
6bd488db4d
STM32: gpio irq: Use LL registers access
...
Instead of using HAL_GPIO_Init / Deinit which makes a lot of registers
being written and re-written, and which creates extra gpio / pin / irq
dependencies, we directly set the IRQ related registers thanks for the
STM32 LL layers which provides APIs to modify registers.
2017-02-16 18:55:36 +01:00
Laurent MEUNIER
74774f9424
STM32 Make gpio_irq_api.c a common files
...
This requires the creation of gpio_irq_device.h file, where
family specific EXTI IRQ mapping is defined
2017-02-16 18:55:28 +01:00
Laurent MEUNIER
0e2cc3824b
STM32 : Make port_api.c a common file
2017-02-16 18:55:20 +01:00