Commit Graph

19292 Commits (5e4b8723a66e3f974db7b8e9cf4609dd0412323f)

Author SHA1 Message Date
Martin Kojtal 0b1bc876ac
Merge pull request #8103 from jeromecoutant/PR_L0_ADC
STM32 L0 ADC internal channel fix
2018-10-05 22:22:32 +02:00
Martin Kojtal 4820162756
Merge pull request #7916 from yennster/patch-2
Add LPC1769 template file for MCUXpresso IDE
2018-10-05 22:21:18 +02:00
Martin Kojtal 943130c1fa
Merge pull request #8233 from AnttiKauppila/lora_unittests
Lora unittests
2018-10-05 22:20:47 +02:00
Martin Kojtal 72fa1e0e8f
Merge pull request #8119 from jeromecoutant/PR_L4_ADC
STM32L496 : wrong ADC init
2018-10-05 19:53:25 +02:00
Martin Kojtal 9d39f233d2
Merge pull request #8257 from mprse/sleep_test_nrf52_dk_fix
tests-mbed_hal-sleep: finish UART transmission before sleep test
2018-10-05 17:27:39 +02:00
Martin Kojtal f42aab7715
Merge pull request #8121 from deepikabhavnani/thread_safety_info
Add thread safety info to FatFs/LittleFs
2018-10-05 16:56:55 +02:00
Martin Kojtal 41711d5240
Merge pull request #8318 from paul-szczepanek-arm/fix-gatt-server
BLE: fix use of invalid cccd index
2018-10-05 16:55:05 +02:00
Martin Kojtal 8adb8c3049
Merge pull request #7917 from deepikabhavnani/heap_overhead
Add overhead count in heap stats
2018-10-05 15:29:18 +02:00
Martin Kojtal f7f6d4d2d8
Merge pull request #7585 from bcostm/dev_NUCLEO_L4R5ZI
NUCLEO_L4R5ZI: add new platform
2018-10-05 14:53:11 +02:00
Martin Kojtal ab0498f7a8
Merge pull request #8309 from studavekar/fix_system_reset
use forced_reset_timeout as delay after reset
2018-10-05 14:38:41 +02:00
Arto Kinnunen 1dac676833 Merge commit '7d2f0cab63a2223a426c44e13f771abe6a7d7eaf'
* commit '7d2f0cab63a2223a426c44e13f771abe6a7d7eaf':
  Squashed 'features/frameworks/nanostack-libservice/' changes from 2705b9b..5eb2f3f
2018-10-05 13:09:29 +03:00
Arto Kinnunen 7d2f0cab63 Squashed 'features/frameworks/nanostack-libservice/' changes from 2705b9b..5eb2f3f
5eb2f3f Make stoip6_prefix return a failure state when the core parser fails
901fdbb Add a couple of unit tests validating the more aggressive IPv6 parser
de201a3 Make stoip6 return whether the conversion succeed
e6ce3a8 Add new function stoip6_prefix (#75)
8ef1930 Revert "Make stoip6 return whether the conversion succeed" (#73)
6a18702 Merge pull request #72 from Taiki-San/ipv6
5efa0ff Add a couple of unit tests validating the more aggressive IPv6 parser
3b2c19f Make stoip6 return whether the conversion succeed

git-subtree-dir: features/frameworks/nanostack-libservice
git-subtree-split: 5eb2f3f4592aa00915f1bb37ba9cbc109146734d
2018-10-05 13:09:29 +03:00
Martin Kojtal ea2dec01be
Merge pull request #8090 from deepikabhavnani/spi_4969
Cleanup SPI constructor and destructor
2018-10-05 11:17:56 +02:00
Amanda Butler cd996cd4c8
Copy edit REAMDE.md
Copy edit file, mostly for active voice and consistent spelling.
2018-10-04 16:55:36 -05:00
Jimmy Brisson 8d63ef6060 Tools: Fix Python3 + firmware header traeback
### Description

Traceback:
```
Merging Regions
  Filling region bootloader with mbed-cloud-client-example/mbed-os/features/FEATURE_BOOTLOADER/targets/TARGET_Freescale/TARGET_MCUXpresso_MCUS/TARGET_MCU_K64F/TARGET_FRDM/mbed-bootloader-k64f-block_device-sotp-v3_4_0.bin
  Padding region bootloader with 0x9a4 bytes
Traceback (most recent call last):
  File "mbed-cloud-client-example/mbed-os/tools/make.py", line 293, in <module>
    ignore=options.ignore
  File "mbed-cloud-client-example/mbed-os/tools/build_api.py", line 548, in build_project
    merge_region_list(region_list, res, notify)
  File "mbed-cloud-client-example/mbed-os/tools/build_api.py", line 423, in merge_region_list
    _fill_header(region_list, region).tofile(header_filename, format='hex')
  File "mbed-cloud-client-example/mbed-os/tools/build_api.py", line 380, in _fill_header
    header.puts(start, struct.pack(fmt, time()))
struct.error: required argument is not an integer
```

reason: `time()` returns a float. So the fix is to force it to be an `int`.

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-10-04 11:56:18 -05:00
jeromecoutant 83caa049ca STM32 RTC : write RTC time while LPTICKER is enabled
This fix avoid a long waiting loop in rtc_write function,
  which was not acceptable in TICKLESS context.

Implementation comments added.

Global variable name has been updated for easier maintenance:
- LPTICKER_counter is the U32 continuous tick counter
- LPTICKER_RTC_time is the RTC time used to get the time difference
   between rtc_read_lp() calls
2018-10-04 15:30:49 +02:00
Martin Kojtal 1af1a4a443
Merge pull request #7876 from cmonr/version-warn-not-err
Tools: Modified version mismatch msg to be warning instead of error
2018-10-04 13:42:00 +02:00
Martin Kojtal 2247494596
Merge pull request #7978 from jarvte/fix_cellular_no_pin
Cellular: state machine and easycellular now return error fast if sim…
2018-10-04 13:38:34 +02:00
Martin Kojtal 7a057d7ec8
Merge pull request #8085 from jeromecoutant/PR_RTC_LSI
STM32 RTC : start LSI clock (for targets without LSE)
2018-10-04 13:37:53 +02:00
Ganesh Ramachandran 7dba836719 Fix for pinmap & usticker free() to TMPM3H6
Implemented usticker free()
Fix pinmap data overwriting to same port pins
2018-10-04 16:44:55 +05:30
Yossi Levy 4bb8ebf41f Adding back blockdevice example after removing it for PR #7774. Target should be K64F 2018-10-04 13:02:18 +03:00
deepikabhavnani 5f5882830f Add `overhead_size` element to get the overhead of stats
Heap statistics are used for analysing heap stats, but it doesn't tell anything
about real heap usage or malloc overheads. Adding `overhead_size` element
will help users to get the real heap usage.
2018-10-03 16:41:24 -05:00
paul-szczepanek-arm 366a5018b5 fix using an invalid cccd index 2018-10-03 16:16:41 +01:00
Jimmy Brisson 121130ec20 Avoid assigning self.libraries 2018-10-03 09:36:40 -05:00
Kimmo Vaisanen b57bc3d044 Cellular: Fix ATHandler_stub compiler warnings 2018-10-03 14:46:45 +03:00
Kimmo Vaisanen 05f0ba8e97 Cellular: Fix AT_CellularStack unittest
Missing CellularSocket constructor caused uninitialized values to be used.

Also changed comparision macros to ASSERT_EQ as suggested by GoogleTest guide.
2018-10-03 14:44:34 +03:00
Andrew Leech a6f33a1a35 nrf_ble: Expose configuration of max number of characteristics and descriptors 2018-10-03 10:54:09 +10:00
Andrew Leech 41ff7b916b tools/utils: Fix issue with loading json files as ascii on python3 linux 2018-10-03 10:49:21 +10:00
Shrikant Tudavekar dc8b1fa98f use forced_reset_timeout as delay after reset 2018-10-02 18:01:08 -05:00
Martin Kojtal 8b623156e5
Merge pull request #7932 from wajahat-ublox/PC2_AnalogIn
ublox c030: Add PC2 pin to ADC pin map
2018-10-02 21:12:31 +02:00
Leon Lindenfelser 9f9a85830f Configure IAR stack size to 1KB 2018-10-02 13:34:16 -05:00
Jimmy Brisson 0e458bd163 Tools: Fix Microbit releases
### Description

I noticed that there was quite a bit missing from the mbed2 release of
the microbit today. That's because the microbit uses ARM by default and
the GCC_ARM small library. The release script was trying to release for
ARM using scan rules for uARM. Turns out we're stuck with 2 configuration
parameters for the same thing: `default_lib` for GCC and `default_toolchain`
for ARM. Dang

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-10-02 11:23:14 -05:00
Moran Peker 333f087386 Disable MBEDTLS_SHA256_ALT on STM targets. 2018-10-02 14:35:22 +03:00
Seppo Takalo 5fd04ff279 Reset channel settings back to default 2018-10-02 13:11:23 +03:00
Juho Eskeli f7a030ef7c Remove redundant error flag clearing operation 2018-10-02 09:18:03 +03:00
Martin Kojtal 232543ac4b
Merge pull request #7813 from MSiglreithmaierRB/os_sleep_stm32l4
STM32L4: Fix sleep implementation
2018-10-01 17:24:12 +02:00
Leon Lindenfelser f0a5dce37f Delete commented out merge conflict resolution 2018-10-01 08:25:47 -05:00
Martin Kojtal 6f338f8915
Merge pull request #8006 from deepikabhavnani/sd_driver_cleanup
SD - Add required header file and namespace element instead add all
2018-10-01 13:02:39 +02:00
Juhani Puurula 39328afa6c Nanostack MAC tester: updated README.md 2018-10-01 13:06:03 +03:00
Juhani Puurula e7e29da082 Skip the Nanostack MAC tester 2018-10-01 13:06:02 +03:00
Martin Kojtal 6ec90d1224
Merge pull request #8134 from jeromecoutant/PR_L1_ADC
STM32L1 ADC update for internal channels
2018-10-01 11:48:44 +02:00
Martin Kojtal 59ce41f255
Merge pull request #8049 from OpenNuvoton/nuvoton_fix_hal_sleep
Nuvoton: Fix mbed_hal-sleep test failed
2018-10-01 11:48:25 +02:00
Martin Kojtal 3b17888fe0
Merge pull request #8048 from naveenkaje/upstream_based_uart_fix_for_assert_test
NRF52: serial_api: Use polling for putc
2018-10-01 11:47:31 +02:00
Martin Kojtal c48c2ec89f
Merge pull request #7998 from NXPmicro/MIMXRT1050_Add_RTC
MIMXRT1050_EVK: Add RTC support
2018-10-01 11:47:10 +02:00
Martin Kojtal 9b0e5346cc
Merge pull request #7975 from tkem/fix/timer-read-range
Use high resolution time for Timer::read().
2018-10-01 11:46:18 +02:00
Martin Kojtal 0ded1fa0d7
Merge pull request #7957 from andrewleech/nrf_override_ram_linker
nRF5x: pass ram linker start/length from config system
2018-10-01 11:45:55 +02:00
Martin Kojtal 5b1c5506a5
Merge pull request #7914 from yennster/patch-1
Remove references to "mBed"
2018-10-01 11:44:04 +02:00
Martin Kojtal b1011bf12e
Merge pull request #7896 from alrodlim/master
Fix pin names of MIMXRT1050 I2C pins
2018-10-01 11:43:43 +02:00
Jaakko Korhonen 473ac20017 Removed cellular PIN code print from debug log. 2018-10-01 09:11:28 +03:00
Przemyslaw Stekiel 1fced21d3b tests-mbed_hal-sleep: add message with failure details 2018-09-30 19:31:50 +02:00