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
Brian Daniels
24a9a4824f
Fixes linking errors when building with debug profile
...
When building with the debug profile, certain ST plaforms error with
'get_i2c_timing' not being defined. This is because the function is not
defined as 'static inline', but just 'inline'.
2017-01-12 15:09:28 -06:00
Laurent MEUNIER
57e0225248
STM32: gpio: factorize gpio_api.c and gpio_object.h
...
Let's make the code more common for gpios.
The only difference between STM32 families is that BRR register may
not be available. In case BRR is not available, we use the 16 left bits
of BSRR instead. We could always use BSRR, but BRR saves one left-shift
operation, so let's use it when available.
By default we will consider using BRR, except for platforms that define
GPIO_IP_WITHOUT_BRR.
2017-01-12 19:24:32 +01:00
Laurent MEUNIER
7a36614e74
STM32: remove useless include
...
gpio_object.h is included from common_objects.h,
so no need to have it here.
2017-01-12 19:11:36 +01:00
Mike Fiore
ca24745e28
[MTS_DRAGONFLY_F411RE] use LSI for RTC since LSE is no longer populated by default
2017-01-12 10:25:46 -06:00
Anna Bridge
9ce040e745
Merge pull request #3551 from TomoYamanaka/master
...
Fix I2C driver for RZ/A1H
2017-01-12 16:06:07 +00:00
Anna Bridge
236258bf05
Merge pull request #3546 from bcostm/dev_can_nucleo-f412zg
...
NUCLEO-F412ZG - Add CAN peripheral
2017-01-12 16:04:40 +00:00
Anna Bridge
63601df8dd
Merge pull request #3544 from jeromecoutant/PR_DEEPSLEEP_L4
...
STM32L4 deepsleep improvement
2017-01-12 16:02:40 +00:00
jeromecoutant
2ea49e0bc1
DISCO_F769NI: targets update
...
- correct clock for USB
- add ARM micro support
- add OS5 release support
- add TRNG support
- add ARDUINO form factor support
2017-01-12 15:36:30 +01:00
Russ Butler
18618ef43e
LPC4088 - Fix vector checksum
...
Turn on the vector checksum on all LPC4088 variants. This checksum is
required for an application to boot.
2017-01-10 14:53:24 -06:00
Mahadevan Mahesh
89f8fe49a2
MCUXpresso: Fix ENET driver to enable interrupts after interrupt handlers are set
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-01-10 13:04:27 -06:00
Mahadevan Mahesh
8c71fbc07f
K64F UART Asynch API: Fix synchronization issue
...
The UART state should be set to busy before starting the transfer
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2017-01-10 10:45:28 -06:00
Laurent MEUNIER
b15fc6a6b5
STM32: TIM: Initialize new TIM parameter
2017-01-10 16:53:20 +01:00
Laurent MEUNIER
cdcaf2a473
STM32: Serial: Use up to date MACROs
...
Following STM32 HAL update, it is needed to use up-to-date MACROs.
Otherwise, build would fail.
2017-01-10 16:53:17 +01:00
Laurent MEUNIER
0ca04ffb3e
STM32: HAL update, use I2C function instead of MACRO
...
Following HAL update, this is needed to use the I2C API function
rather than previously used MACRO.
An assert would fail at compilation time otherwise.
2017-01-10 16:53:15 +01:00
Laurent MEUNIER
af6cdabc28
STM32Cube_FW_F0_V1.7.0
...
CMSIS v2.3.0 => v2.3.1
STM32F0 HAL v1.4.0 => v1.5.0
LL Layer introduction for STM32F0
2017-01-10 16:50:35 +01:00
Alessandro Angelino
89641bc7e0
uVisor: Update K64F and EFM32GG linker scripts
...
This commit improves consistency between different platforms' linker
scripts. In particular, we use "__UVISOR_SRAM_START" instead of
"__UVISOR_BSS_START" as the uVisor BSS sections might be outside of the
SRAM (for example, when using a tightly-coupled memory).
2017-01-10 13:15:54 +00:00
adustm
3a53a5adc8
DISCO_F429ZI: Add support for uVisor
2017-01-10 13:15:54 +00:00
bcostm
ead72934ef
Add CAN feature and activate CAN tests for this platform
2017-01-10 11:22:51 +01:00
bcostm
31e6e5c182
Add CAN object structure
2017-01-10 11:15:38 +01:00
TomoYamanaka
0236d95fed
Fix I2C driver for RZ/A1H
...
Previously, when "length = 0" as failsafe, "return 0" is executed.
But we changed so that only START bit and STOP bit are executed same as other devices.
2017-01-10 12:44:12 +09:00
Sam Grove
be28fd85a9
Merge pull request #3438 from NXPmicro/SERIAL_ASYNC_API
...
K64F: Add support for SERIAL ASYNCH API
2017-01-09 10:46:46 -06:00
Sam Grove
4f9e9f635f
Merge pull request #3540 from LMESTM/fix_spi_rx_init
...
STM: SPI: Initialize Rx in spi_master_write
2017-01-09 10:37:05 -06:00
Sam Grove
5fd8a5e43a
Merge pull request #3539 from bcostm/dev_trng_nucleo-f412zg
...
NUCLEO_F412ZG - Add support of TRNG peripheral
2017-01-09 10:34:18 -06:00
Sam Grove
10b6dbf839
Merge pull request #3504 from CalSol/canfixes
...
[LPC15xx] CAN implementation improvements
2017-01-09 10:18:43 -06:00
Sam Grove
c305000f2b
Merge pull request #3503 from CalSol/pwmfix
...
[LPC15xx] Ensure that PWM=1 is resolved correctly
2017-01-09 10:18:01 -06:00
Sam Grove
cefae22703
Merge pull request #3492 from Nodraak/fix/3463/can_read_return_value
...
Fix #3463 CAN read() return value
2017-01-09 10:17:27 -06:00
Sam Grove
ddcd3ad711
Merge pull request #3488 from LMESTM/dev_stm_i2c_v2_unitary_functions
...
Dev stm i2c v2 unitary functions
2017-01-09 10:15:55 -06:00
jeromecoutant
633240b93b
STM32L4 deepsleep improvement
2017-01-09 12:21:24 +01:00
Laurent MEUNIER
fd3a3f9de8
STM: SPI: Initialize Rx in spi_master_write
...
In case Rx is not initiliased its content might be random from stack.
This is causing problem in case of 8 bits read only as the left-side 8 bits
of the returned int value may contain this random byte data. This was for
instance detected when using SDFileSystem Lib.
2017-01-06 13:20:55 +01:00
bcostm
30ac4aae75
Add support of TRNG peripheral
2017-01-06 10:36:29 +01:00
Laurent MEUNIER
4297e3fd36
STM32: I2C: i2c_byte_read return value in case of error
...
To make clear that an error is being reported, we shall report -1,
2 being the timeout error for i2c_byte_write only.
2017-01-03 18:06:19 +01:00
Adrien Chardon
885b018f77
Set bit without reseting the whole register
2017-01-03 11:46:27 +01:00
Adrien Chardon
7e0b4fe3c9
Fix can_read() return value for STM32 boards
2017-01-03 11:46:25 +01:00
Laurent MEUNIER
455c2ecbea
STM32: I2C: remove debug code
...
Few debug lines were to be removed / updated.
Move the printf to DEBUG_PRINTF and return the error when needed.
2017-01-03 10:18:56 +01:00
Richard Lin
14d579ad50
Fix && -> & typo
2017-01-02 01:47:43 -08:00
Michel Jaouen
25c0d9034f
USBHOST STM : add more board
...
NUCLEO : F411RE, L476VG, F746ZG
DISCO : L476VG
2017-01-02 09:51:48 +01:00
Michel Jaouen
14153dcbc3
USBHOST STM support :
...
NUCLEO : F429ZI, F446ZE, F207ZG, F767ZI, F401RE,
DISCO : F429ZI
2017-01-02 09:48:16 +01:00
Michel Jaouen
8af69dcbd6
STM32 HAL HCD : USBHOST changes for f4,f2,l4,f7
...
- reset toggle_out , toggle_in at init
- in/out toggle in on ctrl endpoint
- remove call back when transmission restarted
2017-01-02 09:48:15 +01:00
Martin Kojtal
e7361ebc44
Merge pull request #3365 from OpenNuvoton/nuvoton_usb
...
[NUC472/M453] Support USB device
2016-12-30 12:43:53 +01:00
Martin Kojtal
518b07263c
Merge pull request #3502 from NXPmicro/I2C_Zerobyte_Write
...
MCUXpresso I2C: Handle 0 byte write
2016-12-30 12:36:36 +01:00
Martin Kojtal
6598e32785
Merge pull request #3405 from samos2011/stm32f1_can_bug
...
Repair the transmit mailbox (0,1,2) empty interrupt flag not clear BUG
2016-12-30 12:31:18 +01:00
Mahadevan Mahesh
1280dfcca5
MCUXpresso I2C: Handle 0 byte write
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-28 08:03:49 -06:00
Richard Lin
9a8cd059f8
Ensure that PWM=1 is resolved correctly
2016-12-24 23:20:56 -08:00
Richard Lin
fd24700c50
Add TX, EW, EP, BO interrupts; allow reset to clear a bus-off condition
2016-12-24 01:51:55 -08:00
Martin Kojtal
6e7ee0e51e
Merge pull request #3489 from bcostm/fix_issue_3474
...
NUCLEO_F103RB - Correct CAN and PWM alternate-functions
2016-12-23 13:15:37 +00:00
Martin Kojtal
d652d391e6
Merge pull request #3454 from 0xc0170/jeromecoutant-PR_LPT
...
STM32: Refactor lp_ticker.c + rtc_api.c + sleep.c + rtc_api_hal.h files
2016-12-23 13:06:02 +00:00
Martin Kojtal
9b8efb2659
Merge pull request #3391 from jeromecoutant/PR_ST_F4_ASSERT
...
STM32F4 : map ST HAL assert into MBED assert
2016-12-23 13:05:35 +00:00
Mahadevan Mahesh
ece7b6f05b
K64F: Add support for SERIAL ASYNCH API
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-21 11:35:27 -06:00
jeromecoutant
2b4d83ef1e
Run astyle
2016-12-21 16:54:19 +00:00
jeromecoutant
ab28a5e5cb
STM32: Refactor lp_ticker.c + rtc_api.c + sleep.c + rtc_api_hal.h files
2016-12-21 16:54:18 +00:00
Martin Kojtal
3d620f9726
Merge pull request #3459 from 0xc0170/u-blox-Adding-UBLOX_EVK_NINA_B1-target
...
Target: Add new target UBLOX_EVK_NINA_B1
2016-12-21 15:09:09 +00:00
Martin Kojtal
920db8e4a3
Merge pull request #3451 from NXPmicro/Rename_KSDK2_MCUXpresso
...
Rename KSDK2 to MCUXpresso. This is the new name of this package
2016-12-21 15:08:28 +00:00
bcostm
30dddf115a
Correct wrong alternate-function number for CAN PB_8/PB_9 pins and PWM PC_7 pin
2016-12-21 10:27:50 +01:00
Laurent MEUNIER
20c9af8bec
STM32: I2C unitary functions for IP V2
...
STM32 supported targets have 2 possible versions of I2C.
This patch makes the start / stop / read and write byte work ok for IP V2.
This was not working before and does not seem to be widely used.
2016-12-21 09:27:52 +01:00