Commit Graph

17220 Commits (fbd7a97e196ef75ee115f13e2110e7696fb33dcb)

Author SHA1 Message Date
bcostm fbd7a97e19 stm32 ticker: rename macro and update ST HAL Tick functions
- rename TIM_MST_16BIT in TIM_MST_BIT_WIDTH in order to use it directly in ticker info structure
- change HAL_InitTick() and HAL_GetTick()
2018-07-11 14:39:42 +02:00
bcostm b1bbd765b7 stm32 ticker: rename files and move functions
- rename hal_tick_common.c in hal_tick_overrides.c
- move 16 and 32bits timer functions in us_ticker.c
2018-07-11 14:36:58 +02:00
Cruz Monrreal bcec185754
Merge pull request #7352 from bcostm/fix_rtc_ticker
STM32: Fix RTC test issue on targets using a 16-bit timer for us_ticker
2018-07-09 10:20:13 -05:00
Cruz Monrreal 8f43223646
Merge pull request #7412 from bmcdonnell-ionx/bugfix-fatfs-dir-list-when-full
apply FatFs 0.13b hotfix - fix readdir() never terminates when dir is full
2018-07-09 10:17:12 -05:00
Cruz Monrreal 69d8c0bac3
Merge pull request #7429 from codeauroraforum/MXRT_Fix_AnalogIn
MXRT1050: Ensure the pins are in input mode for analogin
2018-07-06 11:24:40 -05:00
Cruz Monrreal 59defa29e9
Merge pull request #7406 from OpenNuvoton/nuvoton_fix_wakeup_delay
NANO130: Change PLL clock source to HIRC instead of HXT
2018-07-06 11:20:40 -05:00
Cruz Monrreal 39a7e5c48f
Merge pull request #7421 from codeauroraforum/Fix_MXRT_GPIO_API
MIMXRT1050_EVK: Move clock enable after check of pin
2018-07-06 11:18:33 -05:00
Mahesh Mahadevan 19b6ef2e87 MXRT1050: Ensure the pins are in input mode for analogin
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-07-05 17:23:07 -05:00
Cruz Monrreal 93233c4f5d
Merge pull request #7364 from 0xc0170/fix_storage_rtos
Fix storage rtos types - remove including internal header file
2018-07-05 14:29:46 -05:00
Mahesh Mahadevan c24d158fb4 MIMXRT1050_EVK: Move clock enable after check of pin
Enable clock could return an error if pin is NC

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-07-05 10:59:00 -05:00
Cruz Monrreal 9f27672f0f
Merge pull request #7420 from codeauroraforum/Fix_MXRT_GPIO_IRQ
MIMXRT1050_EVK: Fix the GPIO IRQ number assignements
2018-07-05 10:51:02 -05:00
Cruz Monrreal c72da6663a
Merge pull request #7371 from kjbracey-arm/itm_block
Improve efficiency and formatting of ITM output
2018-07-05 10:49:22 -05:00
Cruz Monrreal cec30ae4cb
Merge pull request #7414 from mikaleppanen/nano_heap_stats_conf
Added json options for nanostack heap statictics
2018-07-05 10:42:58 -05:00
Cruz Monrreal 4942ec540c
Merge pull request #7413 from mikaleppanen/wiced_removed_def_inst
Modified Wiced drivers EMAC instance get
2018-07-05 10:42:41 -05:00
Cruz Monrreal 9ff201d86d
Merge pull request #7411 from SenRamakri/sen_FixWrongConfigBinding
Fix wrong config binding
2018-07-05 10:42:11 -05:00
Cruz Monrreal 917dc8394c
Merge pull request #7405 from marcuschangarm/fix-nrf52-target
Fix target definition for NRF52 series
2018-07-05 10:41:55 -05:00
Cruz Monrreal 8b6dfc4050
Merge pull request #7401 from marcuschangarm/fix-nrf52-irq
Fix interrupt initialization for NRF52 series
2018-07-05 10:41:20 -05:00
Cruz Monrreal 87b3faeff0
Merge pull request #7399 from hasnainvirk/bug_fix_recv_window
Bug fix for receive windows
2018-07-05 10:40:51 -05:00
Cruz Monrreal 3faedca1cf
Merge pull request #7390 from jeromecoutant/PR_TWO
DISCO STM32L4 : Add TWO_RAM_REGIONS macro
2018-07-05 10:39:31 -05:00
Cruz Monrreal 513960f17d
Merge pull request #7386 from evva-sfw/feature/make_clock_src_changeable
Make clock source changeable over mbed_app.json for EFM32-Targets
2018-07-05 10:39:11 -05:00
Cruz Monrreal 0ba46e74a6
Merge pull request #7377 from theotherjimmy/stats-depth-zero
Tools: Summarize stats when depth is 0
2018-07-05 10:38:18 -05:00
Cruz Monrreal 1941906f72
Merge pull request #7376 from bcostm/dev_leds_disco_L496ag
DISCO_L496AG: change LED1 and LED2 pins
2018-07-05 10:37:57 -05:00
Cruz Monrreal a2376f0d3b
Merge pull request #7342 from maciejbocianski/kernel_tick_count_test
Add kernel ticker test
2018-07-05 10:36:58 -05:00
Cruz Monrreal fab08498f8
Merge pull request #7277 from theotherjimmy/error-on-unknown-config
Tools: Persist config errors until validation occurs
2018-07-05 10:36:35 -05:00
Mahesh Mahadevan 9b48f3978a MIMXRT1050_EVK: Fix the GPIO IRQ number assignements
Use the GPIO_Combined IRQ array

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-07-04 11:53:47 -05:00
bcostm a838cb21d1 save/restore timer registers before/after deepsleep 2018-07-04 16:44:00 +02:00
bcostm 9523bcf8c9 Use elapsed time only for 16bit timer 2018-07-04 16:43:21 +02:00
bcostm fcdd529f89 Re-enable IT CC1 after deepsleep 2018-07-04 10:16:32 +02:00
bcostm f785c23e89 HAL_GetTick returns elapsed time 2018-07-04 10:16:31 +02:00
bcostm 26cb388d14 Use us_ticker_read while SDK is not ready 2018-07-04 10:15:15 +02:00
Mika Leppänen 46bcbf2a28 Added json options for nanostack heap statictics
Added configuration options to mbed-mesh-api mbed_lib.json to enable
nanostack nsdynmemLIB heap statistics.
2018-07-04 10:35:35 +03:00
Kevin Bracey 0f98338153 Improve efficiency and formatting of ITM output
SerialWireOutput was outputting 1 character per 32-bit write to the
ITM stimulus port. This is inefficient, and causes processing problems
with some viewers due to them receiving 3 NUL bytes between each
desired character.

Rework to allow us to be more efficient, and eliminate those NUL bytes:

* Retain existing mbed_itm_send() and clarify it's a single 32-bit write.
* Add new mbed_itm_send_block() that is appropriate for sending
  character data, and modify SerialWireOutput to use it.
* Move "wait for FIFO ready" check to before the write, rather than
  after.

One minor correction - FIFOREADY is a single bit of the register read.
Don't interpret reserved bits.
2018-07-04 10:16:28 +03:00
Mika Leppänen 83a82d31e0 Modified Wiced drivers EMAC instance get
Removed EMAC get_default_instance() since WLAN drivers are not default EMAC drivers.
Moved EMAC static declaration inside get_instance().
2018-07-04 09:44:28 +03:00
Brendan McDonnell efc03293dd FatFs 0.13b hotfix - fix readdir() never terminates when dir is full.
http://elm-chan.org/fsw/ff/patches.html
http://elm-chan.org/fsw/ff/ff13b_p1.diff
https://github.com/ARMmbed/mbed-os/issues/5780
2018-07-03 17:03:35 -04:00
Senthil Ramakrishnan a443e9bb47 Fix wrong config binding 2018-07-03 14:00:46 -05:00
Jimmy Brisson e53537c267 Use defaultdict in the other place 2018-07-03 10:03:27 -05:00
Cruz Monrreal f12afde757
Merge pull request #7403 from codeauroraforum/Fix_LPC546XX_UART
LPC546XX: Fix UART mux setting in the LPCXpresso board
2018-07-03 07:38:22 -05:00
Cruz Monrreal b50f09d57d
Merge pull request #7384 from OpenNuvoton/nuvoton_fix_mbr_memleak
Fix memory leakage with MBR on exiting error path
2018-07-03 07:37:43 -05:00
Cruz Monrreal 7e0f75e831
Merge pull request #7331 from TomoYamanaka/improve_bootloader
Improve the process for Cortex-A9 in mbed_application
2018-07-03 07:37:19 -05:00
Cruz Monrreal 9c4c630356
Merge pull request #7367 from theotherjimmy/check-arm-component
Tools: Detect Arm Compiler version using Component
2018-07-03 07:35:57 -05:00
ccli8 13fec628d0 [NANO130] Change PLL clock source to HIRC instead of HXT
This change is to reduce delay of wake-up from power-down to pass Greentea test.
Because HIRC's accuracy is worse than HXT's, we must switch back to HXT for e.g. USBD application.
This can be done through setting NU_CLOCK_PLL to NU_HXT_PLL.
2018-07-03 15:37:53 +08:00
Marcus Chang 3f28fe2f54 Fix target definition for NRF52 series
* Removed RTC, NRF52840 doesn't support RTC API.
 * Reorganized DEVICE_HAS order for NRF52832.
2018-07-02 16:58:33 -07:00
Mahesh Mahadevan 34dab4a4d9 LPC546XX: Fix UART mux setting in the LPCXpresso board
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-07-02 15:16:57 -05:00
Marcus Chang a0224ed794 Fix interrupt initialization for NRF52 series
In some cases the UARTE interrupt would be enabled with pending
interrupts. This commit ensures that interrupts are only enabled
from a known state.
2018-07-02 11:13:50 -07:00
Hasnain Virk bf78e264c8 Bug fix for receive windows
In rx_config(params) API we shouldn't check for radio state as radio may never get
idle for a class C device. That check made sense only for class A. As the PHY layer
have no conecpt of receive windows which is a MAC layer construct, we should remove the
state check.
The API will be changed later to void rx_config(params).

In addition to that another bug is fixed in the open_rx2_windows() API. We should set the rx slot
first before instantiating a test based on its value.
2018-07-02 18:42:21 +03:00
Martin Kojtal 226e799d5b
Merge pull request #7389 from artokin/update_libservice
Update nsdynmemlib in frameworks/nanostack-libservice
2018-07-02 17:32:23 +02:00
Martin Kojtal 40058871de
Merge pull request #7008 from 0xc0170/fix_drivers
AStyle : drivers/hal/platform folders update
2018-07-02 17:30:07 +02:00
Martin Kojtal 2353e7b1c6
Merge pull request #7029 from OpenNuvoton/nuvoton_5.9_ticker
Nuvoton: Adhere to reworked ticker spec to release with Mbed OS 5.9
2018-07-02 17:28:11 +02:00
Martin Kojtal 20adbf0c05
Merge pull request #7239 from TeroJaasko/let_config_remove_dns_cache_code
netsocket: dns: make dns-cache-size:0 remove whole DNS cache code
2018-07-02 17:26:46 +02:00
Martin Kojtal 3ee8f3214f
Merge pull request #7348 from hasnainvirk/doc_fix
LoRaWAN: Correcting doxygen
2018-07-02 17:24:52 +02:00