Skip to content

Release candidate for mbed-os-5.11.1 #9208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 254 commits into from
Jan 3, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
254 commits
Select commit Hold shift + click to select a range
41b56a4
events: add spdx license
0xc0170 Nov 9, 2018
2be98ca
rtos: add spdx license
0xc0170 Nov 9, 2018
182ddb7
rtos: fix copyright years
0xc0170 Nov 28, 2018
886b633
rtos: fix style in rtos wait
0xc0170 Nov 29, 2018
9fea2fb
STM32 LPTICKER with LPTIM optimisation
jeromecoutant Nov 15, 2018
e4832fc
cellular: registration status change fix
Nov 19, 2018
419ce3f
cellular: registration status change astyle fix
Nov 19, 2018
2705977
cellular: registration status change unit test fix
Nov 26, 2018
6dbdce4
Migrate old memap file handling into toolchains
theotherjimmy Nov 16, 2018
eef504f
Sync with v1.0.0
Nov 19, 2018
7895421
Fix issues in CC310 cc_internal discovered by OTT
Nov 19, 2018
114c917
STM32 : Add default deep sleep latency of 3 ms
jeromecoutant Nov 19, 2018
ee57fd6
Correct network status callbacks with Nanostack. Ethernet-tasklet nee…
KariHaapalehto Nov 20, 2018
fa5e853
TARGET_MCUXpresso_MCUS: fix lp ticker init function
mprse Nov 21, 2018
3918c96
STM32 remove html release notes files
jeromecoutant Nov 22, 2018
8d89854
STM32 readme md file
jeromecoutant Nov 26, 2018
ba21748
Support DAC
ccli8 Nov 20, 2018
8f32203
Fix license description for analog-out HAL files
ccli8 Nov 27, 2018
d0bef03
Fix C++11 build with Arm Compiler 6
miyuki Nov 22, 2018
da0a385
This PR modifies the name of the bin file generated for SMCC FOTA fea…
AdamZhang0124 Nov 23, 2018
1931c2c
Fix compilation warnings (apart from nanostack)
michalpasztamobica Nov 23, 2018
2235150
Bugfix - drops the assumption that there is more than SSID in vicinity
Nov 24, 2018
e35c0a7
Tests-network-wifi organize test cases for clarity
Nov 24, 2018
a57b8b1
LPC546XX: Fix build failure due to incorrect merge
mmahadevan108 Nov 27, 2018
6c5defa
BLE: Fix iteration on connections in CordioGattServer.
pan- Nov 27, 2018
c74f256
fix DM_CONN_ID_NONE loop condition
paul-szczepanek-arm Nov 30, 2018
5be53a0
Align comment block in sys stats struct
kegilbert Nov 28, 2018
c8c6838
Fix ESP8266 recv_udp timeout with flow control
c1728p9 Nov 29, 2018
cffee26
MCUXpresso: Ensure the RTC OSC is running at bootup on Kinetis platforms
mmahadevan108 Sep 27, 2018
998893d
Update mbed-coap to version 4.7.3
Nov 27, 2018
b950a8f
Remove NVSTORE enabled from NUCLEO_F410RB
jeromecoutant Dec 3, 2018
232b6b7
TARGET_WICED updated. Connection status issue corrected. If the link …
KariHaapalehto Dec 3, 2018
91de358
Renesas : Add the setting of SD as components
TomoYamanaka Nov 29, 2018
3e43755
Remove unused pin_tx/pin_rx fields from serial_s struct
ccli8 Nov 28, 2018
4e94694
Avoid re-configuring UART in serial_init() for the same H/W UART
ccli8 Nov 28, 2018
2952a79
Check configuration option for default UART baudrate setting
ccli8 Nov 28, 2018
45052e7
Fix time to init/deinit stdio_uart
ccli8 Nov 28, 2018
af8e1f5
BLE: Fix common/Duration.h doc.
pan- Nov 27, 2018
bbf0adf
BLE: Improve scan response process explanation.
pan- Nov 27, 2018
e9f4be3
Add the port for the ACONNO ACN52832 module on MTB's form factor
ithinuel Nov 19, 2018
7817bf1
fix copyrights
ithinuel Nov 26, 2018
97c629c
fix according to @ashok-rao's review
ithinuel Nov 26, 2018
a88df39
Reduce default MBEDTLS_MPI_MAX_SIZE
Dec 2, 2018
dcff4c9
Add comment for reasoning for changing default
Dec 3, 2018
3ef71f2
ONME-4007: Fix mbed_lib link from ESP8266 Readme.md
Dec 3, 2018
9325ed9
Setting K64F to use KVStore FileSystem configuration
Dec 2, 2018
ed782f5
Fix bootloader build region generation and add support for bootloader…
Sep 4, 2018
319b3d6
Review fixes for bootloader region generation
Sep 13, 2018
73ddffd
Review fixes 2 for bootloader region generation
Sep 17, 2018
e33706c
Remove max_app_addr checking from .hex
simosillankorva Oct 5, 2018
b2e4c44
tools: process bootloader chunks
Oct 29, 2018
3f9327b
tools: update build_api and __init__ as per review comments
Nov 5, 2018
c8de1ae
tools: Update build_api padding method
Nov 7, 2018
f7a114e
tools: Update build_api
Nov 8, 2018
2fdec72
tools: fix up build_api padding logic and clean up unused code
Nov 9, 2018
5d96c9b
Coverity fixes. These issues has been found by coverity.
KariHaapalehto Dec 4, 2018
749fd4d
Update Ticker wrapper to handle early interrupts
c1728p9 Dec 3, 2018
31eff13
Fixing Doxygen descriptions
Nov 25, 2018
bbea6ed
Edit FileSystemStore.h
Dec 4, 2018
cafce10
Add word to KVMap.h
Dec 4, 2018
053212b
Edit SecureStore.h
Dec 4, 2018
81296b3
Edit TDBStore.h
Dec 4, 2018
59a59eb
Fix rare NRF52 serial TX lockup
c1728p9 Nov 29, 2018
68c3d6c
Correct behavior of PSA code generator
Dec 4, 2018
6ff271b
STM32L4 TRNG:Remove trng clock setting for L4 devices
bcostm Nov 26, 2018
d3610d5
memap.py: Cope with IAR 8 linker map
kjbracey Dec 5, 2018
dc47e70
STM32 RTC update for easy maintenance
jeromecoutant Nov 22, 2018
eb75ac9
STM32 SLEEP update for easy maintenance
jeromecoutant Nov 23, 2018
2a65eac
STM32 mbed_sdk_init update for easy maintenance
jeromecoutant Nov 23, 2018
c154da4
STM32 LPTIM update for easy maintenance
jeromecoutant Nov 23, 2018
f9742e9
Cellular: updated doxygen for CellularContext and CellularDevice.
Nov 23, 2018
faab478
Cellular: add Callback functionality to CellularDevice.
Nov 27, 2018
3892105
Edit CellularDevice.h
Dec 6, 2018
7a2d04e
Edit CellularContext.h
Dec 6, 2018
6390fb8
Fix for static resource manager.
lrusinowicz Dec 7, 2018
8d218d2
Missing socket greentea tests implementation
michalpasztamobica Dec 6, 2018
eae72ef
Apply GitHub style to exporter matrix
Dec 6, 2018
1faadae
Removed "ALL" from PrettyTable import
Dec 6, 2018
2ec7bdd
Tests: Stream: Add more test cases
Dec 10, 2018
aa42121
Fix: Stream: Replace fflush() with fseek()
Dec 10, 2018
b5c4dd5
Tests: Stream: Use a quote from C99 spec
Dec 10, 2018
1aec829
UL FCnt increment in case of retry exhaustion
Nov 20, 2018
cade713
Mitigating reception problems with lower data rates
Nov 27, 2018
1f3a1b5
Style alignment
Nov 27, 2018
e34f860
Updating get_rx_window_params() API in stubs
Nov 27, 2018
eb69d27
RX window calculation algorithm version 2
Nov 28, 2018
040a4a3
Final cleanup and ASCII art for algorithm v2
Dec 7, 2018
9b002de
Unit test fix
Dec 10, 2018
5ba3444
Removed rabbitmq fix from travis.yml Upstream fix has been applied by…
Dec 11, 2018
bf681b0
Style fixes
Nov 15, 2018
18d544b
Return not supported for internal process function
Nov 28, 2018
1b8b00e
Add core option for Cortex-M33 with DSP enabled
Dec 6, 2018
4083c5e
Add NUCLEO_L4R5ZI_P
jeromecoutant Dec 7, 2018
23b2546
STM32L4: correct RNG clock source
jeromecoutant Dec 10, 2018
c1ef30e
BLE: Update toolchain.h with mbed_toolchain.h
Dec 10, 2018
3e9e3e7
travis: add license
0xc0170 Dec 11, 2018
f2aa32d
travis: use https for fetching astyle package
0xc0170 Dec 11, 2018
42b3427
mbed_fault_handler: fix build warning
Dec 11, 2018
dbb97ce
fix: Merge duplicate 'overrides' keys in targets.json config file
Dec 11, 2018
4d2f662
Fix test-netsocket-tcp greentea test build fails. main.cpp was missin…
KariHaapalehto Dec 11, 2018
35ce1e5
Modify enet_tasklet.h Change enet_tasklet_network_init() and enet_tas…
KariHaapalehto Dec 10, 2018
42f6d63
Capitalization and punctuation
Dec 12, 2018
8c856f3
Add Mbed OS 5 support
toyowata Nov 21, 2018
2ad42c8
Add network-default-interface-type and remove comment
Dec 7, 2018
40712e6
Extend W7500x target with ADC 6 and 7
vervaekejonathan Dec 12, 2018
79103d2
Improve tests by reducing kvstore reset occurrences
theamirocohen Dec 13, 2018
b261162
Remove dead code
theamirocohen Dec 13, 2018
b6c98a9
ublox c030 pinName updated
Dec 12, 2018
0669a02
Favor QSPI Bus mode 1-4-4 over QPI QPI may have slightly better perfo…
Dec 11, 2018
1033ddf
Fix max_keys reset limitation
theamirocohen Dec 12, 2018
2f47b5b
Cellular: Rewrite AT handler consume to tag
Dec 11, 2018
51b0fdf
fixed wrong __StackTop calculation
JojoS62 Dec 5, 2018
1bbf8af
Cellular: Refactored GEMALTO_CINTERION_Module to GEMALTO_CINTERION
Nov 26, 2018
7938cc0
update unittesting documentation
lorjala Nov 20, 2018
a88f9bb
Editorial changes
Dec 13, 2018
43f09b8
writes and reads queue, not overflow stack IOTPAN-295
ConradBraam Nov 19, 2018
2d9a5f4
removed include statement
ConradBraam Nov 28, 2018
aaed845
removed abc insanity
ConradBraam Nov 28, 2018
a3d2618
Cellular: Fix to use PPP stack in PPP mode
Dec 14, 2018
018f72d
STM32 : removed unused QSPI pin names
jeromecoutant Sep 4, 2018
356d575
NUCLEO_F746ZG : no embedded QSPI
jeromecoutant Sep 4, 2018
da806bd
STM32 DISCO : enable QSPI tests when available
jeromecoutant Sep 4, 2018
c0ad462
STM32F769 : add QSPI definition
jeromecoutant Sep 26, 2018
41cd8b3
STM32L496 : add QSPI definition
jeromecoutant Sep 26, 2018
2514a71
Enable QSPI for DISCO F769 and L496
jeromecoutant Nov 27, 2018
5a27a9a
STM32 QSPI: frequency calculation update
jeromecoutant Nov 27, 2018
0d9ea35
QSPI tests: update STM32 boards configuration
jeromecoutant Nov 27, 2018
6246959
STM32 QSPIF: add DISCO_L496AG, DISCO_F746NG and DISCO_F769NI
jeromecoutant Nov 28, 2018
ac0fb3c
STM32 QSPI: remove QUADSPI_BK2 as dual bank feature is not supported
jeromecoutant Nov 28, 2018
0c4d7d4
STM32L4 QSPI: correct register address
jeromecoutant Dec 12, 2018
c401662
Rework fseek/ftell tests
kjbracey Oct 30, 2018
a4a00ff
Fixing execution of OS2 tests
bridadan Dec 14, 2018
45e7296
Add some rounding to determine the pulse value for PWM for the STM ta…
LaurentLouf Dec 14, 2018
d77f2c4
Align prototype & implementation of enet_tasklet_disconnect & friends
deece Dec 14, 2018
0a4cb3c
Update to add support for Cortex-M33FD
mmahadevan108 Dec 13, 2018
d6f2219
Adjust FAT FS tests to low memory boards
Sep 12, 2018
c8e8912
CM3: Make ACTLR bit definitions conditional
kjbracey Dec 13, 2018
b1c23ac
Disable write buffer in debug builds (M3/M4)
kjbracey Nov 6, 2018
2c3b420
Intervaltree version update (3.0.0) caused builds to break. Capping v…
Dec 17, 2018
da62237
Rapid-IoT: Add support for the KW41Z side of the platform
mmahadevan108 Nov 27, 2018
637499c
Add socket stat logging state change update
kegilbert Dec 13, 2018
3ca58fd
Prevent multiple __aeabi_atexit definition linker error (GCC_ARM)
fluidblue Dec 17, 2018
3663fe5
Prevent multiple __aeabi_atexit definition linker error (GCC_CR)
fluidblue Dec 17, 2018
81c6402
Removed GCC_CR toolchain for LPC11U68
fluidblue Dec 17, 2018
1853db6
Realtek-rtl8195am-Network Socket Updates
AdamZhang0124 Dec 13, 2018
64f2d5e
Fix wrong PIN config for RTL8195AM platform
fredlee12001 Dec 11, 2018
c7ced9b
Initialize the interface at the construction and make sure that it's …
KariHaapalehto Dec 5, 2018
71d32ec
Support boot stack size configuration option
ccli8 Dec 12, 2018
a4ec280
Change main thread stack size to default for stack size unification
ccli8 Dec 18, 2018
3da0d3c
WIFI test: improve debug messages
jeromecoutant Dec 17, 2018
53e39ed
Fix ESP8266 "Link Type" errors after reset
c1728p9 Dec 17, 2018
6f6cdc9
DNS tests: improve debug messages
jeromecoutant Dec 17, 2018
bfc3d85
Use MPU platform deinit rather than hal free
c1728p9 Dec 11, 2018
4f9b258
Fix MPU synchronisation
kjbracey Dec 11, 2018
6045136
Reduce dynamic MPU code size with a loop
kjbracey Dec 11, 2018
263129a
MPU - use higher-level calls, fix ARMv8-M error
kjbracey Dec 11, 2018
4e992a3
Assert MPU regions, rather than error
kjbracey Dec 12, 2018
767c7f6
ARMv7-M MPU: correctly protect 80000000 RAM region
kjbracey Dec 12, 2018
342eed5
Fix target.mpu-rom-end setting, for ARMv8-M too
kjbracey Dec 12, 2018
204a568
nRF52840: Set mpu-rom-end to 0x1fffffff
kjbracey Dec 12, 2018
2ad952d
Update MPU ram/rom split for Nuvoton M2351
c1728p9 Dec 18, 2018
5fc51b8
Fix return error code when ECC H/W acceleratioin is failed
ccli8 Dec 5, 2018
cfd8823
Fix crypto AC management
ccli8 Dec 5, 2018
187af9e
Update the CC310 IAR libraries
Dec 17, 2018
9db8753
Update the CC310 ARM libraries
Dec 17, 2018
83ac6bd
Update the CC310 GCC_ARM libraries
Dec 18, 2018
6ba60e3
Update the CC310 readme file
Dec 17, 2018
977f84b
Fixing merge issue for merge into master.
lrusinowicz Dec 19, 2018
c06492c
Updated default M0 image to not modify UDB configuration when comming…
lrusinowicz Dec 19, 2018
2ce2dab
github: add reviewers to the PR template
0xc0170 Dec 19, 2018
35b7a06
Make minor change in pull_request_template.md
Dec 19, 2018
f5577c0
STM32 RTC : skip rtc_write if possible
jeromecoutant Nov 16, 2018
355807c
STM32 LPTICKER with RTC : optimise sleep duration
jeromecoutant Nov 16, 2018
5cff9ce
NRF52840_DK: QSPI check Read/Write WORD alignment, and properly set c…
j3hill Nov 21, 2018
afb504e
Check correct ARMC6 predefine for FP codegen
kjbracey Dec 19, 2018
67ba976
Fix FLASHIAP_ROM_END macro for GCC_ARM & IAR toolchains
Dec 18, 2018
1cb1a49
Fix BLE long write execution failure
desmond-blue Dec 18, 2018
93fed52
Remove #ifdefs for DEVICE_SERIAL & friends
deece Dec 4, 2018
5b29b7e
Don't use define checks on DEVICE_FOO macros (mbed code)
deece Dec 19, 2018
2a5e2a7
Ublox C030 ADC internal channels added
mudassar-ublox Dec 20, 2018
934f4f1
Drop MBED_EXTENTED_TESTS flagging from network tests.
Dec 19, 2018
c0226fe
Fix LTO build failures due to duplicate local types
Dec 19, 2018
ae3a666
STM32: update LPTICKER_DELAY_TICKS for LPTIM targets
jeromecoutant Dec 17, 2018
d847d57
STM32 : Enable TICKLESS for targets with LPTIM
jeromecoutant Jun 18, 2018
e06b786
STM32F429/STM32F439 alignment
jeromecoutant Nov 28, 2018
fa39d6f
Old pointers of sibling were not cleared
Dec 18, 2018
dabd15f
Corrected destructor loop to clear all pending events
Dec 19, 2018
2c5ae4a
Added test case for verification
Dec 19, 2018
c04cd4e
Disable printf in crash reporting for release builds
SenRamakri Dec 20, 2018
a332a90
MTB_ODIN_v2_fixes
Dec 20, 2018
f2941e0
Fix to unit test losing process output due to timing issue
Dec 20, 2018
2e37764
Revert "STM32 RTC : skip rtc_write if possible"
kjbracey Dec 21, 2018
05c2beb
Bug fix for UART issue on LPC54608 - issue #7398
dreemkiller Dec 3, 2018
458e79a
Fix NUC472 hard fault in SMCC tests
cyliangtw Dec 20, 2018
3502fad
Add platform TT_M3HQ
ThunderSoft123 Nov 20, 2018
803458a
Update us_ticker.c
ThunderSoft123 Nov 27, 2018
ef4e0a4
Update mbed_rtx.h
ThunderSoft123 Nov 30, 2018
2d438f7
Update PeripheralNames.h
ThunderSoft123 Dec 3, 2018
3d64103
Update PinNames.h
ThunderSoft123 Dec 3, 2018
e0acd54
Update PortNames.h
ThunderSoft123 Dec 3, 2018
a92241e
Update analogin_api.c
ThunderSoft123 Dec 3, 2018
e175741
Update analogout_api.c
ThunderSoft123 Dec 3, 2018
18d4526
Update device.h
ThunderSoft123 Dec 3, 2018
1140b04
Update gpio_api.c
ThunderSoft123 Dec 3, 2018
b30733c
Update gpio_object.h
ThunderSoft123 Dec 3, 2018
dabca5d
Update i2c_api.c
ThunderSoft123 Dec 3, 2018
863dd72
Update objects.h
ThunderSoft123 Dec 3, 2018
6b10e89
Update pinmap.c
ThunderSoft123 Dec 3, 2018
f00c55f
Update port_api.c
ThunderSoft123 Dec 3, 2018
540b5cf
Update pwmout_api.c
ThunderSoft123 Dec 3, 2018
bdd3895
Update sleep.c
ThunderSoft123 Dec 3, 2018
9226dd7
Update spi_api.c
ThunderSoft123 Dec 3, 2018
a55bd70
Update us_ticker.c
ThunderSoft123 Dec 3, 2018
236ed80
Set __ICFEDIT_size_cstack__ =1k
ThunderSoft123 Dec 14, 2018
37d0665
Fix Expecting object
ThunderSoft123 Dec 21, 2018
38611bb
Add MPU to fix CI failed
ThunderSoft123 Dec 21, 2018
bb98e72
Update Mbed version block
Dec 28, 2018
24546f7
Add GD32F307VG
ChazJin Oct 17, 2018
5a16ea4
Re add target support for GD32F307VG
ChazJin Nov 13, 2018
f6e0391
Delete added information (GD32F307VG)
ChazJin Nov 13, 2018
89344aa
Add EMAC driver for GD32_F307VG
ChazJin Nov 13, 2018
14ea9c3
Update licence
ChazJin Nov 13, 2018
ec04269
Update licence
ChazJin Nov 13, 2018
ee5023c
Update licence
ChazJin Nov 13, 2018
8b9cfba
Delete a button definition
ChazJin Nov 15, 2018
4fd14ca
Add it to replace startup_gd32f30x_cl.s
ChazJin Nov 16, 2018
a7cef57
Delete startup_gd32f30x_cl.s
ChazJin Nov 16, 2018
5fc4ba7
Add it to replace startup_gd32f30x_cl.s
ChazJin Nov 16, 2018
35407f5
Add it to replace startup_gd32f30x_cl.s
ChazJin Nov 16, 2018
fb10a3a
Add it to replace startup_gd32f30x_cl.s
ChazJin Nov 16, 2018
6c123c4
Delete startup_gd32f30x_cl.s
ChazJin Nov 16, 2018
9c3bf46
Delete startup_gd32f30x_cl.s
ChazJin Nov 16, 2018
ff758c7
Delete startup_gd32f30x_cl.s
ChazJin Nov 16, 2018
fc86ddb
Add GD32F307VG
ChazJin Oct 17, 2018
08b4915
Re add target support for GD32F307VG
ChazJin Nov 13, 2018
b5a4c0c
Delete added information (GD32F307VG)
ChazJin Nov 13, 2018
5b8da28
Update licence
ChazJin Nov 13, 2018
2d92ea6
Update licence
ChazJin Nov 13, 2018
e950216
Delete a button definition
ChazJin Nov 15, 2018
0470873
Delete startup_gd32f30x_cl.s
ChazJin Nov 18, 2018
6b542c2
Delete startup_gd32f30x_cl.s
ChazJin Nov 18, 2018
27a39f5
Delete startup_gd32f30x_cl.s
ChazJin Nov 18, 2018
8c35542
Delete startup_gd32f30x_cl.s
ChazJin Nov 18, 2018
1029821
Add SPDX identifier
ChazJin Nov 21, 2018
0769802
Add SPDX identifier for GD EMAC driver
ChazJin Nov 21, 2018
44cd38c
Style Format for GD32F30x standard peripheral files
ChazJin Dec 7, 2018
bd6622b
Manually resolved unresolved patches
Dec 28, 2018
55fe712
Correct improper merge resolution.
Dec 28, 2018
35f9ab0
Manually resolved GigaDevice target addition.
Dec 31, 2018
3eab2b6
Added files missed with patch application
Jan 1, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,10 @@
[ ] Test update
[ ] Breaking change

### Reviewers

<!--
Optional
Request additional reviewers with @username
-->

20 changes: 17 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Copyright (c) 2013-2018 Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the License); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

language: python
python: 2.7

Expand Down Expand Up @@ -30,8 +46,6 @@ before_install:
# Setup ppa to make sure arm-none-eabi-gcc is correct version
- sudo add-apt-repository -y ppa:team-gcc-arm-embedded/ppa
- sudo add-apt-repository -y ppa:deadsnakes/ppa
# import the new keys for rabbitmq (fix for https://github.com/ARMmbed/mbed-os/issues/8945)
- curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.deb.sh | sudo bash
# Loop until update succeeds (timeouts can occur)
- travis_retry $(! sudo apt-get update 2>&1 |grep Failed)

Expand Down Expand Up @@ -120,7 +134,7 @@ matrix:
- env:
- NAME=astyle
install:
- curl -L0 http://mbed-os.s3-eu-west-1.amazonaws.com/builds/deps/astyle_3.1_linux.tar.gz --output astyle.tar.gz;
- curl -L0 https://mbed-os.s3-eu-west-1.amazonaws.com/builds/deps/astyle_3.1_linux.tar.gz --output astyle.tar.gz;
mkdir -p BUILD && tar xf astyle.tar.gz -C BUILD;
pushd BUILD/astyle/build/gcc;
make;
Expand Down
8 changes: 4 additions & 4 deletions TESTS/mbed_drivers/flashiap/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ void flashiap_program_test()
// the one before the last sector in the system
uint32_t address = (flash_device.get_flash_start() + flash_device.get_flash_size()) - (sector_size);
TEST_ASSERT_TRUE(address != 0UL);
utest_printf("ROM ends at 0x%lx, test starts at 0x%lx\n", FLASHIAP_ROM_END, address);
TEST_SKIP_UNLESS_MESSAGE(address >= FLASHIAP_ROM_END, "Test skipped. Test region overlaps code.");
utest_printf("ROM ends at 0x%lx, test starts at 0x%lx\n", FLASHIAP_APP_ROM_END_ADDR, address);
TEST_SKIP_UNLESS_MESSAGE(address >= FLASHIAP_APP_ROM_END_ADDR, "Test skipped. Test region overlaps code.");

ret = flash_device.erase(address, sector_size);
TEST_ASSERT_EQUAL_INT32(0, ret);
Expand Down Expand Up @@ -128,7 +128,7 @@ void flashiap_cross_sector_program_test()
agg_size += sector_size;
address -= sector_size;
}
TEST_SKIP_UNLESS_MESSAGE(address >= FLASHIAP_ROM_END, "Test skipped. Test region overlaps code.");
TEST_SKIP_UNLESS_MESSAGE(address >= FLASHIAP_APP_ROM_END_ADDR, "Test skipped. Test region overlaps code.");
ret = flash_device.erase(address, agg_size);
TEST_ASSERT_EQUAL_INT32(0, ret);

Expand Down Expand Up @@ -184,7 +184,7 @@ void flashiap_program_error_test()
TEST_ASSERT_TRUE(address != 0UL);

// unaligned address
TEST_SKIP_UNLESS_MESSAGE(address >= FLASHIAP_ROM_END, "Test skipped. Test region overlaps code.");
TEST_SKIP_UNLESS_MESSAGE(address >= FLASHIAP_APP_ROM_END_ADDR, "Test skipped. Test region overlaps code.");
ret = flash_device.erase(address + 1, sector_size);
TEST_ASSERT_EQUAL_INT32(-1, ret);
if (flash_device.get_page_size() > 1) {
Expand Down
106 changes: 106 additions & 0 deletions TESTS/mbed_hal/qspi/flash_configs/MX25L51245G_config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
/* mbed Microcontroller Library
* Copyright (c) 2018-2018 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef MBED_QSPI_FLASH_MX25L51245G_H
#define MBED_QSPI_FLASH_MX25L51245G_H


#define QSPI_FLASH_CHIP_STRING "macronix MX25L51245G"

// Command for reading status register
#define QSPI_CMD_RDSR 0x05
// Command for reading configuration register
#define QSPI_CMD_RDCR0 0x15
// Command for writing status/configuration register
#define QSPI_CMD_WRSR 0x01
// Command for reading security register
#define QSPI_CMD_RDSCUR 0x2B

// Command for setting Reset Enable
#define QSPI_CMD_RSTEN 0x66
// Command for setting Reset
#define QSPI_CMD_RST 0x99

// Command for setting write enable
#define QSPI_CMD_WREN 0x06
// Command for setting write disable
#define QSPI_CMD_WRDI 0x04

// WRSR operations max time [us] (datasheet max time + 15%)
#define QSPI_WRSR_MAX_TIME 34500 // 30ms
// general wait max time [us]
#define QSPI_WAIT_MAX_TIME 100000 // 100ms


// Commands for writing (page programming)
#define QSPI_CMD_WRITE_1IO 0x02 // 1-1-1 mode
#define QSPI_CMD_WRITE_4IO 0x38 // 1-4-4 mode

// write operations max time [us] (datasheet max time + 15%)
#define QSPI_PAGE_PROG_MAX_TIME 11500 // 10ms

#define QSPI_PAGE_SIZE 256 // 256B
#define QSPI_SECTOR_SIZE 4096 // 4kB
#define QSPI_SECTOR_COUNT 2048 //

// Commands for reading
#define QSPI_CMD_READ_1IO_FAST 0x0B // 1-1-1 mode
#define QSPI_CMD_READ_1IO 0x03 // 1-1-1 mode
#define QSPI_CMD_READ_2IO 0xBB // 1-2-2 mode
#define QSPI_CMD_READ_1I2O 0x3B // 1-1-2 mode
#define QSPI_CMD_READ_4IO 0xEB // 1-4-4 mode
#define QSPI_CMD_READ_1I4O 0x6B // 1-1-4 mode

#define QSPI_READ_1IO_DUMMY_CYCLE 0
#define QSPI_READ_FAST_DUMMY_CYCLE 8
#define QSPI_READ_2IO_DUMMY_CYCLE 4
#define QSPI_READ_1I2O_DUMMY_CYCLE 8
#define QSPI_READ_4IO_DUMMY_CYCLE 6
#define QSPI_READ_1I4O_DUMMY_CYCLE 8

// Commands for erasing
#define QSPI_CMD_ERASE_SECTOR 0x20 // 4kB
#define QSPI_CMD_ERASE_BLOCK_32 0x52 // 32kB
#define QSPI_CMD_ERASE_BLOCK_64 0xD8 // 64kB
#define QSPI_CMD_ERASE_CHIP 0x60 // or 0xC7

// erase operations max time [us] (datasheet max time + 15%)
#define QSPI_ERASE_SECTOR_MAX_TIME 480000 // 400 ms
#define QSPI_ERASE_BLOCK_32_MAX_TIME 1200000 // 1s
#define QSPI_ERASE_BLOCK_64_MAX_TIME 2400000 // 2s

// max frequency for basic rw operation (for fast mode)
#define QSPI_COMMON_MAX_FREQUENCY 32000000

#define QSPI_STATUS_REG_SIZE 1
#define QSPI_CONFIG_REG_0_SIZE 2
#define QSPI_SECURITY_REG_SIZE 1
#define QSPI_MAX_REG_SIZE 2

// status register
#define STATUS_BIT_WIP (1 << 0) // write in progress bit
#define STATUS_BIT_WEL (1 << 1) // write enable latch
#define STATUS_BIT_BP0 (1 << 2) //
#define STATUS_BIT_BP1 (1 << 3) //
#define STATUS_BIT_BP2 (1 << 4) //
#define STATUS_BIT_BP3 (1 << 5) //
#define STATUS_BIT_QE (1 << 6) // Quad Enable
#define STATUS_BIT_SRWD (1 << 7) // status register write protect

// configuration register 0
// bit 0, 1, 2, 4, 5, 7 reserved
#define CONFIG0_BIT_TB (1 << 3) // Top/Bottom area protect

#endif // MBED_QSPI_FLASH_MX25L51245G_H
34 changes: 30 additions & 4 deletions TESTS/mbed_hal/qspi/flash_configs/flash_configs.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,45 @@
#define MBED_FLASH_CONFIGS_H

#if defined(TARGET_DISCO_L475VG_IOT01A)
#include "STM/DISCO_L475VG_IOT01A/flash_config.h"
#include "MX25RXX35F_config.h" // MX25R6435F

#elif defined(TARGET_DISCO_F413ZH)
#include "N25Q128A_config.h" // N25Q128A13EF840F

#elif defined(TARGET_DISCO_F746NG)
#include "N25Q128A_config.h" // N25Q128A13EF840E

#elif defined(TARGET_DISCO_F469NI)
#include "N25Q128A_config.h" // N25Q128A13EF840E

#elif defined(TARGET_DISCO_F769NI)
#include "MX25L51245G_config.h" // MX25L51245G

#elif defined(TARGET_DISCO_L476VG)
#include "N25Q128A_config.h" // N25Q128A13EF840E
/* See STM32L476 Errata Sheet, it is not possible to use Dual-/Quad-mode for the command phase */
#undef QSPI_CMD_READ_DPI
#undef QSPI_CMD_READ_QPI
#undef QSPI_CMD_WRITE_DPI
#undef QSPI_CMD_WRITE_QPI

#elif defined(TARGET_DISCO_L496AG)
#include "MX25RXX35F_config.h" // MX25R6435F

#elif defined(TARGET_NRF52840)
#include "NORDIC/NRF52840_DK/flash_config.h"
#elif defined(TARGET_DISCO_F413ZH)
#include "STM/DISCO_F413ZH/flash_config.h"

#elif defined(TARGET_EFM32GG11_STK3701)
#include "SiliconLabs/EFM32GG11_STK3701/flash_config.h"

#elif defined(TARGET_K82F)
#include "NXP/K82F/flash_config.h"

#elif defined(TARGET_KL82Z)
#include "NXP/KL82Z/flash_config.h"

#elif defined(TARGET_LPC546XX)
#include "NXP/LPC546XX/flash_config.h"
#endif

#endif
#endif // MBED_FLASH_CONFIGS_H
2 changes: 1 addition & 1 deletion TESTS/mbed_hal/sleep/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ void sleep_usticker_test()
TEST_ASSERT_TRUE(sleep_manager_can_deep_sleep());
}

#ifdef DEVICE_LPTICKER
#if DEVICE_LPTICKER

/* Test that wake-up time from sleep should be less than 10 ms and
* low power ticker interrupt can wake-up target from sleep. */
Expand Down
2 changes: 1 addition & 1 deletion TESTS/mbed_hal/sleep/sleep_test_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void us_ticker_isr(const ticker_data_t *const ticker_data)
us_ticker_clear_interrupt();
}

#ifdef DEVICE_LPTICKER
#if DEVICE_LPTICKER
void lp_ticker_isr(const ticker_data_t *const ticker_data)
{
lp_ticker_clear_interrupt();
Expand Down
34 changes: 14 additions & 20 deletions TESTS/mbed_platform/FileHandle/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,17 +384,15 @@ void test_fprintf_fscanf()

/** Test fseek and ftell
*
* Given already opened file is empty
*
* When set the file position indicator via fseek
* Then underneath retargeting layer seek function is called
* fseek return with succeed and ftell return already set position
* ARM library is quite good at optimising out unnecessary calls to underlying
* seek, so only test real non empty files.
*
* Given already opened file is not empty
*
* When set the file position indicator via fseek
* Then underneath retargeting layer seek function is called
* fseek return with succeed and ftell return already set position
* Check actual character read or written.
*
*/
void test_fseek_ftell()
Expand All @@ -413,19 +411,6 @@ void test_fseek_ftell()
ftell_ret = std::ftell(file);
TEST_ASSERT_EQUAL(0, ftell_ret);

TestFile<FS>::resetFunctionCallHistory();
fssek_ret = std::fseek(file, 0, SEEK_CUR);
TEST_ASSERT_EQUAL(0, fssek_ret);

TestFile<FS>::resetFunctionCallHistory();
fssek_ret = std::fseek(file, 0, SEEK_SET);
TEST_ASSERT_EQUAL(0, fssek_ret);

TestFile<FS>::resetFunctionCallHistory();
fssek_ret = std::fseek(file, 0, SEEK_END);
TEST_ASSERT_TRUE(TestFile<FS>::functionCalled(TestFile<FS>::fnSeek));
TEST_ASSERT_EQUAL(0, fssek_ret);

const char *str = "Hello world";
const std::size_t size = std::strlen(str);

Expand All @@ -440,19 +425,28 @@ void test_fseek_ftell()
TEST_ASSERT_EQUAL(0, fssek_ret);
ftell_ret = std::ftell(file);
TEST_ASSERT_EQUAL(5, ftell_ret);
int c = std::fgetc(file);
TEST_ASSERT_TRUE(TestFile<FS>::functionCalled(TestFile<FS>::fnRead));
TEST_ASSERT_EQUAL(c, str[5]);

TestFile<FS>::resetFunctionCallHistory();
fssek_ret = std::fseek(file, -5, SEEK_CUR);
fssek_ret = std::fseek(file, -6, SEEK_CUR);
TEST_ASSERT_EQUAL(0, fssek_ret);
ftell_ret = std::ftell(file);
TEST_ASSERT_EQUAL(0, ftell_ret);
c = std::fgetc(file);
TEST_ASSERT_TRUE(TestFile<FS>::functionCalled(TestFile<FS>::fnRead));
TEST_ASSERT_EQUAL(c, str[0]);

TestFile<FS>::resetFunctionCallHistory();
fssek_ret = std::fseek(file, 0, SEEK_END);
TEST_ASSERT_TRUE(TestFile<FS>::functionCalled(TestFile<FS>::fnSeek));
TEST_ASSERT_EQUAL(0, fssek_ret);
ftell_ret = std::ftell(file);
TEST_ASSERT_EQUAL(size, ftell_ret);
c = std::fputc('!', file);
TEST_ASSERT_TRUE(TestFile<FS>::functionCalled(TestFile<FS>::fnWrite));
TEST_ASSERT_EQUAL(c, '!');
TEST_ASSERT_EQUAL(fh.size(), size + 1);

std::fclose(file);
}
Expand Down
Loading