Commit Graph

21330 Commits (3e94b86a78b799bbbee4360fd64d2dd88685bd03)

Author SHA1 Message Date
c_jin 24546f7ac8 Add GD32F307VG 2018-12-27 22:36:18 -06:00
Cruz Monrreal II bb98e7295d Update Mbed version block 2018-12-27 22:29:10 -06:00
panyz0725@thundersoft.com 38611bb807 Add MPU to fix CI failed 2018-12-27 22:29:10 -06:00
panyz0725@thundersoft.com 37d0665904 Fix Expecting object 2018-12-27 22:29:10 -06:00
panyz0725@thundersoft.com 236ed80abd Set __ICFEDIT_size_cstack__ =1k 2018-12-27 22:29:10 -06:00
ThunderSoft_mbed_os a55bd7094a Update us_ticker.c 2018-12-27 22:29:10 -06:00
ThunderSoft_mbed_os 9226dd7ef3 Update spi_api.c 2018-12-27 22:29:10 -06:00
ThunderSoft_mbed_os bdd3895472 Update sleep.c 2018-12-27 22:29:10 -06:00
ThunderSoft_mbed_os 540b5cfa39 Update pwmout_api.c 2018-12-27 22:29:10 -06:00
ThunderSoft_mbed_os f00c55fc9e Update port_api.c 2018-12-27 22:29:10 -06:00
ThunderSoft_mbed_os 6b10e8948f Update pinmap.c 2018-12-27 22:29:10 -06:00
ThunderSoft_mbed_os 863dd72ec0 Update objects.h 2018-12-27 22:29:10 -06:00
ThunderSoft_mbed_os dabca5df9e Update i2c_api.c 2018-12-27 22:29:10 -06:00
ThunderSoft_mbed_os b30733c209 Update gpio_object.h 2018-12-27 22:29:10 -06:00
ThunderSoft_mbed_os 1140b041cd Update gpio_api.c 2018-12-27 22:29:10 -06:00
ThunderSoft_mbed_os 18d4526d26 Update device.h 2018-12-27 22:29:10 -06:00
ThunderSoft_mbed_os e175741ea5 Update analogout_api.c 2018-12-27 22:29:10 -06:00
ThunderSoft_mbed_os a92241e1c3 Update analogin_api.c 2018-12-27 22:29:10 -06:00
ThunderSoft_mbed_os e0acd54429 Update PortNames.h 2018-12-27 22:29:10 -06:00
ThunderSoft_mbed_os 3d64103089 Update PinNames.h 2018-12-27 22:29:10 -06:00
ThunderSoft_mbed_os 2d438f72f5 Update PeripheralNames.h 2018-12-27 22:29:10 -06:00
ThunderSoft_mbed_os ef4e0a48c2 Update mbed_rtx.h 2018-12-27 22:29:10 -06:00
ThunderSoft_mbed_os 803458ad8a Update us_ticker.c 2018-12-27 22:29:10 -06:00
panyz0725@thundersoft.com 3502fad243 Add platform TT_M3HQ 2018-12-27 22:29:09 -06:00
cyliangtw 458e79a035 Fix NUC472 hard fault in SMCC tests 2018-12-27 22:26:04 -06:00
Derek Miller 05c2beb3a8 Bug fix for UART issue on LPC54608 - issue #7398 2018-12-27 22:26:04 -06:00
Kevin Bracey 2e3776487e Revert "STM32 RTC : skip rtc_write if possible"
`rtc_write` must start the RTC. `time()` uses `rtc_write(0)` to start
the RTC if it is not already enabled, but this check made that not
work.

There's no point trying to optimise this case in a HAL - if we wanted
`set_time()` to protect against users making pointless adjustments, the
implementation should be there. But even then, you might want different
levels of hysteresis depending on application, so it's probably best
left to applications.

This reverts commit 9da5e48941.
2018-12-27 22:26:04 -06:00
Juhani Puurula f2941e018a Fix to unit test losing process output due to timing issue 2018-12-27 22:26:04 -06:00
Ashok Rao a332a90586 MTB_ODIN_v2_fixes
1. Removed redundant code comments. Added relevant ones for MTB pins.
2. More SPI_CS pins added for peripherals on the MTB.
3. Disabled LSE_Clock as it is not present on the MTB in targets.json
2018-12-27 22:26:04 -06:00
Senthil Ramakrishnan c04cd4eefb Disable printf in crash reporting for release builds 2018-12-27 22:26:04 -06:00
deepikabhavnani 2c5ae4aac2 Added test case for verification 2018-12-27 22:26:04 -06:00
deepikabhavnani dabd15f597 Corrected destructor loop to clear all pending events
In `equeue_destroy` the external loop was for main events linked
list and internal loop for siblings.
Siblings start was not initialized correctly for each main link
2018-12-27 22:26:04 -06:00
deepikabhavnani fa39d6ffe7 Old pointers of sibling were not cleared
When adding sibling at the head of linked list, the head if pointing
to something in linked list was not updated, hence a loop was formed
in linked list

Element0 - First addition to linked list
Element1 - Has higher delay hence added to back
0 ->(next) 1
Element2 - Delay is same as Element0, hence should be sibling of 0
           Shall be added at head

Expected:
2    ------------->(next) 1
|(sibling)
0

Bug: (Resolved with this)
2    ------------->(next) 1
|(sibling)
0    ------------->(next) 1

If we add more elements and next pointer of sibling is updated, old
references will cause issues
Element3 added

Expected:
2    ------------->(next) 3  ------------->(next) 1
|(sibling)
0

Bug: (Resolved with this)
2    ------------->(next) 3  ------------->(next) 1
|(sibling)
0    ------------->(next) 1
***Both siblings here point to different next***
2018-12-27 22:26:04 -06:00
jeromecoutant e06b7863cc STM32F429/STM32F439 alignment 2018-12-27 22:26:04 -06:00
jeromecoutant d847d57e02 STM32 : Enable TICKLESS for targets with LPTIM 2018-12-27 22:26:04 -06:00
jeromecoutant ae3a666275 STM32: update LPTICKER_DELAY_TICKS for LPTIM targets 2018-12-27 22:26:04 -06:00
David Saada c0226febbc Fix LTO build failures due to duplicate local types 2018-12-27 22:26:04 -06:00
Seppo Takalo 934f4f108c Drop MBED_EXTENTED_TESTS flagging from network tests.
All properly working IP stacks are required to pass Mbed OS socket tests.
This have now proven with current Ethernet devices with LwIP stack.
2018-12-27 22:26:04 -06:00
mudassar-ublox 2a5e2a7a0d Ublox C030 ADC internal channels added 2018-12-27 22:26:04 -06:00
Alastair D'Silva 5b29b7e6b5 Don't use define checks on DEVICE_FOO macros (mbed code)
The DEVICE_FOO macros are always defined (either 0 or 1).

This patch replaces any instances of a define check on a DEVICE_FOO
macro with value test instead.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-27 22:26:04 -06:00
Alastair D'Silva 93fed52c1a Remove #ifdefs for DEVICE_SERIAL & friends
DEVICE_SERIAL is always defined (either 0 or 1).
Remove the faulty checks introduces in commit
26b9a1f6a3 and replace them with
value checks as originally implemented.

Fixes #8913

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2018-12-27 22:26:04 -06:00
Desmond Chen 1cb1a49752 Fix BLE long write execution failure 2018-12-27 22:26:03 -06:00
David Saada 67ba976b30 Fix FLASHIAP_ROM_END macro for GCC_ARM & IAR toolchains
- Consider data section in GCC_ARM toolchain
- Consider init_array section in IAR toolchain
- Rename macro to FLASHIAP_APP_ROM_END_ADDR for clarity sake
2018-12-27 22:26:03 -06:00
Kevin Bracey afb504e17c Check correct ARMC6 predefine for FP codegen
For ARMC6, CMSIS headers were checking the `__ARM_PCS_VFP`, which
indicates hardfp ABI in use, when they need to check whether FP
code generation is enabled. Change this to `__ARM_FP`, so it
works for platforms using softfp ABI.

Change already present in CMSIS_5 repo, via commit
969822ae162539d50617d1e5a3634ee2fd3b60f6, but redone with local
search-and-replace.
2018-12-27 22:26:03 -06:00
j3hill 5cff9ce3b0 NRF52840_DK: QSPI check Read/Write WORD alignment, and properly set clock frequency divider
These changes are to enable QSPI functioanlity
for the NRF52840DK.
2018-12-27 22:26:03 -06:00
jeromecoutant 355807cedf STM32 LPTICKER with RTC : optimise sleep duration 2018-12-27 22:26:03 -06:00
jeromecoutant f5577c005e STM32 RTC : skip rtc_write if possible 2018-12-27 22:26:03 -06:00
Amanda Butler 35b7a06bda Make minor change in pull_request_template.md
Fix nit for precise language
2018-12-27 22:26:03 -06:00
Martin Kojtal 2ce2dab762 github: add reviewers to the PR template
Use @mention to request specific reviewers.
2018-12-27 22:26:03 -06:00
Leszek Rusinowicz c06492cbe7 Updated default M0 image to not modify UDB configuration when comming out of a deep sleep state. On Mbed this is performed only on M4 core. 2018-12-27 22:26:03 -06:00