Laurent MEUNIER
61648a53f5
Fix alignement
2017-07-07 17:27:46 +02:00
Laurent MEUNIER
cea91306de
STM32: Raise error in case of spurious interrupt
...
In case we've run through the entire GPIOs loop, withouth finding a
matching interrupt, we're in the case of a spurious interrupt, let's
raise an error to track it down.
2017-06-30 13:26:09 +02:00
Laurent MEUNIER
ade981dc9e
STM32: Store and restore rising falling config of gpio_irq
...
Now that rising / falling edge detection is disabled in the
gpio_irq_disable function, we also need to restore it when gpio_irq_enable
gets called.
2017-06-30 13:26:09 +02:00
Laurent MEUNIER
88770528bd
STM32 Fuly disable GPIO irq settings
...
When disabling GPIO irq, also the falling / rising edge settings need
to be reset (EXTI_RTSR and EXTI_FTSR registers).
If not reset, the same EXTI line can be later enabled again with a wrong
Rising / Falling configuration. This was especially seen and reported in
ci-test tests-api-interruptin on NUCLEO_F446RE target where DIO2=PA_10 and
DIO6=PB_10 were successively tested: as they are sharing the same EXTI_LINE
(EXTI_10), this resulted in calling the irq_handler with wrong
IRQ_FALL/IRQ_RAISE parameter and donothing being called in loop.
2017-06-30 13:26:09 +02:00
Jimmy Brisson
9b082fff55
Merge pull request #4656 from LMESTM/update_flash_comments
...
Correct comments in flash api for STM32 L0 targets
2017-06-29 11:09:23 -05:00
Jimmy Brisson
0c5fc5b05a
Merge pull request #4641 from LMESTM/Increase_STM32L0_analogin_sampling_time
...
Increase L0 ADC sample time
2017-06-29 11:09:03 -05:00
Jimmy Brisson
d52ed5394c
Merge pull request #4632 from 0xc0170/fix_stm32_32bitticker
...
STM32: fix us ticker set event timestamp double ISR possibility
2017-06-29 11:08:42 -05:00
Jimmy Brisson
916bc4d953
Merge pull request #4629 from iotvietmember/add_target_vbluno51
...
Add support for VBLUno51 board
2017-06-29 11:08:19 -05:00
Jimmy Brisson
2ffd264bba
Merge pull request #4601 from pan-/fix_memory_pool_destructor
...
rtos: Fix MemoryPool and Queue destructor
2017-06-29 11:07:38 -05:00
Jimmy Brisson
041737b248
Merge pull request #4577 from MultiTechSystems/xdot-enable-hsi
...
XDOT_L151CC: enable HSI after waking from stop mode so ADC functions
2017-06-29 11:07:17 -05:00
Jimmy Brisson
fecb99140d
Merge pull request #4571 from geky/events-use-rtx-event-flags
...
events: Adopt osEventFlags from RTX 5
2017-06-29 11:06:42 -05:00
Jimmy Brisson
9f829ffe26
Merge pull request #4559 from geky/fat-remove-fat_filesystem_set_errno
...
fatfs: Remove unused fat_filesystem_set_errno function
2017-06-29 11:06:22 -05:00
Jimmy Brisson
18b1cb6c11
Merge pull request #4531 from adbridge/update
...
Update branching option to branch from another branch.
2017-06-29 11:05:17 -05:00
Jimmy Brisson
8f42c87ab7
Merge pull request #4446 from hasnainvirk/add_cellular_unit_tests
...
Customer port verification tests for cellular
2017-06-29 11:04:56 -05:00
Jimmy Brisson
ea5c2cf328
Merge pull request #4421 from jeromecoutant/PR_CONFIG_CLOCK
...
STM32 : Clock source selection in json config file
2017-06-29 11:04:24 -05:00
Jimmy Brisson
88268bd3eb
Merge pull request #4625 from adustm/PULL_REQUEST_CUBE_UPDATE_F7_V1.7.0
...
Update STM32F7 cube from v1.6.0 to v1.7.0
2017-06-29 11:04:02 -05:00
Jimmy Brisson
8e053c382c
Merge pull request #4646 from bulislaw/fix_rtx_mutex
...
RTX: Fixed RTXv5 mutex owner list handling.
2017-06-29 11:03:38 -05:00
Jimmy Brisson
54b2816b11
Merge pull request #4647 from nvlsianpu/bugfix/issue_4488_hardcode_uart_pins_nrf52
...
Remove hardcode UART pins definitions for nRF52832 SoC
2017-06-29 11:03:01 -05:00
jeromecoutant
2ae2d9896e
STM32F4: json clock source configuration
...
- default value is the same as before patch
- system_stm32f4xx.c file is copied to family level with all other ST cube files
- specific clock configuration is now in a new file: system_clock.c
- nvic_addr.h file is now in TARGET_STM level, and can be used everywhere
2017-06-29 09:57:40 +02:00
Jimmy Brisson
a39ac60305
Merge pull request #4159 from adustm/STM_sha256_F439ZI
...
NUCLEO_F439ZI/mbedtls: add SHA256 hw_acceleration
2017-06-28 09:31:25 -05:00
Jimmy Brisson
4fc4405306
Merge pull request #4610 from jeromecoutant/PR_TARGETJSON
...
STM32 : targets.json file simplification
2017-06-28 09:23:40 -05:00
Jimmy Brisson
bb3bedad79
Merge pull request #4638 from bcostm/fix_cmsis5_disco_l475vg
...
DISCO_L475VG_IOT01A: Fix startup files for cmsis5
2017-06-28 09:20:05 -05:00
Laurent MEUNIER
c5d76a2950
Correct comments in flash api for STM32 L0 targets
...
The initial comments were copied from L4 implementation but do not apply
to L0 targets where 1 sector is composed of a constant number of pages.
2017-06-28 09:41:52 +02:00
Jimmy Brisson
b89fd03d69
Merge pull request #4277 from screamerbg/fix/usb-targets
...
Reorganize vendor specific USB Device/Host code into targets folders
2017-06-27 16:09:51 -05:00
Jimmy Brisson
e907079456
Merge pull request #4603 from jeromecoutant/PR_OVERRIDE
...
STM32 : mbed_overrides.c is common for all families
2017-06-27 14:59:24 -05:00
Mihail Stoyanov
717150cdf2
Reorganize vendor specific code into targets folders, following the mbed-os/targets/ design pattern
2017-06-27 14:20:36 -05:00
iotvietmember
96e932525b
Remove comment in sdk_config.h
...
Signed-off-by: iotvietmember <robotden@gmail.com>
2017-06-27 21:27:40 +07:00
Andrzej Puzdrowski
080c5af88b
remove hardcode uart pins definition for nRF52 SoCs
...
Each boards define its own pins.
2017-06-27 16:00:52 +02:00
Bartek Szatkowski
8cc21ea505
RTX: Fixed RTXv5 mutex owner list handling.
...
The prev-pointer of the running threads mutex list was not set when
multiple mutexes are acquired at a time. This leads to a corrupted list
if the mutexes are not freed in reversed order.
Original commit for CMSIS_5:
commit 729f6ab08540342b7de7612fac103539d5b2f168
Author: Jonatan Antoni <jonatan.antoni@arm.com>
Date: Wed Apr 19 15:38:43 2017 +0200
2017-06-27 14:39:34 +01:00
Martin Kojtal
f530714bca
Merge pull request #4639 from theotherjimmy/fix-lrwan1-usbhal
...
Deduplicate USBHAL_STM_TARGET.h
2017-06-27 14:46:27 +02:00
Martin Kojtal
0591b2bcd4
STM32: fix us ticker set event timestamp
...
While we are handling new timestamp, disable ticker's interrupt.
2017-06-27 09:54:29 +01:00
Laurent MEUNIER
ca26db620b
Increase L0 ADC sample time
...
With default sampling time, the MBED2 and CI test shield tests would fail
because the stabilization slope of ADC is relatively slow.
ERROR (out:0.8000) - (in:0.7407) = (0.0593)
ERROR (out:0.9000) - (in:0.8354) = (0.0646)
ERROR (out:1.0000) - (in:0.9289) = (0.0711)
This is related to the 10kOhms resistors used to connect Ain to
Aout mounted on the CI shileds, and internal capacitance of L0 targets.
If connecting Ain and Aout with wires, bypassing the resistors, the test
is passed. So we're increasing the sampling time to let the automated
ci shiled tests PASS.
OK (out:0.8000) - (in:0.7863) = (0.0137)
OK (out:0.9000) - (in:0.8869) = (0.0131)
OK (out:1.0000) - (in:0.9844) = (0.0156)
2017-06-27 10:33:42 +02:00
Armelle DUBOC
ec72ac0a28
Merge branch 'master' into STM_sha256_F439ZI
2017-06-27 08:25:42 +02:00
Jimmy Brisson
e3e54e5fd3
Merge pull request #4607 from geky/fix-mbr-init
...
bd: Fix missing init in MBRBlockDevice
2017-06-26 15:28:16 -05:00
Jimmy Brisson
453d9ee96c
Deduplicate USBHAL_STM_TARGET.h
2017-06-26 14:55:29 -05:00
bcostm
03930b88f6
DISCO_L475VG_IOT01A: Add missing nvic_addr.h file
2017-06-26 20:14:08 +02:00
bcostm
72be051088
DISCO_L475VG_IOT01A: Update system init for cmsis5
2017-06-26 19:04:44 +02:00
bcostm
bd6d7382a3
DISCO_L475VG_IOT01A: Update toolchain files for cmsis5
2017-06-26 19:02:52 +02:00
Jimmy Brisson
c9647e0e00
Merge pull request #4604 from 0xc0170/fix_4602
...
cmain IAR: add mbed main
2017-06-26 10:30:39 -05:00
Jimmy Brisson
e57296d5b9
Merge pull request #4598 from theotherjimmy/iar-styling
...
Fix style issues in IAR exporter
2017-06-26 10:30:22 -05:00
Jimmy Brisson
f6d0c29b95
Merge pull request #4594 from pan-/non_copyable
...
Introduce mbed::NonCopyable traits
2017-06-26 10:29:35 -05:00
Jimmy Brisson
fc39ad1625
Merge pull request #4422 from jeromecoutant/PR_F4_HSE_TIMEOUT
...
STM32F4 set HSE timeout value to 100ms
2017-06-26 10:29:13 -05:00
Jimmy Brisson
0a2a48c957
Merge pull request #4157 from adustm/STM_sha1_F439ZI
...
NUCLEO_F439ZI/mbedtls: add SHA1 hw_acceleration
2017-06-26 10:28:49 -05:00
Jimmy Brisson
d103979e92
Merge pull request #4572 from bcostm/add_usb_disco_l072cz
...
DISCO_L072CZ_LRWAN1: Add support of USB Device
2017-06-26 10:28:31 -05:00
Jimmy Brisson
17a88a80ef
Merge pull request #4557 from mmorenobarm/master
...
Enable I2C and Analogin drivers for CM3DS_MPS2 target
2017-06-26 10:28:08 -05:00
Jimmy Brisson
72bdeefca9
Merge pull request #4552 from bcostm/add_IAR_nucleo_f767zi
...
NUCLEO_F767ZI: Add missing IAR definitions
2017-06-26 10:27:46 -05:00
Jimmy Brisson
17ae9b923e
Merge pull request #4538 from hasnainvirk/avoid_mtx_lock
...
Avoid lock collision b/w SerialBase & UARTSerial
2017-06-26 10:26:53 -05:00
Jimmy Brisson
86f7cf43f8
Merge pull request #4426 from theotherjimmy/faster-scan
...
Improve directory scanning performance
2017-06-26 10:22:23 -05:00
Jimmy Brisson
50ec6db4d3
Merge pull request #4405 from arostm/Fix_Issue_4404
...
DISCO_L072CZ_LRWAN1: PC_13 definition missing in PinNames.h fix
2017-06-26 10:21:53 -05:00
Jimmy Brisson
1dfc2296a7
Merge pull request #4400 from jeromecoutant/PR_USB_REORG
...
STM32 USBDevice files
2017-06-26 10:21:19 -05:00