zzw
2dc94b24d2
rtl8195am: fix LogUART Tx interrupt crash
...
add Mask & UnMask Tx FIFO empty interrupt for LogUart
fix LogUart interrupt enable
fix LogUart interrupt handler
coding style fix
2018-03-21 18:50:58 +08:00
jeromecoutant
ef006931f8
STM32L4 ADC correct internal channel management
2018-03-21 10:57:57 +01:00
toyowata
d76d511969
LPC176X: Fix flash program size
...
This patch fix flash write issue when program size is more than page size (= 1024 bytes). See detail - https://github.com/ARMmbed/mbed-os/issues/6165
Source data always use aligned data in heap memory.
2018-03-21 18:36:16 +09:00
Antti Kauppila
cbdeb7dc4b
LoRa: Added API break warnings for lorawan_channelplan_t struct and it's components
2018-03-21 08:54:42 +02:00
Antti Kauppila
dc98228139
LoRa: Struct cleanups
...
- Unneeded structs removed and replaced by variables in functions
2018-03-21 08:54:42 +02:00
Antti Kauppila
489eecf7df
LoRa: LoRaMAC class refactored
...
- Internal change only, no functional changes
- Tested by running Green tea tests manually
2018-03-21 08:54:42 +02:00
Antti Kauppila
6b54478af4
LoRaWANStack is made independent of MAC sublayers
...
- Only internal changes, no API has been broke.
- Tested by manually running Green tea tests
2018-03-21 08:54:42 +02:00
Antti Kauppila
b63c98e103
LoRa: LoRaPHY dependency removed from LoRaMacStack
...
- This is internal change, no functionality has been changed
- LoRaWanInterface cleaned up and code moved to LoRaMacStack
- Compliance code in LoRaMacStack moved to EOF
- Green tea tests have been run manually
- Doxygen updated accordingly
LoRA: reorder class members
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
fe225a8430
Remove redundant event from timer callbacks
...
Since our timers are now already using events, we no longer need to
defer timer callback calls.
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
c6eee4fd98
Simplify check for pending bit
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
32075b91b5
Fix reception of class C messages
...
- Do not put radio into sleep when message is received in class c mode
- Experimental feature for acknowledging confirmed downlink messages
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
a26fca8bf5
Add set_device_class API to change active device class
...
This API can be used to runtime change device class.
Please note that only class A and C are supported at the moment.
Trying to set class B will return LORAWAN_STATUS_UNSUPPORTED.
Fix set_device_class documentation
fix documentation
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
4aba3434f4
Change minimum required channels from 6 to 2 (US915Hybrid)
...
https://github.com/Lora-net/LoRaMac-node/issues/362
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
65b2dbc7dc
Update DevStatusAnd format
...
In the DevStatusAns format, the protocol requires RFU(7:6) value = 0
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
e1fff2e738
Update handling for functions OnRadioRxError and OnRadioRxTimout.
...
This is especially important for class c devices.
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
6c165e0f19
Changed mcps confirmation ul_frequency to channel
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
e097429b69
Remove unused is_fPort_allowed method
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
a9e1076572
Bug fix in RX timeout and RX error handling for class c nodes.
...
1. Do not stop the 2nd window timer, as it is not running.
2. Wait for the OnAckTimeout event, before setting MacDone
3. Process for class c also the 2nd window timeout part, as we do
not have a 2nd window timer.
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
591bc7da1f
Add the possibility to set the default antenna gain.
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
256a3a5842
Fix calculation of the aggregated time-off.
...
Perform only an assignment.
https://github.com/Lora-net/LoRaMac-node/issues/282
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
c1ea418ac4
Fix rx slot handling
...
Store the rx slot temporarily. When in class C, this variable will be changed
in function OpenContinuousRx2Window.
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
fc1696b74f
Do only set the MacDone if the MAC is not in class c
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
6114f2b3d5
Fix an issue with sequence calls.
...
This issue is only present for a device in class c mode, which
has perform unconfirmed uplinks.
https://github.com/Lora-net/LoRaMac-node/issues/327
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
e206c1ee54
Changed RegionNextChannel function in order to return LoRaMacStatus_t instead of a boolean
...
Removed the while loop checking the return value from set_next_channel
(GitHub Issue https://github.com/Lora-net/LoRaMac-node/issues/357 )
The new return values are:
LORAWAN_STATUS_OK : A channel has been found.
LORAWAN_STATUS_NO_FREE_CHANNEL_FOUND : No free channel has been found (AS923 and KR920 regions)
LORAWAN_STATUS_DUTYCYCLE_RESTRICTED : No channel found due to the duty-cycle or JoinReq back-off restrictions. Trial must be delayed.
LORAWAN_STATUS_NO_CHANNEL_FOUND : No channel has been found. Re-enabled the default channels.
2018-03-21 08:54:42 +02:00
Kimmo Vaisanen
339306ed1b
Ensure DR_6 cannot be selected for IN865 region
2018-03-21 08:54:42 +02:00
Antti Kauppila
a294aa028d
LoRa: LoRaWANInterface refactored.
...
- Only internal changes, no functionality changes
- Some minor improvements to LoRaWanStack
2018-03-21 08:54:42 +02:00
Cruz Monrreal
53cb6e06f9
Merge pull request #6279 from AnttiKauppila/master
...
LoRa refactoring
2018-03-20 17:28:38 -05:00
Cruz Monrreal
2c7f909eea
Merge pull request #6245 from mbedNoobNinja/Sync_PR
...
Update for VK_RZ_A1H
2018-03-20 15:21:01 -05:00
Cruz Monrreal
f3e2a3dd4b
Merge pull request #6357 from anttiylitokola/master
...
Update mbed-coap to version 4.4.0
2018-03-20 15:01:00 -05:00
Cruz Monrreal
6cb6dd9e62
Merge pull request #6330 from bcostm/fix_pins_nucleo_l433rc_p
...
NUCLEO_L433RC_P: fix pins definitions
2018-03-20 14:56:05 -05:00
Cruz Monrreal
0b7a9a9f3d
Merge pull request #6333 from mikaleppanen/lwip_tcp_flag_corr
...
Corrected lwip adaptation TCP flagging
2018-03-20 14:35:43 -05:00
Cruz Monrreal
7ab4b064e5
Merge pull request #6338 from geky/fix-littlefs-dir-chain
...
littlefs: Fix issue updating dir struct when extended dir chain
2018-03-20 14:33:26 -05:00
Cruz Monrreal
53adeed521
Merge pull request #6350 from u-blox/cellular_test
...
Cellular: update attach test
2018-03-20 14:27:02 -05:00
Cruz Monrreal
a3d8c8fe16
Merge pull request #6363 from deepikabhavnani/seek_fix
...
dir seek fixed - dptr was not updated before checking
2018-03-20 14:21:49 -05:00
Cruz Monrreal
d7dfab5c7e
Merge pull request #6370 from jeromecoutant/PR_LPT_RTC_OPTIM
...
STM32 LPTICKER : optimize RTC wake up timer init
2018-03-20 14:19:07 -05:00
Cruz Monrreal
7b2ee2d52f
Merge pull request #6291 from mirelachirica/bc95_echotest_fixes
...
Cellular: BC95 echo test fixes
2018-03-20 14:06:06 -05:00
Martin Kojtal
447e96e4c8
Merge pull request #6340 from cmonr/disable-failing-flash-test
...
Disables flash clock and cache test
2018-03-20 18:29:19 +01:00
Steven Cartmell
ab2abcb29d
Fix issues with __FILENAME__ macro
...
- Move macro definition to mbed_toolchain.h
- Remove double underscores from macro which are reserved.
- Fix macro for IAR until compiler flags to disable path are added again.
2018-03-20 14:29:34 +00:00
Martin Kojtal
e828b392bc
flash: add docs for user defined data
...
This should make some of the data more clear to a user
2018-03-20 12:25:22 +00:00
jeromecoutant
6c369d17aa
STM32L4 ADC Internal Channel : correct sampling time
2018-03-20 13:15:17 +01:00
Martin Kojtal
ecc9edaa4f
PR template: only one should be checked
2018-03-20 11:54:25 +00:00
Martin Kojtal
aeef061d47
PR template: fix task
2018-03-20 11:54:25 +00:00
mbedNoobNinja
cf8fd20f9b
Enabled os5 support for VK_RZ_A1H & synced with rest Renesas targets !
...
Mbed-os 5.4.7 was the last unofficial working support for this target.
Since Mbed-os 5.6.0, the support is now official and VK_RZ_A1H is now "codebase aligned" with GR_PEACH (RZ_A1H) & GR_LYCHEE (RZ_A1LU) !
2018-03-20 11:49:03 +02:00
Tony Wu
cca1d5581a
armcc - remove fromelf output before regenerating
...
Fix armcc recompile errors during elf2bin stage. Errors shown as follows:
Elf2Bin: mbed-os-example-wifi
Error: Q0147E: Failed to create Directory .\BUILD\REALTEK_RTL8195AM\ARM\mbed-os-example-wifi.bin\IMAGE2_TABLE: File exists
Finished: 0 information, 0 warning and 1 error messages.
[ERROR] Error: Q0147E: Failed to create Directory .\BUILD\REALTEK_RTL8195AM\ARM\mbed-os-example-wifi.bin\IMAGE2_TABLE: File exists
Finished: 0 information, 0 warning and 1 error messages.
Signed-off-by: Tony Wu <tonywu@realtek.com>
2018-03-20 16:01:22 +08:00
Cruz Monrreal
f6bcbfe1f0
Merge pull request #6356 from hug-dev/asm-include-flags
...
Add include search path when preprocessing assembly files for uvision and make_armc5 exports
2018-03-19 16:52:18 -05:00
Cruz Monrreal
4840e4d3e1
Merge pull request #6192 from theotherjimmy/export-py3
...
Correct syntax for mbed export in Py3
2018-03-19 11:20:37 -05:00
Cruz Monrreal
e01479cc06
Merge pull request #6216 from theotherjimmy/fix-online-realtek
...
Correct Realtek post-build script to work in the online compiler
2018-03-19 11:19:53 -05:00
Cruz Monrreal
6659084d72
Merge pull request #6367 from li-ho/ev-cog-flash-api-fix
...
ADI: Fix on chip flash minimal programmable unit size
2018-03-19 11:19:17 -05:00
Cruz Monrreal
9bebb8cb57
Merge pull request #6372 from bulislaw/fix_doxy_itm
...
Fix doxygen for ITM HAL
2018-03-19 11:18:47 -05:00
Cruz Monrreal
0adef8a959
Merge pull request #6379 from bcostm/dev_DISCO_L496AG
...
DISCO_L496AG: Add new platform
2018-03-19 11:18:27 -05:00