Martin Kojtal
396c88ac3c
Raytac: target removal
...
No files to build - should not be in targets
Reverts part of the https://github.com/ARMmbed/mbed-os/pull/6178
2018-07-10 12:23:34 +01:00
Hasnain Virk
f0844b4cfc
Streamlining connect() API with posix like retcodes
...
For ABP: First call to connect() or connect(params) will return LORAWAN_STATUS_OK
and a CONNECTED event will be sent. Any subsequent call will return
LORAWAN_STATUS_ALREADY_CONNECTED (posix EISCONN) and no event is generated.
FOR OTAA: First call to connect() or connect(params) will return LORAWAN_STATUS_CONNECT_IN_PROGRESS
and a CONNECTED event will be sent whenever the JoinAccept is received. If the application
calls connect again before receiving the CONNECTED event, LORAWAN_STATUS_BUSY will be returned.
After the CONNECTED event is dispatched, any subsequent call to connect() or connect(params) API
will be returned with LORWAN_STATUS_ALREADY_CONNECTED.
No new parameters are accepted after the first call. The application must disconnect before making
a connect() call with new parameters.
2018-07-10 13:31:50 +03:00
Kimmo Vaisanen
a5ac795304
Disable LSE for MTB_USI_WM_BN_BM_22
...
Current MTB_USI_WM_BN_BM_22 modules do not have OSC32_IN connected, so
external xtal is not in use.
2018-07-10 08:49:38 +03:00
Marcus Chang
4bb84fdb71
Change NRF52 series UART to only use one SWI channel
...
This fixes conflicts with the SoftDevice.
2018-07-09 12:54:09 -07:00
Marcus Chang
cfb99d689a
Fix inconsistent SWI configuration in NRF52 series
...
All SWI channels except SWI0 is being used by the SoftDevice and
not only SWI1.
2018-07-09 12:54:09 -07:00
Marcus Chang
01135e30ce
Remove white space in config files for NRF52 series
2018-07-09 12:54:08 -07: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
Jimmy Brisson
a9abcf1b15
Add aliases to example exporter options
2018-07-09 09:49:55 -05:00
Jimmy Brisson
930a6119d7
Skip target lookup in test builds.
...
This should allow custom targets to be transferred to each process
when building in parallel
2018-07-09 09:44:55 -05:00
Karl Zhang
bbb97c803b
Flash API: Enable Flash api on CM3DS
...
Implement flash_api.c for CM3DS on MPS2+.
Because MPS2+ board has no physical flash chip, the implementation emulates
flash over SRAM.
2018-07-09 21:07:48 +08:00
Hasnain Virk
24db1c81ec
Updating docs
...
API documentation is updated to clear how the connection related return codes will
work from now on.
2018-07-09 13:00:01 +03:00
Hasnain Virk
51f92b0efd
LoRaWAN: Handling re-joining when already Joined
...
This is a remedy for the issue #7230 .
While the device is joining, LORAWAN_STATUS_CONNECT_IN_PROGRESS is returned.
However, if the device is already joined, we will return LORAWAN_STATUS_ALREADY_CONNECTED.
2018-07-09 12:59:54 +03:00
Kevin Bracey
229dfe5ce2
Add Apache licenses to ns_hal files
2018-07-09 12:58:39 +03:00
Kevin Bracey
8ad3e47a7e
Add option to make Nanostack use global event queue
2018-07-09 12:58:38 +03:00
Jens Alfke
5543849ba4
Recognize ".cc" and ".hh" source file extensions
...
".cc" --> C++ source code
".hh" --> header
This change allows existing source code with this naming
convention (e.g. my company's) to be used in mbed.os projects.
2018-07-06 10:10:22 -07: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
Jimmy Brisson
047cb631e8
Correct -E help
2018-07-06 10:29:15 -05:00
Jimmy Brisson
ec0a4933fa
Correct argv usage
2018-07-06 10:22:37 -05:00
Jimmy Brisson
44030c23d3
Simplify main function
2018-07-06 10:20:37 -05:00
Senthil Ramakrishnan
b6179d281d
Remove error reporting for release builds
2018-07-06 10:15:07 -05:00
Jimmy Brisson
71323af2f5
Reformat part of project.py
2018-07-06 10:10:01 -05:00
Senthil Ramakrishnan
a29eee4e73
Don't print error reports in release builds
2018-07-06 09:56:34 -05:00
Kimmo Vaisanen
0397b0b292
Lora: Support user provided LoRaPHY object
...
To support custom PHY object, a new LoRaWANInterface constructor was
added.
2018-07-06 15:11:10 +03:00
Kimmo Vaisanen
50004ca89a
Lora: Add initialize() method to set LoRaWANTimeHandler class for phy
...
Instead of giving LoRaWANTimeHandler object as parameter for constructor,
object is now given via own initialize() method.
This change is needed for future refactoring where application can give own
PHY object for LoRa stack.
2018-07-06 10:04:44 +03: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