jeromecoutant
9dc5cd1266
STM32F7 : refactor stm32f7xx_hal_conf.h and map ST HAL assert into MBED assert
2016-12-08 15:54:38 +01:00
Martin Kojtal
1b019c398b
Merge pull request #3374 from bogdanm/master
...
Don't send events on close()
2016-12-08 10:42:45 +01:00
Sarah Marsh
ab23c00b08
Catch specific exception for TargetNotSupported
2016-12-07 18:05:29 -06:00
Kevin Gillespie
a0243cd852
[MAX32620] Fixing serial readable function.
2016-12-07 10:23:26 -06:00
Bogdan Marinescu
337c1af22c
Don't send events on close()
...
It's currently possible to generate a socket event when a non-blocking socket is closed:
1. _pending is set to 0 in https://github.com/ARMmbed/mbed-os/blob/master/features/netsocket/TCPSocket.cpp#L22
when the socket is created.
2. close() calls event() in https://github.com/ARMmbed/mbed-os/blob/master/features/netsocket/Socket.cpp#L66
3. event() increments _pending, and since _pending is 1 it will call _callback() in https://github.com/ARMmbed/mbed-os/blob/master/features/netsocket/TCPSocket.cpp#L167
However, if send() (for example) is called, this can happen:
- send() is called and sets _pending to 0.
- when the data is sent, event() is called, which sets _pending to 1 and calls _callback().
- if close() is called at this point, there won't be an event generated for close() anymore,
since _pending will be set to 2.
Same thing for recv. Also, same thing for TCPServer and UDPSocket.
This PR changes the initial value of _pending to 1 instead of 0, so that
events are never generated for close().
2016-12-07 17:52:16 +02:00
jeromecoutant
fa8529dea3
STM32F4 : refactor stm32f4xx_hal_conf.h and map ST HAL assert into MBED assert
2016-12-07 15:31:41 +01:00
jeromecoutant
d30c34c5d1
STM32F3 : map ST HAL assert into MBED assert
2016-12-07 15:09:55 +01:00
jeromecoutant
06ffb4cf8a
STM32F2 : map ST HAL assert into MBED assert
2016-12-07 14:52:24 +01:00
jeromecoutant
f0156306ac
STM32F0 : map ST HAL assert into MBED assert
2016-12-07 14:13:19 +01:00
jeromecoutant
b606267641
STM32F1 : map ST HAL assert into MBED assert
2016-12-07 14:08:06 +01:00
andreas.larsson
b5b3bede31
Added tmpisr = regs->ISR; at the end of the while loop to re-evaluate the ISR value
2016-12-07 12:22:31 +01:00
Mahadevan Mahesh
428e8b23c1
K66F: Enable LWIP feature
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-06 12:37:02 -06:00
Anna Bridge
2257d4b2f2
Merge pull request #3373 from 0xc0170/fix_#402
...
Fix DEBUG target keyword for GCC_ARM
2016-12-06 16:03:13 +00:00
Martin Kojtal
9a61ef0368
Fix DEBUG target keyword for GCC_ARM
...
Fixes mbed-cli#402 bug. -g flag was changed to g3, thus this caused
a regression in producing TARGET_DEBUG for GCC_ARM.
2016-12-06 11:32:45 +00:00
Laurent MEUNIER
8e11541a74
STM32 NUCLEO-L152RE Update system core clock to 32MHz
...
Even when HSE is used, it is possible to get a 32MHz system clock
8MHz x PLLMUL=12 % PLLDIV=2 = 32MHz
And we still get 48MHz USB clock:
8MHz x PLLMUL=12 % 2 = 48MHz
This allows to take full benefit of the CPU capability.
2016-12-06 11:45:19 +01:00
Jimmy Brisson
569808578a
Enabled example exporting Filter ides by toolchains
2016-12-05 13:43:55 -06:00
adustm
3fdbe85b00
Add CAN2 missing pins for connector CN12
2016-12-05 18:24:30 +01:00
Martin Kojtal
507956d658
Merge pull request #3317 from jeromecoutant/PR_F429
...
NUCLEO_F429ZI has integrated LSE
2016-12-05 16:53:09 +00:00
TsungtaWu
7d4befa01b
DELTA_DFBM_NQ620 default configuration ( #3298 )
...
* Change default SRC setting and add mbed_sdk_init() for DELTA_DFBM_NQ620
Change SRC setting to RC as default to match with hardware config.
mbed_sdk_init() is added for internal debug purpose (experimental)
* remove the redundant #define
Those #define never used.
2016-12-05 16:43:07 +00:00
Mahadevan Mahesh
d5fca6dab0
K64F DSPI Driver: Fix errors where DSPI state is incorrectly kept busy
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-05 10:06:14 -06:00
Mahadevan Mahesh
5eb92ea1db
K64F SPI Update: Implement Asynch API's for SPI
...
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-05 10:06:08 -06:00
Simon D Hughes
a09ad071e6
Corrections of debug trace statements which prevent compilation when CFSTORE_DEBUG is defined.
2016-12-05 15:29:22 +00:00
ccli8
7f4881fbb2
[NUC472/M453] Support USB device
2016-12-05 15:12:15 +08:00
Russ Butler
92d11df19d
Increase stack size in malloc test for Cortex-A
...
Increase the stack size used in the malloc test to prevent stack
overflows on Cortex-A devices.
2016-12-03 14:21:17 -06:00
Martin Kojtal
1fd2402a76
Merge pull request #3350 from sarahmarshy/patch-9
...
[Exporter docs] index.json update instructions
2016-12-02 15:53:49 +01:00
Martin Kojtal
8fd363d19a
Merge pull request #3349 from sarahmarshy/patch-7
...
[Exporters] Fix generic ARM CPU target in uvision
2016-12-02 15:52:38 +01:00
Martin Kojtal
ab46684d5d
Merge pull request #3336 from mikaleppanen/lwip_dhcp_parse_corr
...
Squashed 'features/FEATURE_LWIP/lwip-interface/lwip/' changes from d7…
2016-12-02 15:51:19 +01:00
Martin Kojtal
b08e1ec75e
Merge pull request #3330 from theotherjimmy/correct-project-profiles
...
Fix project profile parsing
2016-12-02 15:50:07 +01:00
Martin Kojtal
7338280f71
Merge pull request #3318 from radhika-raghavendran/master
...
Register map changes for RevG
2016-12-02 15:49:12 +01:00
Martin Kojtal
bd499daae8
Merge pull request #3304 from jeromecoutant/PR_L476
...
STM32L476: no HSE is present in NUCLEO and DISCO boards
2016-12-02 15:48:38 +01:00
Martin Kojtal
1c2c121741
Merge pull request #3303 from adustm/stm_fix_interrupt_in
...
Fix #2956 #2939 #2957 #2959 #2960 : Add HAL_DeInit function in gpio_irq destructor
2016-12-02 15:47:50 +01:00
Martin Kojtal
72b1fa71b5
Merge pull request #3301 from 0xc0170/fix_issue#2725
...
I2C - correct return values for write functions (docs) - part 1
2016-12-02 15:47:08 +01:00
Martin Kojtal
ab2e869a24
Merge pull request #3157 from SiliconLabs/SiliconLabs-EFR32
...
[Silicon Labs] Adding support for EFR32MG1 wireless SoC
2016-12-02 15:46:35 +01:00
Martin Kojtal
4f314beeee
Merge pull request #3309 from OpenNuvoton/nuvoton
...
[NUC472/M453] Fix CI failed tests
2016-12-02 15:33:52 +01:00
Martin Kojtal
a2963668f7
Merge pull request #3345 from bcostm/fix_suspend_tick
...
STM32 - Remove TIM_IT_UPDATE flag in HAL_Suspend/ResumeTick functions
2016-12-02 15:28:12 +01:00
Sarah Marsh
dc864132ab
IAR export will not fail in the absence of a CMSIS pack
2016-12-02 10:46:38 +08:00
Laurent MEUNIER
29b32b84b3
STM32 I2C - 1MHZ frequency is allowed
...
So make the assert to cover all possible values
Also assert applies only for I2C_IP_VERSION_V2.
Also in case of I2C_IP_VERSION_V1, the HAL makes the proper
checks and can dynamically scale the frequency in case of
intermediate value.
2016-12-01 15:20:11 +01:00
Martin Kojtal
c8c01f0c5c
Merge pull request #3322 from jeromecoutant/PR_DISCO_L0
...
DISCO_L053C8 doesn't support LSE
2016-12-01 13:52:16 +00:00
Martin Kojtal
e9c8c603ed
Merge pull request #3352 from 0xc0170/fix_nina_endings
...
ublox eva nina - fix line endings
2016-12-01 12:59:07 +00:00
0xc0170
bcdb86675a
ublox eva nina - fix line endings
...
Fixes #3346
2016-12-01 11:19:42 +00:00
sarahmarshy
cf4ebf56c2
[Exporter docs] index.json update instructions
2016-12-01 11:09:51 +08:00
sarahmarshy
abd948fa6d
[Exporters] Fix generic ARM CPU target in uvision
...
Generic CPU target not found correctly, because it was not accessing the Cache's index.
@theotherjimmy
2016-12-01 10:55:28 +08:00
tomoyuki yamanaka
cea27724d7
Fix frequency function of CAN driver.
...
Until now, when the frequency function of CAN driver was executed, signal no output, and the frequency could not be changed.
Since there was an error in the frequency changing procedure I modified it.
2016-12-01 11:41:20 +09:00
Michel Jaouen
5ee69dbc2e
USB_4 : test OK with IAR ,GCC_ARM(limitation to ARM not needed)
2016-11-30 17:55:04 +01:00
jeromecoutant
7adb7a54de
NUCLEO_F429ZI has integrated LSE
2016-11-30 14:43:01 +01:00
bcostm
18dc6f4f81
Remove TIM_IT_UPDATE flag in HAL_Suspend/ResumeTick functions to make LPT tests pass.
2016-11-30 11:31:25 +01:00
jeromecoutant
29771cb891
DISCO_L053C8 doesn't support LSE
2016-11-30 09:02:06 +01:00
jeromecoutant
448f501d4a
STM32L476: comments update
2016-11-30 08:52:49 +01:00
jeromecoutant
757944ee24
STM32L476: no HSE is present in NUCLEO and DISCO boards
2016-11-30 08:51:18 +01:00
Laurent MEUNIER
0505a5274d
[STM32] enable I2C ASYNCH
...
the I2C_ASYNCH feature is added to all STM32 except
F1 family for now. Will be added when HAL update is done.
2016-11-30 08:25:44 +01:00