Commit Graph

12675 Commits (4be1146f00fa815c04296fe04f1f66cf726ea24f)

Author SHA1 Message Date
bcostm 4be1146f00 DISCO_L072CZ: add comment in clock_source config 2017-11-17 14:55:49 +00:00
bcostm f2155a3212 DISCO_L072CZ: align SetSysClock_PLL_HSE() with SetSysClock_PLL_HSI() 2017-11-17 14:55:49 +00:00
Andrzej Puzdrowski 1e7d12a9e5 Fix bug for issue 5462, initial pin value not retained
For api usage like DigitalOut led(LED1, 1) the hal function gpio_write()
sets the output before f. gpio_mode() is called. gpio_mode() clears the
output as it take never writen parameters (gpio_cfg_t.init_hight).

This patch use internal hardware register of GPIO output instedad of above paramiter latch
for retaining proper writen state.
2017-11-17 14:55:49 +00:00
bcostm 21fcb756aa STM32: fix error with CAN_3 not defined 2017-11-17 14:55:49 +00:00
bcostm b3406e3389 STM32: fix compilation error with STM32F1 2017-11-17 14:55:49 +00:00
bcostm 061edef904 STM32: Use CAN3_BASE + typos 2017-11-17 14:55:49 +00:00
bcostm e56598cfa8 STM32: Add support of CAN3 on STM32F413/F767 2017-11-17 14:55:49 +00:00
adbridge 2ff12b4569 Remove mbed-cloud-client-example-internal. 2017-11-17 14:55:49 +00:00
Laurent MEUNIER 23a162971b STM32: HAL smartcard, fix memory corruption in Receive
Re-casting with tmp the uint8_t* pData pointer to uint16_t* brings a
memory corruption and typically can corrupt the size parameter. This
is fixed with this commit.

STM32 Internal ticket reference : 39116
2017-11-17 14:55:49 +00:00
cyliangtw 6923d0d3e7 fix TRUE/FALSE redefinition 2017-11-17 14:55:49 +00:00
Sarah Marsh 337a506f89 Limit size of equeue for sigio net test 2017-11-17 14:55:49 +00:00
Marcus Chang 5ca88696d6 Reorganize defines for firmware updates on Realtek RTL8195AM
Moved defines, typedefs and function prototypes from ota_api.c to
ota_api.h so that these can be included in applications.
2017-11-17 14:55:49 +00:00
Yuguo Zou dbbe22704b Remove lines to improve readability 2017-11-17 14:55:49 +00:00
Yuguo Zou 9c416ae3fb Update HAL library to fix lockup issue 2017-11-17 14:55:49 +00:00
Yuguo Zou d56959acf5 Update HAL code to resolve ticker lockup issue 2017-11-17 14:55:48 +00:00
Tony Wu 44fc3313d1 rtl8195am - fix us_ticker interrupt handling
TIMER2_7_IRQ is shared among several timer sources, including
us_ticker. Raising TIMER2_7_IRQ pending bit will trigger the timer
interrupt, but the timer interrupt handler will not know which timer
source this interrupt is for. This patch sets timer load value to one
tick and force us_ticker to fire almost "immediately".

TIMER2_7_IRQ is handled through a common interrupt handler, and
is automatically cleared. Therefore, there is no need to clear IRQ.

The underlying timer HAL treats load value as micro-seconds and does
conversion internally. Therefore, simply pass micro-seconds to timer
HAL without converting to tick first.

Signed-off-by: Tony Wu <tung7970@gmail.com>
2017-11-17 14:55:48 +00:00
johnny de51bcaac8 Add support for RedBear's BLE Nano 2
Cribbed from 4bf42f2e20

I'm not sure if if there are any copyright issues here with what is
effectively a set of config files. A few folks have been bugging me (and
the redbear folks) for these changes, so I wanted them somewhere
centralized.
2017-11-17 14:55:48 +00:00
Dave Wu 5408dae639 - Removed .mbedignore due to an issue with the eclipse exporter not picking up the ignored files; - Added #includes in BSP data C files so they can be built on their own without mbedignore; 2017-11-17 14:55:48 +00:00
Dave Wu f53e037f1f Added a check for the STUCK bit before reading the RNG data register to ensure there are no hardware faults. 2017-11-17 14:55:48 +00:00
dave.wu@analog.com 41c6084a1e - Added code to clear temporary variable on the stack before exiting the trng_get_bytes; - Removed lp ticker as it does not satisfy the requirements of the lp timer. 2017-11-17 14:55:48 +00:00
Dave Wu c4220ece9b Added default delay and sample times for the ADC during initialization. 2017-11-17 14:55:47 +00:00
Dave Wu a85563bcc5 - Cleaned up some formatting issues; - Fixed a build error in spi_master_block_write; - Some clean up in serai_api. 2017-11-17 14:55:47 +00:00
Dave Wu 46eae9f862 Added curly brackets for the single line if else statement. 2017-11-17 14:55:47 +00:00
Dave Wu 477c728b61 - Added error checking for trng_get_bytes function; - Added curly brackets to single line conditions in gpio_qpi.c and gpio_irq_api.c; - Changed rx and tx buffers in serial module as local variables; - Minor i2c & spi updates for github pull request; - Added function definition for spi_master_block_write. 2017-11-17 14:55:47 +00:00
Dave Wu 1a0470f869 Removed the custom app thread stack size. 2017-11-17 14:55:47 +00:00
Dave Wu 78d8379a82 Removed undefined spi slave related functions. 2017-11-17 14:55:47 +00:00
Dave Wu aa6872523e - Fixed an issue where the TRNG device is read even when it is not ready; - Added a configuration call in trng_init to make sure the TRNG buffering mode is disabled, so only 8-bit bytes are returned; - Moved the TRNG device handle into the trng_t structure; - Fixed some formatting errors in the adc driver. 2017-11-17 14:55:47 +00:00
Dave Wu af8b5d916f - Added definiton for i2c_reset; - Removed unneeded code from i2c and serial modules. 2017-11-17 14:55:47 +00:00
Dave Wu f5b6cda0ba Fixed a merge error for LPC11U34_421. 2017-11-17 14:55:47 +00:00
Dave Wu b1b4cfb5dc Fixed issues raised in the feedback from ARM for the ADuCM4050 platform. 2017-11-17 14:55:47 +00:00
Dave Wu 0105347b93 Added support for ADI EV-COG-AD4050LZ platform. 2017-11-17 14:55:47 +00:00
Andrea Corrado 6de5b39f3f introduced mbed Connect Cloud board based on ODIN-W2 Module rety commit, added ublox changes
Corrected error

Corrected error in targets json

Reworked JSON

Added lwip-eth to Connect ODIN removes ARM CC error

Fixed formating issues

Correct formating error in  .json

Indentation errors
2017-11-17 14:55:47 +00:00
Jammu Kekkonen 8dceef0492 HEXIWEAR: define HEXIWEAR target to support bootloader. 2017-11-17 14:55:47 +00:00
Kevin Gilbert 05a36aafe8 Remove build warnings in LWIP 2017-11-17 14:55:47 +00:00
Chris Snow 761c57876b Fix ETHMEM_SECTION placement for ARM on LPC1768 2017-11-17 14:55:47 +00:00
gorazd 9f9666eced add new target L-Tek FF-LPC546XX 2017-11-17 14:55:46 +00:00
Maciej Bocianski 69df251916 event queue test: fix out of memory problem for NUCLEO_F070RB 2017-11-17 14:55:46 +00:00
Senthil Ramakrishnan 6d967bbb54 Fixed doxygen_options.json 2017-11-17 14:55:46 +00:00
Senthil Ramakrishnan 88a91a5a9b Fix comments on mbed_assert.h 2017-11-17 14:55:46 +00:00
Senthil Ramakrishnan d3ca63edd5 Doxygen comment updates and fixes 2017-11-17 14:55:46 +00:00
Martin Kojtal bb3bd003c5 ncs36510: fire interrupt correct timer fix
Use Timer1, it is used for us ticker isr handling. Plus reset target counter,
that should be 0, go to upper ticker isr handler immediately.
2017-11-17 14:55:46 +00:00
Ryan Kurte a95fcbf40b Swapped to macro definition for debug prints 2017-11-17 14:55:46 +00:00
Ryan Kurte b1c4fa3f34 Added critical section around rf_start_cca 2017-11-17 14:55:46 +00:00
Ryan Kurte b66b28c08a Threaded wrapper for rail driver on EFR32 platforms
Updated NanostackRfPhyEfr32 with a receive queue.
Cleaned up debug messages, re-added to non-threaded calls.

Removed debug print override

Removed tr_debug override

Removed normal-operation prints that could have timing implications if enabled

Removed dead NVIC code (and a couple of dead log outputs)
2017-11-17 14:55:46 +00:00
Boting Ren c4a034fba7 Add mbed-cloud-client support on DISCO_L475VG_IOT01A with wifi_esp8266_v4.json. 2017-11-17 14:55:46 +00:00
jeromecoutant 5382081206 NUCLEO_L496ZG_P support 2017-11-17 14:55:46 +00:00
jeromecoutant 27d4b52a5f NUCLEO_L496ZG minor update 2017-11-17 14:55:46 +00:00
Filip Jagodzinski 5ead8ecceb Tests: RTOS: RtosTimer: Refactor for readability 2017-11-17 14:55:46 +00:00
Filip Jagodzinski 5fe9ee5571 Tests: RTOS: RtosTimer: Fix tests for NRF51_DK board
Additional delay is needed to prevent random failures when
waiting for a semaphore.
2017-11-17 14:55:45 +00:00
Kevin Bracey 781c0c7105 Shrink RTOS classes
Various RTOS classes were storing their CMSIS-RTOS creation attribute
structure as a member, when it's not required after construction. Reduce
memory by eliminating this member.
2017-11-17 14:55:45 +00:00