Jimmy Brisson
4198ae620c
Tools: Restrict toolchains reported by mbed compile -S to official ones
...
### Description
The `mbed compile -S` command is suposed to indicate what targets
support what toolchains. The command was printing out things that
don't make sense, like `GCC_CR` and things that make sense, but are
not offiially supported yet, like `ARMC6`. This PR fixes all of that.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-10-18 11:10:16 -05:00
Cruz Monrreal
8a5b9ff893
Merge pull request #8400 from AdamZhang0124/realtek-rtl8195am-usticker-patch
...
This PR retrieves the TimerSync function to fix the lockup issue
2018-10-18 11:00:56 -05:00
Cruz Monrreal
f3fee040c5
Merge pull request #8424 from c1728p9/doxygen_cleanup
...
Update doxygens to be in sync
2018-10-18 08:40:55 -05:00
Cruz Monrreal
e698f0b29f
Merge pull request #8076 from kjbracey-arm/error_stderr
...
Error output improvements
2018-10-18 08:39:17 -05:00
Cruz Monrreal
ad6ada014a
Merge pull request #7948 from kegilbert/mbed_mem_trace_log_toggle
...
Add enable/disable cb function in mem_trace
2018-10-18 08:38:26 -05:00
Cruz Monrreal
116a743ba6
Merge pull request #8381 from michalpasztamobica/master
...
Fix status sequence and reporting for LWIP stack
2018-10-18 08:37:55 -05:00
Cruz Monrreal
a0a3dd6a06
Merge pull request #8288 from theotherjimmy/incomplete-targets-notsupported
...
tools: Raise NotSupported when target definition is incomplete
2018-10-18 08:31:13 -05:00
Cruz Monrreal
c9adf3cef4
Merge pull request #8307 from NXPmicro/Add-Support_RapidIoT
...
Add support for RapidIoT
2018-10-18 08:15:07 -05:00
Cruz Monrreal
514ee00a72
Merge pull request #8463 from cmonr/rollup
...
Rollup PR
2018-10-18 08:13:58 -05:00
Cruz Monrreal II
2a68339867
Merge branch 'typo-patch-underlying-1' of ssh://github.com/ARMmbed/mbed-os into rollup
2018-10-17 21:38:45 -05:00
Cruz Monrreal II
9000821b4d
Merge branch 'kegilbert-patch-2' of ssh://github.com/ARMmbed/mbed-os into rollup
2018-10-17 21:38:44 -05:00
Cruz Monrreal II
3d753290c7
Merge branch 'cb_doxytypo_patch' of ssh://github.com/ARMmbed/mbed-os into rollup
2018-10-17 21:38:42 -05:00
Cruz Monrreal II
ecd109e0be
Merge branch 'kegilbert-patch-3' of ssh://github.com/ARMmbed/mbed-os into rollup
2018-10-17 21:38:41 -05:00
Cruz Monrreal II
f8997fa1a4
Merge branch 'kegilbert-patch-4' of ssh://github.com/ARMmbed/mbed-os into rollup
2018-10-17 21:38:40 -05:00
Cruz Monrreal II
ae28c74690
Merge branch 'kegilbert-patch-5' of ssh://github.com/ARMmbed/mbed-os into rollup
2018-10-17 21:38:38 -05:00
Cruz Monrreal
515db95061
Merge pull request #8349 from offirko/offir-mbed-reduced-spif
...
A Reduced SPIF Block Device for Boot Loader
2018-10-17 20:19:26 -05:00
Jimmy Brisson
9c3307ab20
tools: Raise NotSupported when target definition is incomplete
...
### Description
Noticed by the online compiler:
When a user has an incomplete target definition, the error is not show
to the user. That's because it's reported as a `KeyError`. This PR adds
an outer `NotSupportedException` so that the outer catch statement knows
that this is not a build system crash, but a user error.
### Pull request type
[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Breaking change
2018-10-17 18:00:57 -05:00
Cruz Monrreal
8054060bf2
Merge pull request #8439 from KariHaapalehto/connection_status
...
Correct mesh network connection status callback functionality.
2018-10-17 17:41:46 -05:00
Cruz Monrreal
1a6d2f6513
Merge pull request #8451 from korjaa/fix_possible_filebase_deadlock
...
Added missing _mutex->unlock() to FileBase::lookup().
2018-10-17 17:40:29 -05:00
Cruz Monrreal
c8ada378ab
Merge pull request #8453 from AnttiKauppila/valgrind_fixes
...
Fixed lorawan unittests valgrind issues
2018-10-17 17:38:38 -05:00
kegilbert
2d910cd8e7
Infered->Inferred
...
Signiture->Signature
2018-10-17 17:13:36 -05:00
Amanda Butler
048614638e
Copy edit mbed_rtc_time.h
...
Copy edit existing text.
2018-10-17 17:07:05 -05:00
Kevin Gilbert
3794fe5b6c
funtion->function
...
Minor doxygen typo patch
2018-10-17 17:01:48 -05:00
Kevin Gilbert
69e763e254
Minor mbed_assert doxy typos patch
2018-10-17 16:59:07 -05:00
Kevin Gilbert
3a04e6ae78
locable->lockable
...
Minor doxygen comment typo patch
2018-10-17 16:54:32 -05:00
Kevin Gilbert
d24f10e50e
Remove extra e in deepsleep
2018-10-17 16:44:15 -05:00
Cruz Monrreal
fc41c3d8e3
Merge pull request #8311 from SeppoTakalo/secure_socket
...
Implement TLSSocket
2018-10-17 12:24:09 -05:00
Kevin Gilbert
435f4724e0
underlyng->underlying
2018-10-17 12:23:35 -05:00
Cruz Monrreal
4600c85611
Merge pull request #8442 from evva-sfw/bug/missing-define
...
Add missing define in drivers/SerialWireOutput.h
2018-10-17 09:33:18 -05:00
Cruz Monrreal
a5855e4da5
Merge pull request #8359 from kaidokert/master
...
Allow overriding build timestamp from env
2018-10-17 08:57:37 -05:00
Cruz Monrreal
c37dc5fea8
Merge pull request #8425 from OpenNuvoton/nuvoton_m487_fix_button
...
M487: Fix SW2/SW3 interchange error in NUMAKER_IOT_M487
2018-10-17 08:35:46 -05:00
Cruz Monrreal
7085d16661
Merge pull request #8354 from kjbracey-arm/singletonptr_align
...
SingletonPtr: const and alignment
2018-10-17 08:35:12 -05:00
Cruz Monrreal
2daab38194
Merge pull request #8302 from JanneKiiskila/wait_ms
...
Use wait_ms(int) instead of wait(float)
2018-10-17 08:34:47 -05:00
Antti Kauppila
f0864be1c5
Fixed lorawan unittests valgrind issues
2018-10-17 15:25:53 +03:00
Jaakko Korhonen
4efec08127
Added missing _mutex->unlock() to FileBase::lookup().
2018-10-17 14:07:09 +03:00
Kevin Bracey
2df322c43d
Don't overrun in error prints
...
vsprintf returns the amount it would have written if the buffer had been
big enough, but we used that value directly when outputting, thus
overrunning memory and dumping stack contents.
Indicate truncation by inserting an ellipsis and newline. Slightly
increase the buffer size, so that we don't slightly decrease the maximum
printable characters because of the ellipsis insertion.
Partially addresses https://github.com/ARMmbed/mbed-os/issues/6850 by
forcing a newline when truncation happens - often truncation will drop a
newline and prevent a flush.
2018-10-17 12:55:20 +03:00
Kevin Bracey
c989845d5a
mbed_error_vfprintf -> mbed_error_vprintf
...
Name vfprintf doesn't make sense - if we have mbed_error_printf, this is
vprintf.
2018-10-17 12:55:20 +03:00
Kevin Bracey
d05c60ee3f
Sync output devices on exit
...
Mbed retarget does an `fflush` on stdout and stderr on exit - this
flushes the C library buffers (if it is buffering), but doesn't
flush any device buffers (eg UARTSerial's TX buffer). Add
sync() calls to the output device to do this.
2018-10-17 12:55:20 +03:00
Kevin Bracey
78f4b4bc82
Make mbed_error not serial-specific
...
Use write() on current output device instead - this works on the
assumption that write() is safe to call from critical section.
UARTSerial has previously been upgraded to support this, and this also
improves the behaviour when buffered serial is in use - the current
buffered output will be fully flushed before outputting the error
message.
2018-10-17 12:55:20 +03:00
Kevin Bracey
1094c08129
Add support for UARTSerial::write from critical section
2018-10-17 12:55:20 +03:00
Seppo Takalo
5d1cd2552b
Check that MBEDTLS_ERROR_C is defined before using mbedtls_strerror().
...
If MBEDTLS_ERROR_C is not defined, that strerror function does not
exist, or is just dummy definition if MBEDTLS_ERROR_STRERROR_DUMMY is
defined.
2018-10-17 11:45:31 +03:00
Kari Haapalehto
1b1f5e7c0d
Correct mesh network connection status callback functionality.
...
Now the status callback is only called if the status changed.
2018-10-17 08:30:58 +03:00
Cruz Monrreal
d30ae07b6e
Merge pull request #8008 from deepikabhavnani/cleanup_features
...
Add required header file and namespace element instead add all
2018-10-16 21:37:20 -05:00
Cruz Monrreal
b16e2713b8
Merge pull request #8446 from cmonr/pin-py-module
...
Pin urllib3 pip module in requirements.txt
2018-10-16 21:29:50 -05:00
Cruz Monrreal II
461f55e3ed
Pinned urllib3 version as something with 1.24 appears to be breaking other modules
2018-10-16 17:34:42 -05:00
Cruz Monrreal II
65c4bc92fb
Added line in python testing to print pip modules in use
2018-10-16 17:33:56 -05:00
Cruz Monrreal
00e3064f58
Merge pull request #8437 from NXPmicro/Fix_TRNG_HAL
...
MCUXpresso: Fix for the TRNG HAL driver
2018-10-16 16:19:49 -05:00
Cruz Monrreal
996a31f9d8
Merge pull request #8419 from TacoGrandeTX/doc_fix_portin
...
PortIn.h: Documentation improvements only
2018-10-16 16:18:50 -05:00
Cruz Monrreal
adf9165af2
Merge pull request #8405 from hasnainvirk/QOS_impl_with_utests
...
[LoRaWAN]: Adding QOS in response to LinkADRReq and fixing class C bugs
2018-10-16 15:47:50 -05:00
Cruz Monrreal
af19a395e0
Merge pull request #7923 from ganesh-ramachandran/master
...
Add Support for Toshiba TMPM4G9
2018-10-16 12:52:19 -05:00