Commit Graph

15072 Commits (57b4653a980e3712787e7a22f9172a040ab3f70f)

Author SHA1 Message Date
Martin Kojtal dd84f32043 STM32L486: fix two ram region define for GCC ARM
Based on the changes for other targets, these 2 were left.
2018-03-13 13:51:59 +00:00
Teppo Järvelin cacdbd1550 Cellular: Fixed sms unit tests. 2018-03-13 13:52:05 +02:00
Teppo Järvelin 16e8b77474 PR review findings, updated deprecated comments. 2018-03-13 13:15:29 +02:00
Antti Kauppila 783d0c58f5 MBED_DEPRECATED_SINCE taken into use 2018-03-13 13:15:29 +02:00
Teppo Järvelin 7fd6b71337 Moved APN_db.h under new cellular. 2018-03-13 13:15:29 +02:00
Teppo Järvelin bee31ad1b3 Added deprecation notes to old cellular interfaces. 2018-03-13 13:15:29 +02:00
Martin Kojtal fe2e4a3680
Merge pull request #6290 from AriParkkila/fix_cellular_unit_tests
Cellular tests: fix power mgmt stub
2018-03-13 09:53:36 +01:00
Mika Leppänen af29734dd0 Corrected lwip adaptation TCP flagging 2018-03-13 09:47:11 +02:00
Cruz Monrreal II 0ab2216803 Add lorawan and nvstore examples for testing. 2018-03-12 18:45:16 -05:00
Cruz Monrreal 205b2ed131
Merge pull request #6328 from 0xc0170/fix_mimxrt_pullup
MIMXRT: define PullUp default value
2018-03-12 17:42:19 -05:00
Christopher Haster 7f17a9b8da littlefs: Fixed issue updating dir struct when extended dir chain
Like most of the lfs_dir_t functions, lfs_dir_append is responsible for
updating the lfs_dir_t struct if the underlying directory block is
moved. This property makes handling worn out blocks much easier by
removing the amount of state that needs to be considered during a
directory update.

However, extending the dir chain is a bit of a corner case. It's not
changing the old block, but callers of lfs_dir_append do assume the
"entry" will reside in "dir" after lfs_dir_append completes.

This issue only occurs when creating files, since mkdir does not use
the entry after lfs_dir_append. Unfortunately, the tests against
extending the directory chain were all made using mkdir.

Found by schouleu
2018-03-12 15:52:32 -05:00
Cruz Monrreal 56a6f3b4ff
Merge pull request #6327 from TeemuKultala/ doxygen_updates
cellular doxygen updates
2018-03-12 15:10:58 -05:00
Cruz Monrreal 81b2768537
Merge pull request #6301 from jarvte/fixing_cellular_gt
Cellular tests: fixed cellular greentea tests by adding timeout as it…
2018-03-12 11:52:34 -05:00
Cruz Monrreal 190cd986f7
Merge pull request #6323 from geky/revert-fat-errors
fatfs: Revert "Update error code mapping"
2018-03-12 11:52:18 -05:00
Amanda Butler 5a68dcd29d Copy edit README.md
Copy edit for active voice, branding, spelling and other minor grammar fixes.
2018-03-12 16:25:05 +00:00
Amanda Butler 0ec844435d Copy edit README.md
Copy edit for branding, consistent tense and consistent style.
2018-03-12 16:25:05 +00:00
Hugues de Valon a453faa4e9 CM3DS: switch to larger memories for code and data
This patch changes the linker files and defines to use the ZBT SSRAM
instead of the FPGA Block RAM for code and data.
The section 4.1.1, Code and RAM memory map, of the CM3DS Eval RTL and
testbench user guide explains the available memories.
This switch improves code memory from 256 kB to 4 MB and data memory
from 128 kB to 4 MB.

However, the ZBT SSRAM1 for code memory begins at 0x00400000 while the
processor can only boot at address 0x00000000 which means that it
expects the vector table to be at that address. That is why we have to
create 2 load regions in the linker scripts: one with only the vector
table at address 0x0 and one with code + data at address 0x00400000.
Because of these two load regions, linker will produce different
behaviours:
    * GCC_ARM and IAR will only create 1 binary with both load regions
padding with 0 in between. The binary will then be very large (at least
4 MB) and the flash process will take longer.
    * ARM and ARMC6 will create 2 binaries for the two load regions. The
load addresses of the two binaries can be written in the images.txt file
on the MPS2 board. You can also use the --bincombined option of fromelf
utility to produce only 1 large binary.

This patch also adds the memory_zones.h file to try to put in common all
the memory addresses that were previously hard coded in the linker
scripts / startup files.

With that patch in, the simplest option is to directly use the .elf file
with the MPS2, which is only possible with mbb_v225.ebf and more recent
firmwares. It will now be the default for CM3DS.

This commit works with greentea thanks to the now merged pull request
ARMmbed/htrun#181 in order to copy .elf file to the MPS2 board.

Signed-off-by: Hugues de Valon <hugues.devalon@arm.com>
2018-03-12 16:25:05 +00:00
bcostm 8fe02803e1 NUCLEO_L433RC_P: fix LEDs pin assignment 2018-03-12 11:30:52 +01:00
Teemu Kultala bd75d5327f callback API added 2018-03-12 11:51:27 +02:00
Martin Kojtal 7917e12eb0 MIMXRT: define PullUp default value
This target defines few PullUp values, one should be defined to be PullUp that
an application can use. We use the same value as PullDefault
2018-03-12 09:21:24 +00:00
Teemu Kultala cf07cb0394 cellular doxygen updates 2018-03-12 10:24:33 +02:00
zzw 20b33637f6 rtl8195am : fix gpio toggle slow
Ameba has two memory blocks: SDRAM(2M) and SRAM(512KB). SRAM has better access performance than SDRAM. So some timing critical codes must be moved to SRAM.

fix for mbed-os issue #5778

rebase for #6289
2018-03-12 14:10:40 +08:00
Deepika 0b9f301268 Test to verify peek API 2018-03-09 16:47:48 -06:00
Christopher Haster 17f7c8cd5b fatfs: Revert "Update error code mapping"
This reverts commits:
b40ff8af15
b548fd8a39
2018-03-09 15:27:03 -06:00
amq 82ecf7e81a Make gpio interrupts faster by offloading expected state check to user 2018-03-09 16:10:10 +01:00
Mahesh Mahadevan 5230bcaf6f MCUXpresso: Update the I2C implmentation for byte read and write
1. Start function: Issue repeat start when bus is busy
2. Byte write function: Do not call SDK function as this does
   not work for some of the Kinetis device
3. Byte read function: Do not call SDK function as this would
   issue a START and STOP signal which is not required for
   I2C byte functions

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-03-09 08:32:22 -06:00
Mahesh Mahadevan 53fa4e5fc4 MCUXpresso: Enable I2C SDA & SCL pins internal pullup resistors
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-03-09 08:18:21 -06:00
Mahesh Mahadevan d29c12d233 K82F: Fix I2C test failures seen with ci-test shield
I2C3 clock define was missing. I2C3 is connected to the Arduino
connector which is used by the ci-test shield

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-03-09 08:04:54 -06:00
Teppo Järvelin d26bb23dae Cellular: ATHandler write improvements. 2018-03-09 14:03:17 +02:00
Evan Hosseini 94616e6396 mts_mdot_f411re: Fix for Multi-Tech mDot IAR linker script 2018-03-08 16:41:34 -06:00
Deepika 9fa660ebde Peek API to view data of buffer without popping 2018-03-08 14:47:21 -06:00
Jimmy Brisson f67fe4a7a3
Merge pull request #6257 from SenRamakri/sen_FaultHandlerFixes
Fix for Crash dump formatting issues and adding more info to crash dump
2018-03-08 13:04:07 -06:00
Brendan McDonnell 4a564ec2c4 revert accidentally-included change from 7094e13891 2018-03-08 11:56:47 -05:00
Martin Kojtal cf4c7a5d35
Merge pull request #6164 from ashok-rao/br-BL652
Adding Laird BL652 as new target
2018-03-08 17:45:01 +01:00
Martin Kojtal d2f00a054c
Merge pull request #6171 from anttiylitokola/master
Update mbed-coap to version 4.3.0
2018-03-08 17:44:17 +01:00
Martin Kojtal 4e7ad0dc95
Merge pull request #6226 from M-ichae-l/mbed-os_ci-test-fixed_rtl8195am
rtl8195am: fix ARM section error
2018-03-08 17:43:07 +01:00
Martin Kojtal d9a1302fd5
Merge pull request #6271 from lfdebrux/profile-merging
Allow build profiles to omit language entries
2018-03-08 17:41:51 +01:00
Martin Kojtal 0c0826179f
Merge pull request #6280 from davidsaada/david_nvstore_doxygen_only
NVStore: Enclose header file with DOXYGEN_ONLY option as well.
2018-03-08 17:40:12 +01:00
Martin Kojtal 87b37c0e2a
Merge pull request #6286 from delftswa2018/feature-typo-fixes
Small typo fixes in readme.md files
2018-03-08 17:36:23 +01:00
Wolfgang Betz 3057aa71f9 Align `ATCmdParser::process_oob()` to `ATCmdParser::vrecv()`'s newline handling 2018-03-08 14:06:30 +01:00
Kimmo Vaisanen 5bfe056370 Fix verification of RX2 datarate
Datarate verification passed only if given datarate was a minimum
possible value. Instead datarate should be checked that it is less
than maximum value.
2018-03-08 14:02:40 +02:00
Teppo Järvelin 228f7e8160 Cellular tests: fixed cellular greentea tests by adding timeout as it may take time to register, attach and connect to network. 2018-03-08 13:27:23 +02:00
Mirela Chirica be95f47636 Quectel BC95 echo test fixes
Fixing get host by name and iterate send/recv socket operations.
2018-03-08 13:13:02 +02:00
Mirela Chirica 84cd5c1000 Use of APN lookup decision logic fixed 2018-03-08 12:58:12 +02:00
Mirela Chirica 9f6454a084 Fix wrong header define name 2018-03-08 12:53:52 +02:00
Mirela Chirica 350d7916cf Release AT handler if network not created 2018-03-08 12:50:14 +02:00
Kimmo Vaisanen 3bd0f97914 Fix initialization of phy_params.payloads_with_repeater.size 2018-03-08 12:46:54 +02:00
Mirela Chirica aaf4edc15c Own SIM state retrieval for Quectel BC95 2018-03-08 12:46:44 +02:00
Mahesh Mahadevan 3f302961e1 Flash support: Add flash support for LPC54114 & LPC546XX
Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-03-07 13:06:41 -06:00
Mahesh Mahadevan 7ed36e4986 MCUXpresso_MCUS: Apply K64F us_ticker fix across all MCU's
Applied changes from commit b6a01de070
for other MCUXpresso MCUs

Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
2018-03-07 07:27:04 -06:00