Commit Graph

19320 Commits (6d7b655b8715347923e1669ecaac5e9cf1860a66)

Author SHA1 Message Date
Cruz Monrreal 866018b22d
Merge pull request #8149 from ganesh-ramachandran/m066_usticker-new_feature
Add usticker feature to TMPM066
2018-10-08 10:09:33 -05:00
Cruz Monrreal f5cfdfafb3
Merge pull request #8072 from TomoYamanaka/improve_flashiap
Renesas : Improve Flash iap driver
2018-10-08 10:08:47 -05:00
Cruz Monrreal 2b3f5bd486
Merge pull request #8061 from naveenkaje/push_uart_flow_control_fix
NRF52: Ensure that we configure hardware after flow control changes
2018-10-08 10:08:03 -05:00
Cruz Monrreal b153bb3f77
Merge pull request #8057 from korjaa/remove_sim_pin_print
Removed cellular PIN code print from debug log.
2018-10-08 10:07:11 -05:00
Cruz Monrreal ebb0d02fad
Merge pull request #7861 from ashok-rao/BL652_FlowControl_fix
Removing default flow control for MTB_LAIRD_BL652
2018-10-08 10:05:13 -05:00
Deepika 8642ece022 Storage: Add required header file and namespace element instead add all 2018-10-08 07:32:04 -05:00
Michal Paszta 5b4634a1fe unittests: Added tests for netsocket classes
New classes covered with unit tests: SocketAddress, EthernetInterface, EMACInterface, WiFiAccessPoint.
Also added missing namespace in front of mbed::Callback usages.
EMACInterface is covered by the EthernetInterface unit tests.
2018-10-08 14:21:01 +02:00
Anna Bridge c8734cf62a
Merge pull request #8252 from juhoeskeli/stm32f207_IAR
Adjust heap size on stm32f207
2018-10-08 12:36:53 +01:00
Martin Kojtal 365d61e4a9
Merge pull request #7304 from cedrickkukela-cd/MTS_DRAGONFLY_L471QG_pull_request_feature_changes
Add MTS dragonfly, MTS dragonfly l471
2018-10-08 11:06:23 +02:00
Seppo Takalo f16a99cf15 Guard Atmel RF driver build by DEVICE_I2C
This module uses AT24MAC chip which is in I2C bus, so it requires
device to support I2C
2018-10-08 11:17:06 +03:00
Martin Kojtal 3df898daae
Merge pull request #8266 from M-ichae-l/realtek-rtl8195am-Add-MCU_target-updates
Realtek-rtl8195am: Add MCU_ target
2018-10-06 07:54:17 +02:00
Martin Kojtal 5a8c63a11a
Merge pull request #7996 from JuhPuur/feature_mactester
Add nanostack mac tester and testcases
2018-10-06 07:48:41 +02:00
Martin Kojtal 4fbd39c74e
Merge pull request #8108 from c1728p9/systick_rename
Rename device option STCLK_OFF_DURING_SLEEP
2018-10-06 07:46:49 +02:00
Martin Kojtal bc706f0329
Merge pull request #8142 from moranpeker/disable-HW-acceleration
Disable MBEDTLS_CONFIG_HW_SUPPORT on STM targets.
2018-10-06 07:46:13 +02:00
Martin Kojtal 5faac0e4ba
Merge pull request #8269 from paul-szczepanek-arm/fix-event-malloc
BLE: replace malloc with cordio buffer allocation
2018-10-06 07:44:39 +02:00
Martin Kojtal baada0e783
Merge pull request #8242 from jeromecoutant/PR_STM32_LPTICKER
STM32 LPTICKER : Fix tickless and LPTICKER_DELAY_TICKS
2018-10-05 22:23:09 +02:00
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
Deepika f79a354311 Replace fflush to fseek before writes
You are allowed in POSIX / ANSI C to read and write on the same stream, but you
have to do an fseek in between read and write call (getc->fseek->putc)

Thanks @Alex-EEE for sharing the fix: https://github.com/ARMmbed/mbed-os/pull/7749

Added test case for verification of the behavior
2018-10-05 14:29:15 -05:00
Jimmy Brisson eb86233a11 mbed dm: Check for missing payload and give a better error message
### Description

The error message when you invoke `mbed dm update prepare` without a payload
is particularly obtuse, and provides a user with no indication that the
payload is missing. This change makes that error message not stink.

### Pull request type

    [x] Fix
    [ ] Refactor
    [ ] Target update
    [ ] Functionality change
    [ ] Breaking change
2018-10-05 13:21:55 -05: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
Deepika f549f14a0a Set ISR stack and heap sizes for low end devices
Set the ISR stack to be 1KB. https://github.com/ARMmbed/mbed-os/pull/7238
Set the heap size to 3KB(2KB + overhead + spare) so that atleast 2KB free ram is
available for testing.
With dynamic heap size, explicit size is not required. IAR 7.8 supports
static heap, hence the change is needed in IAR linker files.
2018-10-05 12:09:46 -05: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