Commit Graph

651 Commits (6bd488db4d486f1c060767d7e95ccd88bcbd78d2)

Author SHA1 Message Date
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
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
mbedNoobNinja d627bf2d1f Export IDE support added 2017-01-31 10:23:21 +02: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
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
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
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
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