Sam Grove
14bc2338eb
Merge pull request #3812 from anangl/rework_i2c
...
TARGET_NRF5: reworked i2c_api.c
2017-02-21 11:03:27 -06:00
Sam Grove
d14aa74b8c
Merge pull request #3798 from c1728p9/fix_st_vtor
...
Fix vector table bug when using bootloader on ST
2017-02-21 11:02:17 -06:00
Sam Grove
09a0ff3b3f
Merge pull request #3779 from geky/ncs36510-timing
...
NCS36510: Fix the sporadic semaphore timing issue
2017-02-21 10:50:14 -06:00
Sam Grove
1ee18b4ecb
Merge pull request #3767 from OpenNuvoton/nuvoton
...
[NUC472] Support no-XRAM configuration
2017-02-21 10:49:13 -06:00
Sam Grove
4b850e268a
Merge pull request #3759 from LMESTM/fix_spi_freq
...
STM32: spi_frequency table index fix
2017-02-21 10:47:17 -06:00
Sam Grove
3c3e04f6d2
Merge pull request #3739 from jeromecoutant/PR_F7_HSE
...
STM32F7 : remove multiple HSE_VALUE define value
2017-02-21 10:47:00 -06:00
jeromecoutant
053072c2dc
STM32 : set back US counter after deepsleep
2017-02-21 17:46:15 +01:00
jeromecoutant
e8519416c1
STM32 sleep.c remove compilation warning
2017-02-21 17:46:11 +01:00
Sam Grove
b7dce71510
Merge pull request #3665 from LMESTM/dev_stm32_gpio_pins_rework
...
Dev stm32 gpio pins rework
2017-02-21 10:41:16 -06:00
Głąbek, Andrzej
da73716092
TARGET_NRF5: corrected code style in i2c_api.c.
2017-02-21 11:47:51 +01:00
pradeep-gr
c71bfdbc44
NCS36510: I2C idle delay of 1us
...
It is added between I2C commands as I2C_COMMAND_FIFO is too fast to push commands out.
2017-02-21 09:16:21 +00:00
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
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
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
825f9a4bc9
Merge pull request #3749 from c1728p9/linker_script_updates
...
Linker script updates
2017-02-17 09:13:16 -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
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
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
Christopher Haster
c0951c9035
NCS36510: Fixed drift in ticker interrupt
...
The NCS36510 is limited to 16bit timers. Construction of larger
intervals is performed in software by counting the number of 16bit
intervals that pass.
Either this counting takes a bit of time, or there is a math error
somewhere (maybe a long critical section?), because there is a
roughly ~1us delay between when the interrupt occurs and the ticker
progresses onto the next 16bit interval. This is normally a completely
reasonable error, except that the error accumulates. After a while,
the equeue tests find themselves with tens of milliseconds of error.
To make matters worse, this error is random because of other interrupts
occuring in the system, making the exact issue quite a bit difficult
to track down.
This fix drops the software counter in favor of just recalculating
the next delay interval from the target time and value of the running
timer. The running timer used to calculate the current tick is left to
overflow in hardware and doesn't have this drift.
2017-02-15 10:59:52 -06:00
Liviu Ionescu
14ffc2511e
Merge remote-tracking branch 'ARMmbed/master'
2017-02-14 14:05:37 +02:00
ccli8
0bd8fb22c4
[NUC472] Support no-XRAM configuration
2017-02-14 09:12:02 +08:00
Sam Grove
e22f26ffa4
Merge pull request #3663 from helmut64/STM32L4_deepsleep_fix
...
Fixed a problem that the STOP2 was falling back to STOP1
2017-02-13 10:12:30 -06:00
Sam Grove
d8151d7991
Merge pull request #3590 from OpenNuvoton/nuvoton
...
[NUC472/M453] Export IAR project and other bugfixes
2017-02-13 10:12:02 -06:00
Laurent MEUNIER
a8f6970a9d
STM32: spi_frequency table index fix
...
In case of prescaler_rank was 0, a -1 index was being used,
which resulted in initialization of the Init.BaudRatePrescaler with
random values.
Now let's better check index and avoid -1 operation, so that prescaler_rank
can be only from 0 to "last_index".
2017-02-13 16:17:33 +01:00
0xc0170
2898199ccd
ncs36510: lp ticker - remove unused header file inclusion (sleep)
2017-02-13 13:17:05 +00:00
Russ Butler
bcab66c26d
Update Odin linker scripts for bootloader
...
Add MBED_APP_START and MBED_APP_SIZE to the Odin's linker script
so the start and size of an image can be specified. This allows the
ROM to be split into a bootloader region and an application region.
2017-02-10 18:29:01 -06:00
Russ Butler
ca8873b160
Update stm32f429 linker scripts for bootloader
...
Add MBED_APP_START and MBED_APP_SIZE to the stm32f429's linker script
so the start and size of an image can be specified. This allows the
ROM to be split into a bootloader region and an application region.
2017-02-10 18:28:59 -06:00
Russ Butler
579b2fbe40
Update K64F linker scripts for bootloader support
...
Add MBED_APP_START and MBED_APP_SIZE to the K64F's linker script
so the start and size of an image can be specified. This allows the
ROM to be split into a bootloader region and an application region.
2017-02-10 18:28:58 -06:00
jeromecoutant
2433b1ad95
STM32L4 HAL update for RTC Wake Up Timer
2017-02-10 16:26:10 +01:00
jeromecoutant
565ad777b0
STM32F7 : remove multiple HSE_VALUE define value
2017-02-10 13:06:41 +01:00
Sam Grove
ec329be6f2
Revert "Target stm usb config"
2017-02-09 15:37:19 -06:00
Liviu Ionescu
47b164b00b
Merge remote-tracking branch 'ARMmbed/master'
2017-02-09 19:11:44 +02:00
Sam Grove
e8a7264aab
Merge pull request #3723 from pradeep-gr/feature-spi
...
NCS36510: spi_format function bug fix
2017-02-09 09:49:04 -06:00
Sam Grove
34de26dc3a
Merge pull request #3695 from c1728p9/fix_invalid_device_names
...
Enforce device_name is valid in targets.json
2017-02-09 09:39:05 -06:00
Sam Grove
d990385058
Merge pull request #3684 from jamike/TARGET_STM_USB_CONFIG
...
Target stm usb config
2017-02-09 09:35:16 -06:00
Sam Grove
e0fb062ae8
Merge pull request #3649 from adustm/STM32F7_folderstruct
...
[STM32F7] Modify folder structure
2017-02-09 09:30:28 -06:00
Sam Grove
15cbf6628e
Merge pull request #3621 from JojoS62/fix-lpcxpresso-clock
...
Fix for #2884 , LPC824: export to LPCXpresso, target running with wron…
2017-02-09 09:30:05 -06:00
Liviu Ionescu
b2638646b8
Merge remote-tracking branch 'ARMmbed/master'
2017-02-09 05:17:22 +02:00
Russ Butler
acdf1e3728
Fix or remove invalid device names
...
The field device_name is intended to match that of a target in a
device family pack. Remove this field for devices which do not have
a pack. Fix the name for devices that have the name incorrect. Update
IAR definitions for device which no longer have a device_name but
still need to have support for the IAR exporter.
2017-02-08 14:54:25 -06:00
pradeep-gr
48a78c554d
NCS36510: spi_format function bug fix
2017-02-08 18:26:49 +05:30
Helmut Tschemernjak
10bb94a365
Fixed code style violation needs '{'
2017-02-07 22:24:20 +01:00
Brian Daniels
b0739d7520
Fixing Cortex-A and SARA_NBIOT_EVK build failures ( #3 )
...
* Adding Cortex-A support for gnuarmeclipse
* Preventing '-mthumb' from being added to Cortex-A builds.
Previously, both '-mthumb' and '-marm' were being supplied to the
compiler (in that order). Because '-marm' came last, the compiler
respected this option. This change makes it so '-mthumb' is added for
all 'Cortex-M' targets only.
* Renaming to capital .S for Eclipse compatibility
2017-02-07 21:18:18 +02:00
Jaeden Amero
378655f40c
uVisor: Standardize available legacy heap and stack
...
With the RTOS, the STACK_SIZE specified here is unrelated to the stack
size available for the main thread (that runs pre_main). Save memory by
reducing the stack size to a more reasonable amount.
On uVisor, HEAP_SIZE is both a minimum available and maximum available
heap size. The heap can't grow beyond the end of the heap into the
neighboring stack. On all uVisor-supported platforms, guarantee at least
0x6000 bytes of heap space. This increases the portability of uVisor
applications as the memory available for legacy heap allocations is
guaranteed. This helps to avoid out of memory errors on platforms that
were previously guaranteeing less memory.
2017-02-07 16:46:38 +00:00
Sam Grove
0e04161356
Merge pull request #3685 from LMESTM/fix_i2c_sw_reset
...
STM32: I2C: reset state machine
2017-02-07 10:38:53 -06:00
Sam Grove
ea7f15f511
Merge pull request #3658 from adustm/STM32F3_folder_struct
...
[STM32F3] Modify folder structure
2017-02-07 10:35:57 -06:00
Sam Grove
98ed807338
Merge pull request #3657 from adustm/STM32L4_folderstruc
...
[STM32L4] Modify folder structure
2017-02-07 10:35:41 -06:00
Sam Grove
12edb2cac2
Merge pull request #3655 from adustm/STM32F4_folderstruct
...
[STM32F4] Modify folder structure
2017-02-07 10:35:26 -06:00
Laurent MEUNIER
57f4df64e5
STM32: I2C: reset state machine
...
this I2C IP is meant for automatic STOP, based on programmed number
of bytes to be sent or receivede, not a user triggered STOP.
So the state machiine needs to be reset in case we use this I2C mbed
unitary API (start / byte_write / byte_read / stop).
2017-02-03 13:41:52 +01:00
Michel Jaouen
91c53131db
TARGET_STM: add NUCLEO_F103RB
2017-02-03 10:32:30 +01:00
Michel Jaouen
4d59c8857d
TARGET_STM :move usb config file to target dir
2017-02-03 10:32:19 +01:00
Sam Grove
2c54177115
Merge pull request #3674 from ARMmbed/feature_hal_sleep
...
NRF51822: HAL: Restore WEAK declaration for hal_(deep)sleep
2017-02-02 11:01:45 -06:00
Sam Grove
b681b49295
Merge pull request #3664 from 0xc0170/fix_ncs36510sleep
...
Fix ncs36510 sleep definitions
2017-02-02 10:59:56 -06:00
Sam Grove
185af3e139
Merge pull request #3642 from mbedNoobNinja/VK_RZ_pins
...
Missing IRQ pin fix for platform VK_RZ_A1H
2017-02-02 10:56:49 -06:00
Sam Grove
dd9b6451ef
Merge pull request #3632 from mbedNoobNinja/master
...
IDE Export support for platform VK_RZ_A1H
2017-02-02 10:54:11 -06:00
Sam Grove
b4becc77c9
Merge pull request #3629 from LMESTM/dev_stm32_l0_ll_layer
...
STM32: L0 LL layer
2017-02-02 10:51:55 -06:00
Sam Grove
b9449dad7c
Merge pull request #3628 from LMESTM/fix_warnings
...
Fix warnings
2017-02-02 10:50:58 -06:00
Sam Grove
419982c546
Merge pull request #3626 from bcostm/dev_usb_nucleo-f412zg
...
NUCLEO_F412ZG : Add USB Device +Host
2017-02-02 10:48:07 -06:00
Sam Grove
def8b32121
Merge pull request #3181 from ohagendorf/nucleo_f207_peripheralpinsextension
...
NUCLEO_F207ZG extending PeripheralPins.c: all available alternate functions can be used now
2017-02-02 10:38:37 -06:00
Bartek Szatkowski
762e15e772
NRF51822: HAL: Restore WEAK declaration for hal_(deep)sleep
...
Otherwise we have a conflict between NRF51822 and DELTA_DFCM_NNN40.
2017-02-01 09:30:48 +00:00
0xc0170
3384572f14
ncs36510: fix sleep/deepslep name - add prefix hal_
...
This resolves an error that sleep is already defined.
2017-01-31 12:00:02 +00:00
0xc0170
86d136074c
ncs36510: fix sleep header private file
...
This private header should have unique name, that does not collide with
generic names like sleep.h
2017-01-31 11:59:00 +00:00
Helmut Tschemernjak
605059e683
Fixed a problem that the STOP2 was falling back to STOP1 because
...
the LPR was not turned on. Now the deepsleep mode only needs 1.6uA
instead of 10uA.
2017-01-31 11:44:41 +01:00
mbedNoobNinja
d627bf2d1f
Export IDE support added
2017-01-31 10:23:21 +02:00
adustm
ee55574d3b
STM32F302x8 folder struct
2017-01-27 19:42:02 +01:00
adustm
c596cdad36
STM32F334x8 folder struct
2017-01-27 19:38:26 +01:00
adustm
703386d443
STM32F303xC folder struct
2017-01-27 19:30:27 +01:00
adustm
6970de6df7
STM32F303x8 folder struct
2017-01-27 19:27:24 +01:00
adustm
c30813955f
STM32F303xE folder structure modification
2017-01-27 18:36:49 +01:00
adustm
885515acc9
STM32L432xC folder structure rework
2017-01-27 17:41:59 +01:00
adustm
389d9ba358
STM32L476xG STM32L486xG folder structure modification
2017-01-27 17:35:27 +01:00
bcostm
864a9b83e5
Add USB macros in targets.json for F412ZG
2017-01-27 17:22:07 +01:00
Laurent MEUNIER
b63ca7eee2
Fix alignements
2017-01-27 16:00:39 +01:00
adustm
a9ef00231c
STM32F410xB folder structure update
2017-01-27 15:41:49 +01:00
adustm
00f80b0abe
STM32F401xE folder structure update
2017-01-27 15:41:49 +01:00
adustm
2a4ef3f464
STM32F469xI folder structure update
2017-01-27 15:41:49 +01:00
adustm
0883430bba
STM32F412xG folder structure update
2017-01-27 15:41:49 +01:00
adustm
5c3bf54928
STM32F407xG folder structure update
2017-01-27 15:41:49 +01:00
adustm
756aaf6dfd
STM32F401xC folder structure update
2017-01-27 15:41:49 +01:00
adustm
dd7c00f1b6
STM32F429 / F439 folder rework
2017-01-27 15:41:49 +01:00
adustm
62433aba36
STM32F411xE folder structure update
2017-01-27 15:41:49 +01:00
adustm
43f508947d
STM32F446xE folder structure update
2017-01-27 15:41:49 +01:00
0xc0170
801708b594
Maxim 3630: define LED4 same as LED1
2017-01-27 11:10:53 +02:00
Martin Kojtal
15cd3da4ba
Merge pull request #3640 from maximmbed/max32630
...
MAX32630FTHR: Adding new platform
2017-01-27 11:01:03 +02:00
adustm
0e70959e4d
Modify forder structure so that targets with the same device can share
...
files
2017-01-26 14:21:26 +01:00
Martin Kojtal
ade6722707
Merge pull request #3607 from ARMmbed/feature_hal_sleep
...
Platform: Add sleep/deepsleep user facing functions
2017-01-26 13:55:33 +02:00
Martin Kojtal
f231655619
Merge pull request #3635 from bcostm/fix_i2c
...
STM32 I2C : Fix bug in i2c_byte_read function
2017-01-26 10:39:03 +02:00
Martin Kojtal
5d09014bf1
Merge pull request #3631 from LMESTM/dev_stm32_hal_F3_V1.7.0
...
F3 CUBE update V1.7.0
2017-01-26 10:37:49 +02:00
Martin Kojtal
bdcda386d5
Merge pull request #3618 from LMESTM/dev_stm32_PinNamesTypes
...
STM32: Move types definitions to a common file
2017-01-26 10:35:59 +02:00
Martin Kojtal
7831da1e0e
Merge pull request #3617 from Patater/efm32gg-linkerscript-fix
...
EFM32GG: Fix GCC_ARM linker script
2017-01-26 10:35:34 +02:00
Martin Kojtal
a8f4b455fa
Merge pull request #3614 from LMESTM/dev_stm32_PortNames
...
STM32: make PortNames.h a common file
2017-01-26 10:35:16 +02:00
Martin Kojtal
b4ffd9a937
Merge pull request #3605 from TsungtaWu/master
...
Add DELTA_DFCM_NNN50 platform
2017-01-26 10:32:02 +02:00
Mahesh Mahadevan
595b9cf137
K22F: Enable TRNG ( #3599 )
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-01-26 10:29:25 +02:00
Martin Kojtal
25ba021c63
Merge pull request #3578 from theotherjimmy/inherit-target-labels
...
Target system - Inherit names from target parents
2017-01-26 10:24:45 +02:00
mbedNoobNinja
be52c64cd4
missing IRQ pin fix
2017-01-25 12:05:41 +02:00
Jesse Marroquin
dddcf76b3e
[MAX32630FTHR] Adding new platform
2017-01-24 15:48:19 -06:00
bcostm
c1f712872d
Fix bug in i2c_byte_read function
2017-01-24 16:50:55 +01:00
Laurent MEUNIER
42f6622f8e
STM32: Move types definitions to a common file
...
Only one point of attention:
STM_MODE_ANALOG_ADC_CONTROL is a specific mode that is only supported on L4.
So STM_MODE_ANALOG_ADC_CONTROL was moved to index 13 (last entry)
of gpio_mode table so that all the other modes are common and only the last
one is specific.
2017-01-24 10:58:36 +01:00
Laurent MEUNIER
32d04ead8a
STM32: L0 LL layer
...
Introduce the L0 LL Layer from STM32 cube.
2017-01-23 18:01:30 +01:00
Laurent MEUNIER
1b94e234e3
STM32: I2C: remove warning
...
Remove unused variables to avoid warnings.
2017-01-23 17:07:52 +01:00
Laurent MEUNIER
c6a898d71b
STM32: remove F3 spi_api.c warning
...
Solve below warning:
"...\targets\TARGET_STM\TARGET_STM32F3\spi_api.c", line 73:
Warning: #111-D: statement is unreachable
2017-01-23 17:07:46 +01:00
Laurent MEUNIER
9640936714
F3 CUBE update V1.7.0
...
CMSIS v2.3.0 => v2.3.1
HAL v1.3.0 => v1.4.0
LL v1.4.0
2017-01-23 16:44:21 +01:00
JojoS
9b8ac9b4e5
Fix for #2884 , LPC824: export to LPCXpresso, target running with wrong clock speed
...
SystemInit() was called condititionally, but necessary defines were not
set in mbed. Calling SystemInit() unconditional now.
Removed also conditiional calls to legacy CodeRed lib.
2017-01-20 17:04:27 +01:00
Jimmy Brisson
290d7de835
Correct definition of LPC4088* to use a common ancestry
2017-01-19 12:16:51 -06:00
Jaeden Amero
95e5fec8d0
EFM32GG: Fix GCC_ARM linker script
...
A copy paste error snuck into the uVisor related updates to the EFM32GG
linker script. Fix the error by replacing "m_data" with "RAM".
Fixes: 89641bc7e0
"uVisor: Update K64F and EFM32GG linker scripts"
2017-01-19 17:13:40 +00:00
Laurent MEUNIER
5d04b97b80
STM32: make PortNames.h a common file
...
the same file can be used for all targets
2017-01-19 15:27:19 +01:00
Bartek Szatkowski
f2c00c7cb5
NRF51822: Remove MBED_WEAK from hal_sleep functions
2017-01-19 11:56:13 +00:00
Bartek Szatkowski
6a045a49a9
Platform: Add sleep/deepsleep user facing functions
...
Add sleep/deepsleep functions to platform layer which are replacing HAL
functions with the same name, rename existing symbols in HAL layer
to hal_sleep/hal_deepsleep. This way sleep functions
are always available, even if target doesn't implement them, which makes
the code using sleep clearer. It also enables us to make decision on in
which builds (debug/release) the sleep will be enabled.
2017-01-19 09:39:29 +00:00
TsungtaWu
c6e0b9c20e
Revise to improve readability
...
Delete the blank line.
Use Marcos rather than magic numbers
Put brace at end of the while line
2017-01-19 17:20:46 +08:00
TsungtaWu
ef26a4c0e7
Add DELTA_DFCM_NNN50 platform
...
greentea tests are all passing
mbedgt: test case results: 175 OK
Please kindly review this PR
2017-01-18 11:01:48 +08:00
Martin Kojtal
e592c8a8b2
Merge pull request #3571 from jeromecoutant/PR_DISCO_F769NI
...
DISCO_F769NI introduction
2017-01-16 16:38:20 +00:00
Martin Kojtal
e184511079
Merge pull request #3583 from jeromecoutant/PR_F7_CUBE_151
...
STM32F7 Cube FW new release v1.5.1
2017-01-16 16:34:35 +00:00
Martin Kojtal
3933ccf76e
Merge pull request #3584 from LMESTM/dev_stm32_common_peripheralpins
...
STM32: make PeripheralPins.h a common file
2017-01-16 16:29:28 +00:00
Martin Kojtal
cc8a132f10
Merge pull request #3575 from LMESTM/dev_stm_factorize_gpio
...
Dev stm factorize gpio
2017-01-16 16:28:27 +00:00
Martin Kojtal
c635c5d795
Merge pull request #3573 from MultiTechSystems/dragonfly-rtc-fix
...
fix failing RTC initialization for MTS_DRAGONFLY_F411RE
2017-01-16 16:25:44 +00:00
Martin Kojtal
c14d7154e6
Merge pull request #3397 from AlessandroA/stm32f4_support
...
Add uVisor support for the DISCO_F429ZI
2017-01-16 16:24:33 +00:00
ccli8
0a0b326da6
[NUC472/M453] Change sbrk() allocation to be 32-byte aligned
2017-01-16 09:48:27 +08:00
ccli8
453f60e9c1
[NUC472/M453] Remove power-down support from us_ticker
2017-01-16 09:48:21 +08:00
Anna Bridge
469b54700b
Merge pull request #3577 from bridadan/fix_debug_build_stm
...
Fixes linking errors when building with debug profile
2017-01-13 14:15:37 +00:00
jeromecoutant
f5b62208f4
STM32Cube_FW_F7_V1.5.1
...
CMSIS v1.1.0 => v1.1.2
STM32F7 HAL v1.1.0 => v1.1.2
2017-01-13 13:29:45 +01:00
Laurent MEUNIER
1a4394a4a2
STM32: make PeripheralPins.h a common file
...
Simple effort to avoid duplicate code.
2017-01-13 13:25:33 +01:00
Anna Bridge
74f192add5
Merge pull request #3567 from LMESTM/dev_stm32_hal_F0_V1.7.0
...
Dev stm32 F0 v1.7.0
2017-01-13 10:52:49 +00:00
Anna Bridge
74619ceaa0
Merge pull request #3563 from c1728p9/fix_lpc_checksum
...
LPC4088 - Fix vector checksum
2017-01-13 10:51:48 +00:00
Anna Bridge
6cf0c8673b
Merge pull request #3558 from NXPmicro/UART_Asynch_Fix
...
K64F UART Asynch API: Fix synchronization issue
2017-01-13 10:45:40 +00:00