Kevin Bracey
4d3888c06a
Add Kernel::get_ms_count
...
Give C++ access to the RTOS's absolute timebase, reducing the need to
run private Timers and similar. Allows wait_until functionality, and
makes it easier to avoid time drift.
Place it in a new header and namespace in case we want more kernel
functions in future.
Try to cover over the breaking API change potentially upcoming in
CMSIS-RTOS 2.1.1, when it reduces the tick count from 64-bit to 32-bit.
(See https://github.com/ARM-software/CMSIS_5/issues/277 )
Explicitly state that ticks are milliseconds in mbed OS, despite CMSIS
RTOS 2 permitting different tick rates.
See also https://github.com/ARMmbed/mbed-os/pull/3648 (wait_until
for condition variables) and
https://github.com/ARMmbed/mbed-os/issues/5378 (EventQueue should
use RTOS tick count).
2018-01-29 15:26:41 +02:00
Cruz Monrreal
3c793a714c
Merge pull request #5087 from mprse/rtc_test
...
Add RTC time test.
2018-01-26 17:26:38 -06:00
Cruz Monrreal
6e964a6fe4
Merge pull request #5476 from ubirch/add-cmake-export
...
add cmake exporter for CLion use
2018-01-26 15:07:55 -06:00
Cruz Monrreal
da6532e57a
Merge pull request #5857 from TomoYamanaka/master
...
Registration GR-LYCHEE board as a new mbed board
2018-01-26 10:50:44 -06:00
Cruz Monrreal
ce4d6c9f36
Merge pull request #5942 from c1728p9/remove_tickless_assert
...
Remove tickless assert for tick count
2018-01-26 10:43:44 -06:00
Cruz Monrreal
24859e90e1
Merge pull request #5789 from maciejbocianski/hal_critical_section_tests
...
Add tests for critical section HAL API
2018-01-26 10:39:33 -06:00
Cruz Monrreal
fe87499af8
Merge pull request #5874 from c1728p9/usb_fixes_and_improvements
...
USB fixes and improvements
2018-01-26 10:37:13 -06:00
Cruz Monrreal
dfa55336f5
Merge pull request #5907 from bcostm/fix_f0_usart_irq
...
STM32F0: fix issue with usarts sharing the same irq vector
2018-01-26 10:36:55 -06:00
Cruz Monrreal
9a47f09ea9
Merge pull request #5910 from OSHChip/typo-fix
...
fix typos in lint.py
2018-01-26 10:36:33 -06:00
Cruz Monrreal
b67b69ee54
Merge pull request #5912 from MikeDK/critical_section_lock_fix
...
CriticalSectionLock: fixing missing include
2018-01-26 10:36:04 -06:00
Cruz Monrreal
ce87bdaf19
Merge pull request #5913 from DBS06/efm32_flash_api
...
Add missing EFM32 HAL flash init/deinit function calls
2018-01-26 10:35:35 -06:00
Cruz Monrreal
124fbf4c9b
Merge pull request #5918 from scamille/master
...
NXP LPC4088: Add missing SPI SSEL pin to Pinmap
2018-01-26 10:35:11 -06:00
Cruz Monrreal
6f9421baeb
Merge pull request #5920 from bcostm/use_rawserial_in_mbed_11_test
...
Fix issue with MBED_11 test (mbed2)
2018-01-26 10:34:50 -06:00
Cruz Monrreal
215a043bac
Merge pull request #5923 from yangkunming99/rtl8195am_restructure_target_files
...
rtl8195am - restructure target folder
2018-01-26 10:34:04 -06:00
Cruz Monrreal
f7a6d341db
Merge pull request #5928 from geky/fix-littlefs-fuse-testing
...
littlefs: Set specific hash for littlefs-fuse testing in Travis
2018-01-26 10:33:23 -06:00
Cruz Monrreal
7576813a7c
Merge pull request #5934 from jeromecoutant/PR_F401
...
NUCLEO_F401RE : PeripheralPins file update
2018-01-26 10:32:56 -06:00
Cruz Monrreal
9d10c6a7ed
Merge pull request #5938 from jeromecoutant/PR_MTB
...
MTB_XX : STDIO configuration
2018-01-26 10:32:37 -06:00
Martin Kojtal
a0d16076c1
Merge pull request #5937 from codeauroraforum/Update_CMSIS_Pack
...
Update CMSIS pack
2018-01-26 11:48:05 +00:00
chrisyang
366a475c06
rtl8195am - remove irrelevant files
2018-01-26 11:07:35 +08:00
chrisyang
ab9fd64981
rtl8195am - add missing changes
2018-01-26 10:58:42 +08:00
Mahesh Mahadevan
1868e4946c
Update CMSIS pack
...
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-01-25 16:36:44 -06:00
Russ Butler
8ef1a73735
Remove tickless assert for tick count
...
Remove the assert that the tick count of the OS matches the tick
count of the tickless timer as this occurs frequently when
debugging. This is because the function svcRtxKernelResume
only increments the OS's tick count until the next wakeup event
so if the device was halted by a debugger past the next wakeup
event the tick counts will be out of sync.
2018-01-25 15:27:35 -06:00
jeromecoutant
c26db91a09
MTB_XX : STDIO configuration
...
Here is a proposition
- to align with other STM32
- and to remove compilation warnings :
[Warning] PeripheralNames.h@38,0: "STDIO_UART" redefined
2018-01-25 15:46:36 +01:00
Martin Kojtal
26d0c6dcaf
Merge pull request #5932 from ARMmbed/revert-5821-add_BL_nucleo-f746zg
...
Revert "STM32F7: Add bootloader support"
2018-01-25 13:40:20 +00:00
jeromecoutant
e6ec285a6b
NUCLEO_F401RE : PeripheralPins file update
...
Default SERIAL pins are now available for ADC and PWM
when STDIO_UART_TX and STDIO_UART_RX are user defined
https://os.mbed.com/teams/ST/wiki/STDIO
Alternative pins have been also defined
2018-01-25 13:52:17 +01:00
Martin Kojtal
6d52c1c067
Revert "STM32F7: Add bootloader support"
2018-01-25 11:07:01 +00:00
bcostm
7ff1cf52c0
STM32F0 uart irq: test IT flags for usart3/4
2018-01-25 11:23:53 +01:00
bcostm
18659ab16b
STM32F0: manage better uart3 & 4 irqs
...
Manage the case where both uart3 and uart4 interrupts are arriving at the same time.
2018-01-25 11:15:55 +01:00
bcostm
eaa3e9d2b2
STM32F0 usart irq: fix issue with F070/F072
2018-01-25 11:15:55 +01:00
bcostm
b6c9178d88
STM32F0: fix usart irq management
2018-01-25 11:15:54 +01:00
Christopher Haster
13ddd161cf
littlefs: Set specific hash for littlefs-fuse testing
2018-01-24 18:27:47 -06:00
Cruz Monrreal
98611c8578
Merge pull request #5201 from maciejbocianski/critical_section_tests
...
Test set for critical section
2018-01-24 11:29:45 -06:00
Cruz Monrreal
a6892da126
Merge pull request #5903 from jeromecoutant/PR_F407_ARM
...
STM32F407 : correct ARM scatter file
2018-01-24 11:28:28 -06:00
chrisyang
c0a5ffb74d
rtl8195am - restructure target files
...
restructure target files to better sync with Ameba sdk base
2018-01-24 22:51:53 +08:00
bcostm
352ac7a2be
Use RawSerial in MBED_11 test
2018-01-24 14:45:18 +01:00
Serge Camille
63664e11b9
NXP LPC4088: Add missing SPI SSEL pin to Pinmap
...
The Pin P5_3 (p31) was missing from the NXP LPC4088 SPI PinMap for SSEL.
Adding this Pin allows usage of SPISlave with SSP2 using the SSEL pin.
The pin and its SSP2_SSEL function is both documented in https://os.mbed.com/media/uploads/embeddedartists/lpc4088_qsb_pinning.xlsx as well as in UM10562 LPC408x/407x User manual Rev. 3 — 12 March 2014 chapter 7.4.1.4 Table 90 (https://www.nxp.com/docs/en/user-guide/UM10562.pdf ).
2018-01-24 13:29:43 +01:00
Przemyslaw Stekiel
a25bf8fbc1
Add RTC time test.
2018-01-24 10:47:34 +01:00
Maciej Bocianski
628f521919
Add tests for critical section HAL API
2018-01-24 10:14:06 +01:00
PHST
7719c25a99
Add missing EFM32 HAL flash init/deinit function calls
2018-01-24 08:20:38 +01:00
Michael Kaplan
b3a9af49b8
CriticalSectionLock: fixing missing include
...
Macro MBED_DEPRECATED_SINCE is defined in platform/mbed_toolchain.h which was not included.
If someone used member functions lock or unlock (which are prefixed with MBED_DEPRECATED_SINCE since some time), there would be a compile error instead of a warning.
Including mbed_toolchain.h fixes that.
2018-01-24 08:10:35 +01:00
drewcassidy
6f9aa07491
fix typos in lint.py
2018-01-23 19:19:43 -08:00
Cruz Monrreal
f1cf77fa44
Merge pull request #5844 from adustm/DiscoIot_L475_iarlink
...
ST-DISCO_L475VG_IOT01A: Improve SRAM use for IAR toolchain
2018-01-23 16:23:08 -06:00
Cruz Monrreal
11b9a3d940
Merge pull request #5890 from 0xc0170/fix_renesas_nvic
...
RZ_A1H: cmsis nvic include fix
2018-01-23 16:22:31 -06:00
Cruz Monrreal
8d7397884e
Merge pull request #5894 from bcostm/fix_serial_7bit
...
STM32: fix serial 7bit data format
2018-01-23 16:21:00 -06:00
Cruz Monrreal
669a85affa
Merge pull request #5898 from cmonr/ncs36510-disable-rtc
...
Disables RTC for NCS36510 since feature is blocking #5087 from building correctly, and issue will not be resolved soon (#5308 ).
2018-01-23 15:52:21 -06:00
Cruz Monrreal
de5c170eee
Merge pull request #5896 from jeromecoutant/PR_DEEPSLEEP
...
STM32LX : HAL_RCC_OscConfig update in PLL configuration
2018-01-23 14:58:12 -06:00
Cruz Monrreal
4c07c1c830
Merge pull request #5821 from bcostm/add_BL_nucleo-f746zg
...
STM32F7: Add bootloader support
2018-01-23 11:49:10 -06:00
Cruz Monrreal
892e5e1b74
Merge pull request #5809 from ashok-rao/MTB_MXChip
...
Add MTB MXChip EMW3166
2018-01-23 11:33:47 -06:00
Cruz Monrreal
8e683d5f1d
Merge pull request #5864 from JaniSuonpera/CoAP_v4.0.11
...
CoAP v4.1.1
2018-01-23 11:31:39 -06:00
Cruz Monrreal
eb2f4ae60b
Merge pull request #5866 from 0xc0170/fix_tickless_deepsleep
...
RTX idle: sleep without locked deep sleep fix
2018-01-23 11:31:04 -06:00