Commit Graph

24004 Commits (f9b4f11507bb03f6fd6d5eab214f96777ff60a1d)

Author SHA1 Message Date
Laurent Meunier f9b4f11507 STM32WB: Adapt I2C timings
for now based on L4+ cubeMX inputs
2019-03-29 16:21:41 +01:00
Laurent Meunier bb2aea41f8 fixup! NUCLEO_WB55RG: add SDK files 2019-03-29 16:21:41 +01:00
Laurent Meunier e2cdb19e7f STM32WB: Add missing analogin_pinmap
This is required since PR #9449
commit
"Add HAL API for analog in pinmap"
2019-03-29 16:21:41 +01:00
Laurent Meunier d9c17addd7 Add WB support and CUBE FW version in readme.md 2019-03-29 16:21:40 +01:00
Laurent Meunier 5aa609b4db STM: fix minor warnings 2019-03-29 16:21:40 +01:00
Laurent Meunier 22f9ac6624 STM32WB: FIX LL RTC warning 2019-03-29 16:21:40 +01:00
Laurent Meunier 5871a712dc STM32WB: Move STM32WB utilies from FEATURE_BLE to targets folder
These files are not BLE specific, but also needed for some clock setting
for instance.

In order to compile an MBED2 application, we need to move the files.
2019-03-29 16:21:40 +01:00
Laurent Meunier 27e7e4d9df NUCLEO_WB55RG: Rework Clock and sleep support
- move hw_conf.h file to targets/TARGET_STM/TARGET_STM32WB directory as
this is used also out of BLE feature.
- create a dedicated hal_deepsleep function as the behavior in WB is a lot
different from other existing STM32 targets
- update clock tree configuration to directly clock the entire tree @ 32MHz
out of HSE. This is needed as we want to let the M0 core running without
any change on M0-side of clocks when M4 enters /exits deep sleep.
2019-03-29 16:21:40 +01:00
bcostm 96ecd48a40 NUCLEO_WB55RG: update targets.json 2019-03-29 16:21:39 +01:00
Laurent Meunier 6234b3578c NUCLEO_WB55RG: add Cordio HCI and Transport Layer driver
The STM32WB Coridio driver includes:
- the Cordio HCI driver handling the reset sequence. During reset sequence
the TX POWER level is set and the BD address is defined if found in OTP
or option bytes. The rest of the sequence is based on the standard CORDIO
HCI driver example.
- The Transport Layer part handles sending and receiving messages to the
WB controller running on cortex-M0 of the STM32WB target. The messages
are shared through shared memory and mailboxes system based on IPCC HW.
2019-03-29 16:21:39 +01:00
Laurent Meunier 16ed1097aa NUCLEO_WB55RG: WB Transport Layer Cube files modifications
- Need to force ARM packed redefinition
- Configure LL stack in LL mode only
- Remove warning in shci_tl.c (PLACE_IN_SECTION)
2019-03-29 16:21:39 +01:00
bcostm e8a49e9605 NUCLEO_WB55RG: add WB Cube files reused for BLE transport layer 2019-03-29 16:21:39 +01:00
jeromecoutant ea86e8ef34 NUCLEO_WB55RG: HAL API updates to get SLEEP, RTC and LPTICKER OK
- astyle OK
- file alignment with other families
- HSE, MSI, HSI clock support
- LPTICKER with RTC and LPTIM tested
2019-03-29 16:21:38 +01:00
bcostm beab69704a NUCLEO_WB55RG: update STM common files
- Include RTC ll file from hal as in other families
- STM32WB: update Flash API driver
2019-03-29 16:21:38 +01:00
Laurent Meunier baf7a121bb NUCLEO_WB55RG: IAR, ARM and GCC linker files alignment
Align all scatter BLE shared memory declarations.
2019-03-29 16:21:38 +01:00
bcostm 4547fa34f7 NUCLEO_WB55RG: update mbed_rtx.h 2019-03-29 16:21:38 +01:00
bcostm 81f985433f NUCLEO_WB55RG: add SDK files
- Contains files from STM32Cube_FW_WB_V1.0.0
2019-03-29 16:21:37 +01:00
Cruz Monrreal 0a088a6f4d
Merge pull request #10200 from studavekar/vscode-gcc-ver
update vscode default gcc arm version to 6-2017-q1-update
2019-03-29 10:15:53 -05:00
Cruz Monrreal eef1b4868d
Merge pull request #10094 from desmond-blue/fix_ble_gattserver_autorization_list
BLE: Fix ble gattserver autorization list registration
2019-03-29 10:11:50 -05:00
Cruz Monrreal 1c35b95d89
Merge pull request #10072 from nick-atmosphereiot/master
Adding variable length attributes to Maxim Feather
2019-03-29 10:10:21 -05:00
Anna Bridge 5401cb6afc
Merge pull request #10260 from cmonr/complete-waffle-cleanup
Remove leftover waffle comments from README.md
2019-03-29 15:07:15 +00:00
Anna Bridge 0f6a8357e7
Merge pull request #10037 from michalpasztamobica/tcp_skip_if_unsupported
TCP/TLS Socket tests will skip if TCP is not supported
2019-03-29 13:30:37 +00:00
Cruz Monrreal 8e819de43e
Merge pull request #10030 from jamesbeyond/fm_test
TESTS: skip timing accuracy test on FastModels
2019-03-28 17:58:51 -05:00
Cruz Monrreal 4af3c38078
Merge pull request #10210 from jarvte/cellulardevice_from_context
Cellular: CellularContext must provide access to CellularDevice
2019-03-28 17:09:48 -05:00
Cruz Monrreal 8614382fe2
Merge pull request #10151 from kjbracey-arm/sleepmgr_optimise
Sleep manager: optimise counter
2019-03-28 17:09:42 -05:00
Cruz Monrreal ab22ab8ce3
Merge pull request #10150 from kjbracey-arm/timer_sleepcheck
Timer: remove hard-coded lp_ticker knowledge
2019-03-28 17:09:36 -05:00
Cruz Monrreal d7bec657ef
Merge pull request #10043 from ithinuel/add_vprintf_to_rawserial
add vprintf to Rawserial.
2019-03-28 17:09:29 -05:00
Cruz Monrreal d3db0a8c2d
Merge pull request #9476 from lrusinowicz/asynch_serial_api
Asynchronous Serial API fixes and refactoring
2019-03-28 17:09:22 -05:00
Cruz Monrreal 6443e4360a
Merge pull request #10212 from ecoromka/master
Fix tempsensor cal1 constant in stm32f3xx_ll_adc.h
2019-03-28 17:07:46 -05:00
Cruz Monrreal 716beb96ad
Merge pull request #10214 from hasnainvirk/rx_metadata_toa
LoRaWAN: Adding TOA and Channel info in RX metadata
2019-03-28 17:07:39 -05:00
Cruz Monrreal cd8d362899
Merge pull request #10231 from artokin/nanostack_armc6_update
Nanostack ARMC6 update
2019-03-28 17:07:32 -05:00
Cruz Monrreal 6fccfeb98e
Merge pull request #10234 from theotherjimmy/update-cpm-index-0.2.4
Update flash algo default with CPM 0.2.4
2019-03-28 17:07:26 -05:00
Cruz Monrreal 457fbad2ad
Merge pull request #10145 from kjbracey-arm/rtos_tidy
RTOS API: minor tidies
2019-03-28 17:05:51 -05:00
Cruz Monrreal 775a91d172
Merge pull request #9995 from bridadan/fix_config_tests_on_windows
Fixing path comparisons in config tests on Windows
2019-03-28 17:05:43 -05:00
Cruz Monrreal 48c78ae79a
Merge pull request #9971 from KariHaapalehto/status_callback
Correct thread status callback functionality
2019-03-28 17:05:34 -05:00
Cruz Monrreal 53920a62b7
Merge pull request #9904 from michalpasztamobica/greentea_packet_size_fix
Handle oversized packets in tcp and udp socket tests.
2019-03-28 17:01:52 -05:00
Cruz Monrreal 7a7f1597d1
Remove extra post-waffle cruft that was left behind 2019-03-28 12:23:38 -05:00
Michal Paszta 09183c94b9 TCP/TLS Socket tests will skip if TCP is not supported 2019-03-28 10:08:53 +02:00
Cruz Monrreal 1549c5c425
Merge pull request #10160 from itayzafrir/crypto-access-control-additional-tests
Crypto access control additional tests
2019-03-27 17:09:08 -05:00
Cruz Monrreal d3d0622ac8
Merge pull request #10230 from u-blox/cellular_network_test
Cellular: cellular_network_test Compilation Error Removed
2019-03-27 17:07:32 -05:00
Brian Daniels 51c1bd35a0 Fixing path comparisons on Windows 2019-03-27 14:08:42 -05:00
Cruz Monrreal 4cdc3b7cb8
Merge pull request #10219 from paul-szczepanek-arm/fix-legacy-scan-timeout
BLE: fix scan timeout being called from interrupt
2019-03-27 13:35:06 -05:00
Jimmy Brisson 12e5596627 Allow both path seperator types in flash algo names 2019-03-27 08:56:46 -05:00
Michal Paszta 266d4c43a2 Handle oversized packets in tcp, tls and udp socket tests 2019-03-27 11:01:16 +02:00
Hasnain Virk cd3a032d2a Unit test fix for RX TOA change
The change had an impact on unittests and we needed to adjust the test
cases a little to accomodate the change.
2019-03-27 10:23:43 +02:00
Hasnain Virk 8fd791db49 Adding TOA and Channel info in RX metadata
We provide now downlink channel frequency and time on air for the
received frame in the RX metadata.
Previously the channel information in both TX and RX metada contained
the index number of the channel. That information wasn't very useful
except the index numbers of default channels. To make more sense of the
meta data, we now store the channel frequency in the channel parameter
rather than the index number of the channel.

RX time on air is collected from the radio driver and it is assumed that
the downlink frame had 8 downlink preamble symbols (plus 4.25 of the
preambles added by the chip) for LoRa modulation.

This commit also include a bit of tidying of RX frequency storage in rx
configuration parameters storage. Previously we were missing filling in
the RX1 frequency correctly.
2019-03-27 10:23:43 +02:00
Cruz Monrreal 7e7f4f561b
Merge pull request #10070 from kfnta/tool_options
PSA more options in release tool
2019-03-27 00:37:14 -05:00
Cruz Monrreal 54e1ec6ea5
Merge pull request #10213 from d-kato/rza1xx_wait_ns
GR_LYCHEE,RZ_A1H,VK_RZ_A1H: Fix greentea ticker test case failures
2019-03-27 00:35:33 -05:00
Cruz Monrreal be38d95383
Merge pull request #10209 from OpenNuvoton/nuvoton_add-button-name
Nuvoton: Add button names BUTTON1/BUTTON2
2019-03-27 00:35:03 -05:00
Cruz Monrreal d26fe0fe55
Merge pull request #10184 from mirelachirica/wise_1570_udp_echotest_nonblocking
Cellular: Increase receiving timeout for UDP echo non-blocking test
2019-03-27 00:34:47 -05:00