Commit Graph

11525 Commits (d79014f35a19a7edbd849b5945cd37dc97ce12f1)

Author SHA1 Message Date
Laurent MEUNIER d79014f35a STM32: Analogin - define handle in object not as a global
In this commit, the analogin_s structure is moved to commonn_objects.h file
to limit the duplicaion.

The ADC handle is moved from a global variable to a struct member of the
analogin object. This allows multiple ADC instances to work correctly.

Note that State needs to be explicitely set to HAL_ADC_STATE_RESET
because the object is not zero initialized.
2017-08-11 14:16:30 +01:00
Jimmy Brisson 4c256f0459 Merge pull request #4824 from ARMmbed/release-candidate
Release candidate for mbed-os-5.5.4
2017-08-02 15:45:49 -05:00
Jimmy Brisson c511e96e01 Add missing collect_include passing 2017-08-02 09:45:21 +01:00
Jimmy Brisson abe3553f9c Correct supported check in exporter tests 2017-08-02 09:45:21 +01:00
Jimmy Brisson 1792f02dcf Collect ignores from scan resources and use in exporetrs 2017-08-02 09:45:21 +01:00
Martin Kojtal a0b2743606 Travis: fix install phase - not use sudo 2017-07-31 13:38:38 +01:00
Jaeden Amero 3e55bdc2c2 uVisor: Import v0.29.0 2017-07-31 13:37:31 +01:00
Jaeden Amero 8ff0c3953b uVisor: importer: Copy uvisor-tests pointer
This enables mbed-os and uvisor-tests to stay synchronized.
2017-07-31 13:37:18 +01:00
Martin Kojtal 200b4e3f96 Updated MBED versionning block for patch release 2017-07-28 14:46:27 +01:00
Johan Stokking 035ed58be4 Use immutable tuple instead of mutable list
Signed-off-by: Johan Stokking <johan@stokking.nl>
2017-07-28 14:46:27 +01:00
Johan Stokking 4e5a68ef2a ZIP export static files
Signed-off-by: Johan Stokking <johan@stokking.nl>
2017-07-28 14:46:27 +01:00
Johan Stokking f16c4d06d7 Copy static files also when zipping 2017-07-28 14:46:26 +01:00
Johan Stokking f0b350632e Copy static files only
Signed-off-by: Johan Stokking <johan@stokking.nl>
2017-07-28 14:46:26 +01:00
Adrien Chardon a5148ec31e Fix infinite calling loop 2017-07-28 14:46:26 +01:00
Bartek Szatkowski d16ea8c958 Improve documentation for memory stat ops 2017-07-28 14:46:26 +01:00
iotvietmember 68607e2d9c Add support for the VBLUno52 board
Fix ERROR_PATTERN in VBLUNO52 config

Signed-off-by: iotvietmember <robotden@gmail.com>
2017-07-28 14:46:26 +01:00
lordguilly f148046ad8 Change HSE for blupill,can only be XTAL
The BLUEPILL board does have XTAL soldered, cannot be used with an external oscillator
2017-07-28 14:46:26 +01:00
Kari Haapalehto d7f3820908 ONME-3113: Fix GCC_ARM and ARM compiler warnings from mbed-mesh-api
Warning #1300-D: inherits implicit virtual
- Adding the virtual keyword in the derived class prevents the warning

Warning #1-D: last line of file ends without a newline
- New line added at the end of file

Warning #997-D:
function "MeshInterfaceNanostack::initialize(NanostackPhy *)" is hidden
by "ThreadInterface::initialize"  -- virtual function override intended?
- virtual keyword removed from "MeshInterfaceNanostack::initialize"

Warning #1300-D: inherits implicit virtual
- Adding the virtual keyword in the derived class prevents the warning
2017-07-28 14:46:26 +01:00
Kevin Bracey 2813d8d153 Squashed 'features/FEATURE_COMMON_PAL/nanostack-libservice/' changes from 6444c8a..854505d
854505d Introduce object oriented dynmemLIB
27bae6b Merge pull request #59 from ARMmbed/fix_yotta_deps
ff45891 Add dependency on mbed-trace

git-subtree-dir: features/FEATURE_COMMON_PAL/nanostack-libservice
git-subtree-split: 854505d0191e428c07eb25fc9630dc05b21d5a47
2017-07-28 14:46:24 +01:00
Bartek Szatkowski efc28a2968 RTOS: Mutex: Improve API docs 2017-07-28 14:46:23 +01:00
Bartek Szatkowski 623c7ae625 RTOS: Mutex: Rework tests
Add descriptions, fix small issues and timings.
2017-07-28 14:46:23 +01:00
Jimmy Brisson 1f58726f4a Deprecate Simplicity Version 3 2017-07-28 14:46:23 +01:00
Jimmy Brisson f6710236ef Deprecate LPCXpresso 2017-07-28 14:46:23 +01:00
Jimmy Brisson 423959d4ca Deprecate KDS 2017-07-28 14:46:23 +01:00
Jimmy Brisson cc53dd75a3 Deprecate e2studio 2017-07-28 14:46:23 +01:00
Jimmy Brisson 4407b001b7 Deprecate Coide 2017-07-28 14:46:22 +01:00
Jimmy Brisson 66fa34c0b6 Deprecate Atmel Studio 2017-07-28 14:46:22 +01:00
Jimmy Brisson ccc2105cd1 Create deprecated exporter class decorator 2017-07-28 14:46:22 +01:00
Jimmy Brisson 7af22d0499 Remove unusable exporters 2017-07-28 14:46:22 +01:00
Martin Kojtal 5832307f9b LPC MCUXpresso: fix write_fill argument for block write function
The latest HAL extension was not applied to the LPC MCUXpresso targets.
2017-07-28 14:46:22 +01:00
Deepika 84d14ee788 Closed review comments
1. Doxygen and Grammar related
2. Change dummy to spi_fill
3. Remove NXP driver and add default loop in spi block read (same as all
other drivers)
2017-07-28 14:46:22 +01:00
Deepika 66c9f44bfc Allow user to set dummy tranfer byte for block read 2017-07-28 14:46:21 +01:00
Bartek Szatkowski 5d2c5ff114 sara_nbiot_evk: Expose SystemCoreClock via cmsis.h
This change is necessary as updated CMSIS/RTX require the
SystemCoreClock symbol.
2017-07-28 14:46:21 +01:00
Bartek Szatkowski 18e17ff2c8 REALTEK_RTL8195AM: Expose SystemCoreClock via cmsis.h
This change is necessary as updated CMSIS/RTX require the
SystemCoreClock symbol.
2017-07-28 14:46:21 +01:00
jeromecoutant 82176e16ee NUCLEO_F767ZI : boot issue with GCC 2017-07-28 14:46:21 +01:00
jeromecoutant 653b0e9499 STM32 I2C : correct async issue 2017-07-28 14:46:21 +01:00
Marcus Chang d1983e28f8 mbed-hal: Fixed flash test
The test assumed that data written to flash would be memory mapped
and directly accessible. On some platform this is not the case
and data has to read back through an explicit read command.

The test has been changed to use the flash read command instead
of direct memory access.
2017-07-28 14:46:21 +01:00
Russ Butler b4e83dab24 Change 'macros' to 'macros_add' for NUCLEO_F756ZG
Address PR feedback by renaming 'macros' to 'macros_add'.
2017-07-28 14:46:21 +01:00
adustm 2d259e0a6d fix typo in directory name 2017-07-28 14:46:20 +01:00
adustm a1810d4aec Add AES HW encryption for NUCLEO_F756ZG in mbedtls 2017-07-28 14:46:20 +01:00
Russ Butler e530d12fe1 Fix non-portable defines
A define which expands to more defines is not portable across all
compilers and GCC warns about this. Restructure this so the behavior
is defined. This fixes the GCC warning:
"this use of "defined" may not be portable"
2017-07-28 14:46:20 +01:00
Russ Butler be1d14c897 Add support for runtime test specification
Add a constructor which explicitly takes the number of test cases.
This allows a test case array created at runtime to be used.
2017-07-28 14:46:20 +01:00
jeromecoutant a8461992c3 STM32F0 : remove unavailable pins
Pins used for STDIO_UART_TX and STDIO_UART_RX are not available
2017-07-28 14:46:20 +01:00
jeromecoutant 7f9f279ef3 DISCO_L475VG_IOT: remove unavailable pins 2017-07-28 14:46:20 +01:00
jeromecoutant 70c5407697 STM32L4 AnalogIn init issue with _ALT pins 2017-07-28 14:46:20 +01:00
Martin Kojtal 8e989b072d Fix #4613: remove duplicated startup files for MICRONFCBOARD
Inherits from LPC11U34_421, that defines startup. They were identical.
2017-07-28 14:46:19 +01:00
Yuguo Zou fa193fcc5e Resolve TLS handshake failing issue
this issue, relating to wifi thread priority,  makes blocking TCP socket
failing
2017-07-28 14:46:19 +01:00
Laurent MEUNIER 5c652685e0 STM32: Serial - use TXE as tx_irq instead of TC
TXE indicates that a byte can be written to UART register for sending,
while TC indicates that last byte was completely sent. So the TXE flag
can be used in case of interrupt based Serial communication, to allow
faster and efficient application buffer emptying.

Also TXE flag will be erased from the interrupt when writing to register.
In case there is nothing to write in the register, the application is
expected to disable the interrupt.
2017-07-28 14:46:19 +01:00
Laurent MEUNIER 603188986b STM32: Serial - do no clear RXNE flag
The RXNE flag is getting cleared when reading Data Register so it should
not be cleared here. Especially in case of high data rate, another byte of
data could have received during irq_handler call and clearing the flag
would read and discard this data which would be lost for application.
2017-07-28 14:46:19 +01:00
Bartek Szatkowski 2aa9816165 Boot: Provide dynamic mutexes for ARM toolchain
ARM toolchain requires variable number of dynamic mutexes. We use combination of
RTX mutex pool and heap allocation to achieve that.
2017-07-28 14:46:19 +01:00