Rajkumar Kanagaraj
7761d45643
Remove deprecated ARMC5 from `mbed compile -S` command output
2020-03-23 07:28:32 -07:00
Evelyne Donnaes
a3c3656557
Removed mbed_minimal_formatted_string_character
...
mbed_minimal_formatted_string_character is no longer
required since fputc does the new line conversion.
This results in a small Flash saving.
2020-03-23 13:51:47 +00:00
adbridge
5c7de75661
Fix incomplete mergify rules
...
1. If a PR is closed but not merged then remove all labels
2. If a release version is added and there are release version missing
or Release review required, then remove those labels
3. In the check for conflicts rule, add the condition 'open' so
that it isn't applied to closed or merged PRs
2020-03-23 13:51:19 +00:00
Martin Kojtal
539cf3fa63
Merge pull request #12666 from dhebbeker/fix/revert-pull-12646
...
Makefile: render compatible with some GNU make versions (revert #12646 )
2020-03-23 14:49:40 +01:00
Martin Kojtal
4f4c8c48e1
Merge pull request #12637 from armPelionEdge/#12625-BLE-Cardio-Patch
...
Cordio: fix for issue #12625
2020-03-23 14:47:52 +01:00
Evelyne Donnaes
94acb5da50
Fix snprintf in minimal-printf library.
...
mbed_minimal_putchar assumed that buffer being NULL meant that it
should print to a file. This caused a system crash when calling
snprintf with both buffer and stream set to NULL.
It is valid to call snprintf with a NULL buffer; nothing should
be outputted, but the string length should be measured.
2020-03-23 13:46:12 +00:00
Michal Paszta
2b9210cd33
ESP8266: Fix typo: gateway to netmask
2020-03-23 14:25:15 +02:00
Martin Kojtal
ef2c1c89e6
Merge pull request #12658 from VeijoPesonen/fix_tests-integration-fs
...
tests-integration;tests-filesystem: fix code causing compiler warnings and enable more tests
2020-03-23 12:31:13 +01:00
Martin Kojtal
cc799a83fc
Merge pull request #12661 from kbarm/feature-fix-documentation-ascii-art
...
Adjusted SecurityManager Doxygen ASCII art
2020-03-23 10:18:54 +01:00
Stephan Brunner
c6e8ae56db
Use correct return value.
2020-03-23 09:26:30 +01:00
Stephan Brunner
f01bc974ef
Add check for return code in DeviceKey to avoid injecting invalid ROT
2020-03-23 06:57:50 +01:00
Volodymyr Medvid
26043e5ee4
makefile export: create .link_options.txt with echo
...
$(file > $@.in, $(filter %.o, $^)) is not supported in GNU Make 3.81.
Create the linker response file with pipe redirect from echo command.
This is tested with Cygwin make and make 3.8.1 shipped with macOS.
(cherry picked from commit 6918e6a76b
)
Revert "Fixed problem with overlong command line."
This reverts commit dd02ac09a1
.
See also https://github.com/ARMmbed/mbed-os/pull/12646#issuecomment-602058273
2020-03-21 20:24:28 +01:00
Anna Bridge
59540ed8c1
Merge pull request #12646 from dhebbeker/fix/fix-makefile-for-windows
...
Makefile: fix for overlong command line
2020-03-20 16:31:02 +00:00
Anna Bridge
4a5fac34a1
Merge pull request #12528 from VeijoPesonen/sfdp_split_5
...
SFDP: consolidation of SFDP parsing [5/5]
2020-03-20 16:26:39 +00:00
Anna Bridge
c37b119418
Merge pull request #12659 from tymoteuszblochmobica/wiced_update
...
Rebuild WICED libraries after Mbed update
2020-03-20 15:24:16 +00:00
Anna Bridge
890a12a0c2
Merge pull request #12655 from rajkan01/ARMC5_remove_platform
...
Remove ARMC5 reference from Mbed OS platform
2020-03-20 15:23:12 +00:00
Anna Bridge
ab483c2ead
Merge pull request #12654 from kbarm/feature-remove-cc-arm-macro
...
Removed all references to __CC_ARM
2020-03-20 15:22:03 +00:00
Anna Bridge
197e1d2daa
Merge pull request #12649 from rajkan01/unbuffered_serial_member_expose
...
Expose SerialBase IrqType member to UnbufferedSerial class
2020-03-20 15:21:12 +00:00
Anna Bridge
1b83d31e07
Merge pull request #12648 from artokin/nanostack_wisun_device_type_config
...
Nanostack: Add config for Wi-SUN device type
2020-03-20 15:20:17 +00:00
Anna Bridge
d048cd4c83
Merge pull request #12410 from rajkan01/serial_remove_deprecate
...
Remove the deprecated RawSerial, UARTSerial, Serial
2020-03-20 15:19:32 +00:00
Teemu Takaluoma
40672c5e0f
Disable sleep on STM32F4 as an workaround for stability issues.
...
This workaround is related to Mbed OS issue
https://github.com/ARMmbed/mbed-os/issues/12294
2020-03-20 12:16:06 +02:00
Krzysztof Borowczyk
a624acd45c
Adjusted SecurityManager Doxygen ASCII art to make it display correctly on mbed.com
2020-03-20 10:20:58 +01:00
Martin Kojtal
03dab7f9a0
Merge pull request #12645 from mtomczykmobica/IOTSTOR-906
...
Storage: Use internal flash for KVStore always if default config
2020-03-20 08:52:59 +01:00
Chun-Chieh Li
c3473e421d
Fix events-queue failure on low CPU frequency
2020-03-20 13:07:29 +08:00
Chun-Chieh Li
9ddcdcde4e
NANO130: Fix mbed_hal-stack_size_unification failure
...
NANO130 doesn't re-configure rtos.main-thread-stack-size, so keep EXPECTED_MAIN_THREAD_STACK_SIZE as normal.
2020-03-20 10:26:40 +08:00
Chun-Chieh Li
dbd34ed63e
NANO130: Enlarge timeout in CLK_WaitClockReady(...)
...
Most code doesn't check return code of CLK_WaitClockReady(...). Enlarge timeout to meet most cases.
lp_ticker initialization fails with this issue. Steps for reproducing:
1. System runs in tickless from lp_ticker mode.
2. Arm WDT reset.
3. In next reset cycle, lp_ticker initialization fails (active flag doesn't become active).
2020-03-20 10:26:39 +08:00
Chun-Chieh Li
427e8eb777
M2351: Support custom board
...
1. Introduce MCU_M2351 target to be inheritable
2. Re-organize PinNames.h to be overridable
3. Enable configurability of USB/STDIO UART pins
2020-03-20 09:39:16 +08:00
Chun-Chieh Li
f5cb899413
M263: Re-organize PinNames.h
...
This is to support custom boards based on M261 series chips.
2020-03-20 09:16:51 +08:00
Chun-Chieh Li
15fcdb1c36
M263: Support configurability for USB/STDIO UART pins
...
- STDIO_UART and STDIO_UART_TX/STDIO_UART_RX
- USB_UART and USBTX/USBRX
2020-03-20 09:16:51 +08:00
Chun-Chieh Li
edcfcf0495
M263: Enable configurability for memory specification
...
This is to support custom boards based on M261 series chips.
2020-03-20 09:16:50 +08:00
Chun-Chieh Li
203a9fe0ec
M263: Add SERIAL_TX/SERIAL_RX pin names
...
Don't set SERIAL_TX/SERIAL_RX to USBTX/USBRX which should be dedicated for USB VCOM and not for other uses.
2020-03-20 09:16:49 +08:00
Chun-Chieh Li
180528b5c9
M263: Add MCU_M261 target
...
This is to support M261 series based targets.
2020-03-20 09:16:12 +08:00
Rajkumar Kanagaraj
eb40dbcc20
Remove ARMC5 reference from Mbed OS platform
2020-03-19 10:48:14 -07:00
Veijo Pesonen
244c2fba5f
tests-filesystem: enable all for QSPIF- OSPIF(future)-devices
...
littlefs is the preferred filesystem for general filesystem tests.
2020-03-19 19:26:16 +02:00
Veijo Pesonen
41632891c3
tests-integration-*: target configuration cleanups
...
Stops duplication of target.components_add config parameter.
2020-03-19 18:43:18 +02:00
Veijo Pesonen
d46c397e74
tests-integration-*: Stops using deprecated wait()
...
Additionally removes some dead code.
2020-03-19 18:43:18 +02:00
Veijo Pesonen
148cf851c2
tests-integration-*: fixes traces
2020-03-19 18:43:18 +02:00
Krzysztof Borowczyk
4465295332
Remove ARMC5 reference from Mbed OS platform (removed all references to __CC_ARM)
2020-03-19 16:00:45 +01:00
Martin Kojtal
4fa9ccacf6
Merge pull request #12652 from jarlamsa/moduletest_filesystemstore
...
Add moduletests for FileSystemStore
2020-03-19 14:46:03 +01:00
Jarno Lamsa
e19cd14ced
Add moduletests for FileSystemStore
...
Baseline for the tests is similar to the TDBStore.
Differing from TDBStore moduletests, FileSystemStore doesn't include
tests for reserved data or corrupting the blockdevice, as it corrupts
the filesystem also.
2020-03-19 12:56:45 +02:00
Kimmo Vaisanen
4f7d7750e4
Cellular: Make Quectel EC2x modem start up timeout configurable
...
Default timeout also increase from 5sec to 15sec.
2020-03-19 12:31:46 +02:00
Arto Kinnunen
1b171791c3
Nanostack: Add config for Wi-SUN device type
...
Add configuration option for Wi-SUN device types.
2020-03-19 08:44:37 +02:00
Rajkumar Kanagaraj
3d74a6b167
Expose private SerialBase IrqType member to UnbufferedSerial class
2020-03-18 09:49:20 -07:00
David Hebbeker
dd02ac09a1
Fixed problem with overlong command line.
...
The list of object files was so long, that it got truncated by the bash (git-bash).
Error was
/usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
mingw32-make[1]: *** [Makefile:679: mbed-os-example-blinky-baremetal.elf] Error 1
mingw32-make: *** [Makefile:26: all] Error 2
Such a problem has aleady been reported in: https://github.com/ARMmbed/mbed-os/issues/10943#issuecomment-510064805
I fixed this problem using this answer: https://stackoverflow.com/a/37506805/5534993
2020-03-18 14:40:12 +01:00
Marcin Tomczyk
6a21dfa080
[Storage] Use internal flash for KVStore always if default configuration. TDB_INTERNAL is always for first choose.
2020-03-18 06:05:52 -07:00
Tymoteusz Bloch
7e146b0c9e
Rebuild WICED libraries after Mbed update
2020-03-18 00:27:50 +01:00
Veijo Pesonen
b89e60ba8f
SFDP: code readability improvements
2020-03-17 17:48:39 +02:00
Veijo Pesonen
eb01afb198
SFDP: fixes a trace print
...
Indexing runs from highest to lowest, not other way round.
2020-03-17 17:48:39 +02:00
Veijo Pesonen
e04a1a4017
SFDP: adds traces to identify known SFDP headers
2020-03-17 17:48:39 +02:00
Veijo Pesonen
43289c74ce
SFDP: converts to smart pointers
...
C++14-ify memory allocation.
2020-03-17 17:43:09 +02:00