Commit Graph

21311 Commits (ae17f6ebba1ee60ac321cf278d5cf84f5408cca4)

Author SHA1 Message Date
Kevin Bracey ae17f6ebba Add FileHandle::truncate and ftruncate
Add support for file truncation (or extension) to the abstract API.

No hooks to actual implementations in this commit.
2018-12-14 19:29:28 +02:00
Kevin Bracey ff7a316a32 Rework fseek/ftell tests
ARM C library is really good at optimising out calls to underlying
seek. The only ones we were actually detecting in the empty file case
were the ones that the default FileHandle::size() made itself during
the SEEK_END case.

When we implement TestFile::size() directly, we will no longer see
a single seek call from the ARM C library in the empty file case, so
remove those tests.

Beef up the non-empty file case, adding checks that we are making
underlying read+write calls in the correct position, as a proxy for
direct checks for underlying seek being called.
2018-12-14 19:29:27 +02:00
Cruz Monrreal 27e1bc30dc
Merge pull request #9073 from vervaekejonathan/master
W7500x target ADC 6 and 7 not implemented
2018-12-12 18:46:21 -06:00
Cruz Monrreal f196942446
Merge pull request #8831 from toyowata/dev-arch_max
[Seeed Arch MAX] Add Mbed OS 5 support
2018-12-12 17:04:50 -06:00
Cruz Monrreal d53553e10d
Merge pull request #9034 from KariHaapalehto/enet_tasklet_definitions
Change enet_tasklet declarations to match code
2018-12-12 17:03:43 -06:00
Cruz Monrreal 34007bb6a2
Merge pull request #9049 from KariHaapalehto/fix_tests_netsocket_tcp
Fix test-netsocket-tcp greentea test build fails.
2018-12-12 17:02:23 -06:00
Cruz Monrreal fda9f2ee2a
Merge pull request #9060 from scartmell-arm/fix-duplicate-keys-in-targets-json
Fix duplicate 'overrides' keys in targets.json config file
2018-12-12 17:02:05 -06:00
Cruz Monrreal d8be78b84b
Merge pull request #9063 from naveenkaje/fix_fault_handler_warning
mbed_fault_handler: fix build warning
2018-12-12 17:01:13 -06:00
Cruz Monrreal 4e52240052
Merge pull request #9036 from c1728p9/rt1050_fix
Disable MPU on RT1050 due to memory map
2018-12-12 16:55:30 -06:00
vervaekejonathan 70ab75704f
Extend W7500x target with ADC 6 and 7 2018-12-12 16:23:06 +01:00
Martin Kojtal e3b03e0404
Merge pull request #9055 from 0xc0170/dev_travis_astyle_https
travis: use https for fetching astyle package
2018-12-12 14:46:51 +01:00
Martin Kojtal 7c5cffb78a
Merge pull request #9047 from 0xc0170/dev_travis_license
travis: add license
2018-12-12 14:46:32 +01:00
Martin Kojtal fa3212abee
Merge pull request #9037 from naveenkaje/fix_ble_build_warning
BLE: Update toolchain.h with mbed_toolchain.h
2018-12-12 14:46:17 +01:00
Martin Kojtal 7cd01266a9
Merge pull request #9035 from jeromecoutant/PR_L4TRNG
STM32L4: correct RNG clock source
2018-12-12 14:45:40 +01:00
Martin Kojtal 45215c2ffa
Merge pull request #9008 from jeromecoutant/PR_NUCLEO_L4R5ZI_P
Add NUCLEO_L4R5ZI_P target
2018-12-12 14:44:22 +01:00
Martin Kojtal 93da33f151
Merge pull request #8995 from NXPmicro/Update_for_M33_FD
Add core option for Cortex-M33 with DSP enabled
2018-12-12 14:43:43 +01:00
Martin Kojtal 985afb8027
Merge pull request #8728 from RonEld/cryptocell_sha_alt_fixes
Fix issues in Cryptocell 310 shax_alt discovered by On Target Testing
2018-12-12 14:43:06 +01:00
Martin Kojtal c387fec36b
Merge pull request #8725 from ChazJin/master
Add support for GD32F307VG
2018-12-12 14:42:20 +01:00
Mel W 8de7a36061
Capitalization and punctuation 2018-12-12 11:38:10 +02:00
Naveen Kaje 091010e9a2 mbed_fault_handler: fix build warning
Fixes warning

BUILD\NRF52840_DK\GCC_ARM\mbed-os\cmsis\TARGET_CORTEX_M\mbed_fault_handler.o
.\mbed-os\cmsis\TARGET_CORTEX_M\mbed_fault_handler.c
[Warning] mbed_fault_handler.c@149,5: implicit declaration
of function 'memcpy' [-Wimplicit-function-declaration]
2018-12-11 14:59:36 -06:00
Cruz Monrreal 0a832dd6e0
Merge pull request #9051 from michalpasztamobica/esp8266_busy_signal
ESP8266 send returns WOULD_BLOCK error when busy
2018-12-11 14:47:46 -06:00
Cruz Monrreal f5fdbffbe7
Merge pull request #9020 from c1728p9/enable_mpu
Revert "Turn off MPU on targets failing OOB"
2018-12-11 13:07:49 -06:00
Cruz Monrreal 59ac1bb3fa
Merge pull request #9025 from tz-arm/mbed-os-5.11.0-oob_fix_fault_exception_issue
Mbed os 5.11.0 oob: fix fault exception issue
2018-12-11 11:46:19 -06:00
Michal Paszta d6e385b330 ESP8266 send returns WOULD_BLOCK error when busy 2018-12-11 17:48:37 +01:00
Steve Cartmell 8c541465ed fix: Merge duplicate 'overrides' keys in targets.json config file 2018-12-11 16:19:06 +00:00
Cruz Monrreal 7546186458
Merge pull request #9040 from c1728p9/disable_mpu_config
Add a platform config to disable the MPU
2018-12-11 09:45:49 -06:00
Martin Kojtal 08d1127729
Merge pull request #8959 from VeijoPesonen/feature-esp8266_reset_pin
[ESP8266] Adds support for controlling HW reset of the modem from the…
2018-12-11 15:37:10 +01:00
Martin Kojtal dba7f6eacc travis: use https for fetching astyle package 2018-12-11 13:43:56 +00:00
Martin Kojtal 85a741ec78
Merge pull request #9043 from cmonr/remove-rabbitmq-fix
Removed rabbitmq fix from travis.yml
2018-12-11 12:30:44 +01:00
Kevin Bracey 770baa22ea Rework MPU use option
Make the option positively named, and as it is a platform config
option make sure it only affects platform code.

HAL functions still remain available even if platform is told not
to use them.
2018-12-11 13:03:59 +02:00
Russ Butler 2af6642f68 Add a platform config to disable the MPU
Add the platform config DISABLE_MPU to allow the MPU to be disabled
from an application.
2018-12-11 13:03:58 +02:00
Kari Haapalehto e502675bd1 Fix test-netsocket-tcp greentea test build fails.
main.cpp was missing comma at the end of line.
2018-12-11 12:51:30 +02:00
Martin Kojtal 49a8cb809d travis: add license 2018-12-11 09:16:12 +00:00
Terence Zhang cc63a31eb3 Formatted via astyle. 2018-12-11 16:50:14 +08:00
Martin Kojtal c1806765dd
Merge pull request #8987 from davidsaada/david_securestore_fixes
Fix a few SecureStore issues (following preliminary security review)
2018-12-11 09:42:19 +01:00
Veijo Pesonen e4de165a32 [ESP8266] Fixes namespace collision 2018-12-11 09:49:23 +02:00
Veijo Pesonen 02aeab29d3 [ESP8266] powers down the modem on disconnect 2018-12-11 09:49:23 +02:00
Veijo Pesonen 8415e49835 Fixes connect, and network-status logic 2018-12-11 09:49:23 +02:00
Veijo Pesonen 12fa3e59bb Fixes AT command timeout values from reset&connect 2018-12-11 09:49:23 +02:00
Veijo Pesonen 9857ee1c17 [ESP8266] Adds support for controlling HW reset of the modem from the driver
While connecting will run HW reset for the modem if reset wire is attached to a know pin.
2018-12-11 09:49:23 +02:00
Cruz Monrreal II 36790d6856 Removed rabbitmq fix from travis.yml
Upstream fix has been applied by Travis CI
2018-12-10 21:48:19 -06:00
Cruz Monrreal 3875ac18d0
Merge pull request #8822 from hasnainvirk/dr0_and_fcnt_issue
LoRaWAN: Mitigating reception issues at lower data rates & FCnt increment after retry exhaustion
2018-12-10 19:35:25 -06:00
Cruz Monrreal 61ade84447
Merge pull request #8875 from deepikabhavnani/fix_components
Add dependency checks to components
2018-12-10 19:20:30 -06:00
Cruz Monrreal 89527604ae
Merge pull request #9033 from fkjagodzinski/fix-stream
Fix Stream for IAR toolchain
2018-12-10 19:20:06 -06:00
Cruz Monrreal 61f1c1cfea
Merge pull request #9030 from kjbracey-arm/mpu_size
Reduce ROM impact of MPU code
2018-12-10 19:09:15 -06:00
David Saada cb7f68e992 Fix a few SecureStore issues (following preliminary security review)
- Remove require integrity flag (authentication) - always authenticate
- Use RBP KV to store CMAC also in write once case
- Allow removing a key if reading it failed on RBP authentication error
- Disable SecureStore if user disables MBED TLS AES CTR or CMAC
2018-12-10 23:34:57 +02:00
Cruz Monrreal 3df9421cc1
Merge pull request #8993 from yennster/table-md
Apply GitHub style to exporter matrix
2018-12-10 13:58:18 -06:00
Naveen Kaje 448c4d5d89 BLE: Update toolchain.h with mbed_toolchain.h
Fixes the following warning

[Warning] toolchain.h@24,0: #1215-D: #warning directive:
toolchain.h has been replaced by mbed_toolchain.h,
please update to mbed_toolchain.h [since mbed-os-5.3]
2018-12-10 13:57:52 -06:00
Russ Butler 390ef301a8 Add header to fix compile failures
Add the header platform/mbed_assert.h to fix build errors with
platform/mbed_mpu_mgmt.c.
2018-12-10 12:54:17 -06:00
Cruz Monrreal f50403a9dc
Merge pull request #8905 from lrusinowicz/spi_fixes
SPI and deep sleep fixes for FUTURE_SEQUANA target.
2018-12-10 11:35:23 -06:00