Commit Graph

15141 Commits (ae6c7c60f91c89cbf755a2f3c8ec9c66635849fd)

Author SHA1 Message Date
Joris Aerts 62eab1e409 Add mbed5 build support for LPC11C24 2018-04-20 15:31:55 +01:00
Andreas Rebert 815f38299d LPC4088: Fix hardfault occuring after power-cycle
Since revision 5499db1 (mbed-os-5.6.0) a hardfault occurs after a power-cycle.
It doesn't occur after a reset when the application has been downloaded using
drag-and-drop or via debugger. This is probably the reason why this problem
isn't detected when testing new mbed releases.

The hardfault occured in hal_sleep(). Adding a __NOP after __WFI solves the
problem although I don't fully understand why.

- Revision ca661f9 is the last revision where the problem doesn't occur.
- The problem doesn't occur when compiling with GCC instead of ARM compiler
- This issue describes a similar, but not identical problem and led me to test adding a __NOP: https://github.com/ARMmbed/mbed-os/issues/5065
2018-04-20 15:31:55 +01:00
jeromecoutant d9f97502f4 STM32L4 : correct compilation warnings 2018-04-20 15:31:55 +01:00
jeromecoutant cc5b9575c5 STM32L1 : correct compilation warnings 2018-04-20 15:31:55 +01:00
jeromecoutant 8fb7cbe041 STM32L0 : correct compilation warnings 2018-04-20 15:31:55 +01:00
jeromecoutant 452dbbc538 STM32F7 : correct compilation warnings 2018-04-20 15:31:55 +01:00
jeromecoutant 3fdee88dc6 STM32F4 : correct compilation warnings 2018-04-20 15:31:55 +01:00
jeromecoutant d5054250b6 STM32F3 : correct compilation warnings 2018-04-20 15:31:55 +01:00
jeromecoutant 48a56ba898 STM32F2 : correct compilation warnings 2018-04-20 15:31:55 +01:00
jeromecoutant 7e68d28904 STM32F1 : correct compilation warnings 2018-04-20 15:31:55 +01:00
jeromecoutant ad99b88d5d STM32F0 : correct compilation warnings 2018-04-20 15:31:55 +01:00
Paul Thompson 9a2b701a75 STM32 : correct compilation warnings 2018-04-20 15:31:55 +01:00
Kari Haapalehto 684671ce69 Add new target MTB_ADV_WISE_1530.
MTB_ADV_WISE_1530 and MTB_USI_WM_BN_BM_22 includes same usi chip,
so common USI_WM_BN_BM_22 target has been created.
MTB_ADV_WISE_1530 and MTB_USI_WM_BN_BM_22 are inheting the common usi target
2018-04-20 15:31:55 +01:00
Keyur Hariya 1be90c2da1 Fix compiler warning for spi_api
Add mbed_critical include file to disable compiler warning messages.
2018-04-20 15:31:55 +01:00
Keyur Hariya e522543d44 Rework us_ticker and rtc_api/lp_ticker
Simplify tickers to stop emulating 1us ticks by using native timer resolutions.
Implement ticker get info functions.
Separate rtc and lp ticker init status by implementing separate functions.
2018-04-20 15:31:55 +01:00
Keyur Hariya 3a0b1db6dd Revert "Rework us_ticker and rtc_api/lp_ticker | Fix compiler warnings for spi_api"
This reverts commit 840246a4d5.
2018-04-20 15:31:55 +01:00
Keyur Hariya a6cc79faf1 Rework us_ticker and rtc_api/lp_ticker | Fix compiler warnings for spi_api
Simplify tickers to stop emulating 1us ticks by using native timer resolutions.
Implement ticker get info functions.
Separate rtc and lp ticker init status by implementing separate functions.
Add mbed_critical include file to disable compiler warning messages.
2018-04-20 15:31:55 +01:00
Keyur Hariya fac4ed0a27 Remove automatic I2C stop after each read
Automatic stop prevents sending repeated start.
2018-04-20 15:31:55 +01:00
Keyur Hariya d86cb5d481 Rework us_ticker and rtc_api/lp_ticker
Simplify tickers to stop emulating 1us ticks by using native timer resolutions.
Implement ticker get info functions.
Separate rtc and lp ticker init status by implementing separate functions.
2018-04-20 15:31:55 +01:00
Paul Thompson e9d510b26f Extend changes to other STM32 devices that have the PCD_WriteEmptyTxFifo() function 2018-04-20 15:31:55 +01:00
Paul Thompson 59e09ed988 Make the atomic_clr_u32 conditional use raw values rather than computed, remove need for guards 2018-04-20 15:31:55 +01:00
Paul Thompson fe2d60a0ae Drop usage of ilen, just use len and cast it to int32_t as appropriate 2018-04-20 15:31:55 +01:00
Paul Thompson 7166aa7baf Revert to original fix concentrating on type correctness 2018-04-20 15:31:55 +01:00
Paul Thompson d224665519 Initial work was for unsigned-signed comparison fix. Current work fixes negative number issues
Compile: stm32f7xx_hal_pcd.c
../targets/TARGET_STM/TARGET_STM32F7/device/stm32f7xx_hal_pcd.c: In function 'PCD_WriteEmptyTxFifo':
../targets/TARGET_STM/TARGET_STM32F7/device/stm32f7xx_hal_pcd.c:1310:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (len > ep->maxpacket)
           ^
../targets/TARGET_STM/TARGET_STM32F7/device/stm32f7xx_hal_pcd.c:1325:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (len > ep->maxpacket)
             ^
2018-04-20 15:31:55 +01:00
Paul Thompson 0f908e4d1e Switch to using ip_addr_isany_val 2018-04-20 15:31:55 +01:00
Teppo Järvelin dc2be3a9b9 Cellular: fixed athandler unit tests. 2018-04-20 15:31:55 +01:00
Tony Wu 49bd2dba46 rtl8195am - fix excessive compiler warnings
Fix hundreds of excessive compiler warnings due to out of enum type range

Examples shown as follows:
mbed-os.lib/targets/TARGET_Realtek/TARGET_AMEBA/sdk/soc/realtek/8195a/fwlib/hal_i2c.h", Line: 329, Col: 34
mbed-os.lib/targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/PinNames.h", Line: 172, Col: 11

Signed-off-by: Tony Wu <tonywu@realtek.com>
2018-04-20 15:31:55 +01:00
Kimmo Vaisanen 9692f4092b Add iar export support for STM32L151CC 2018-04-20 15:31:55 +01:00
Antti Yli-Tokola f6a3f633a0 Update mbed-coap to version 4.4.2
Contains one error fix:
IOTCLT-2469 CoAP UDP retransmission does not work for blocks after first one for requests (Eg. registration POST)

NOTE! These are internal changes required for cloud client. This has no direct relevance to any mbed-os functionality.
2018-04-20 15:31:55 +01:00
Hasnain Virk 4129825127 Setting up channels for AU915
Bug was reported by @tpet93 and it was correctly diagnosed that channels
were not being set in the phy_params structure. This commit fixes the bug
and sets up channels correctly.
2018-04-20 15:31:55 +01:00
Martin Kojtal 2e1c8caee3 PR template: fix tick definition
Use X to fill PR template and be more specific about only one PR type per pull request.
2018-04-20 15:31:55 +01:00
Hugues de Valon 5286b78c6c CM3DS: enable TRNG with open-source TZ-TRNG driver
This patchs adds TRNG support using the upstreamed, open-source, TZ-TRNG
driver.
It also implements the HAL for TRNG and add it in features.
The mbed-os.py script deletes files that are unused by mbed-os.

Change-Id: Idf8eefd809f00d40e0ad3cf7657f2a8c2eca3505
Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2018-04-20 15:31:55 +01:00
bcostm 26e647e2dd DISCO_F769NI: set clock_source to USE_PLL_HSE_EXTC 2018-04-20 15:31:55 +01:00
Christopher Haster 41050c13dd Fixed Travis rate-limit issue with Github requests
Using credentials avoids rate-limiting based on Travis's IP address
2018-04-20 15:31:55 +01:00
Jimmy Brisson b2ace0485b Remove MPS2 M1
There's not a port
2018-04-20 15:31:55 +01:00
Wilfried Chauveau 12eaf402c9 add ADC_AN0-2 mapped on PA_0-2 2018-04-20 15:31:55 +01:00
Netanel Gonen a4f44c4f1c replace tab with spaces 2018-04-20 15:31:55 +01:00
Netanel Gonen f3afbae28e remove MODULE_UBLOX_ODIN_W2 from targets.json
remove this target from json file as this is not a real target
 but a parent target

fix error removing the target
2018-04-20 15:31:55 +01:00
Teemu Kultala 6a5cd54ac4 cellular: doxygen correction 2018-04-20 15:31:55 +01:00
Teemu Kultala cd2477fb6f cellular: ATHandler send delay 2018-04-20 15:31:55 +01:00
Krzysztof Stachowiak 1a529090de Move the new check into the end of the previous line 2018-04-20 15:31:55 +01:00
Krzysztof Stachowiak 0b402f9044 Add an NV_SEED test to the config adjustment script 2018-04-20 15:31:55 +01:00
Jimmy Brisson 0e49953dc3 Correct armc6 detection logic 2018-04-20 15:31:55 +01:00
Thomas Sailer f60cc145aa generate .mbedignore files in bin and obj to prevent mbed compile from getting confused 2018-04-20 15:31:55 +01:00
Thomas Sailer b0ed38113d proper compile flags for Release target; add fib/trim files to .mbedignore so mbed compile doesn't pick them up 2018-04-20 15:31:55 +01:00
Thomas Sailer 60becff3e3 exporter: properly export libraries 2018-04-20 15:31:55 +01:00
Thomas Sailer 0b11c62005 skip -c, sort compiler options and file list 2018-04-20 15:31:55 +01:00
Thomas Sailer 73a52ebf5b copy ncs36510addfib.py into project root, because it cannot be relied to be accessible in the template directory 2018-04-20 15:31:55 +01:00
Thomas Sailer e006e279f8 remove NCS36510 specific changes from this branch 2018-04-20 15:31:55 +01:00
Thomas Sailer ff488cf6fb some modifications from review 2018-04-20 15:31:55 +01:00