Commit Graph

16752 Commits (feature-hal-spec-sai)

Author SHA1 Message Date
kegilbert 48228512a5 Add code example to doxygen for SAI class
Add additional class level method comments
2018-06-15 11:27:15 +02:00
Cruz Monrreal 3cea5d4222
Merge pull request #7018 from ithinuel/feature-hal-spec-sai
fix typo in a comment
2018-06-14 17:27:58 -05:00
Wilfried Chauveau 70e61dd4e5 fix typo in a comment 2018-06-12 13:05:31 +01:00
kegilbert 0b8fceb661 Add status code/get call to SAI and children classes
Move to public inheritance of SAI in children

Allows access to general member methods like status.

Moved internal functions to protected

Cherry-picked examples.json changes that limited Lorawan example tests to Lorawan targets
2018-06-12 11:17:58 +01:00
Przemyslaw Stekiel 5f302f186d Add SAI/SAITransmitter/SAIReceiver class test.
Since currently we have only "placeholder" implementation and real "real" C++ implementation is under development current test provides only loop-back communication test using one format.

Test needs to be updated when real implementation is ready.
2018-06-12 11:17:58 +01:00
Przemyslaw Stekiel 01f493f1d9 K64F, K66F: Change SAI pins definition SAI_A <--> SAI_B.
NUCLEO_429ZI must use SAI_A pins for receiving the data, while on K64F SAI_A pins must be use to transmit data.
For testing purposes we need to have consistent pins definition on both platforms.
2018-06-12 11:17:58 +01:00
Wilfried Chauveau 36f2f6c0a6 fix K66F & K64F implementation to support "restart" of a receiver/transmitter. 2018-06-12 11:17:58 +01:00
Przemyslaw Stekiel 3c7dab47a7 Add SAI HAL API test and test header file. 2018-06-12 11:17:58 +01:00
Przemyslaw Stekiel aee5fd41ad Fix K64F SAI driver: receiver pops one sample from the queue and returns true if `psample` is NULL.
Adapt implementation to the requirements.
2018-06-12 11:17:58 +01:00
Wilfried Chauveau 3ee54cb24c fixing style 2018-06-12 11:17:58 +01:00
Wilfried Chauveau 4722c501cb rephrase `sai_check_sanity`'s note. 2018-06-12 11:17:58 +01:00
Wilfried Chauveau 46b32a76c6 switch SAI_A and SAI_B to circumvent the LL_I2S reading "instability" 2018-06-12 11:17:58 +01:00
Wilfried Chauveau a8718f3008 make enums' variants fullcaps 2018-06-12 11:17:58 +01:00
Wilfried Chauveau bf01572d81 rename `xfer` to `transfer` 2018-06-12 11:17:58 +01:00
Wilfried Chauveau 01597f115c Fixes test-ability of sai drivers 2018-06-12 11:17:58 +01:00
Wilfried Chauveau 81d1099c21 rephrase requirement for SAI_DEFAULT_SAMPLE_RATE as doxygen takes # in comments for links 2018-06-12 11:17:58 +01:00
Wilfried Chauveau 0a03cc3d11 allow doxygen to generate documentation for SAI peripheral 2018-06-12 11:17:58 +01:00
Przemyslaw Stekiel 230e87a2db Add SAI driver implementation for entire MCUXpresso_MCUS family.
This is based on K66F SAI driver.
2018-06-12 11:17:58 +01:00
Przemyslaw Stekiel aab6ee6780 K64F: Enable SAI 2018-06-12 11:17:58 +01:00
Przemyslaw Stekiel 56284e0201 K64F: Add SAI pin definitions 2018-06-12 11:17:58 +01:00
Wilfried Chauveau 7b9ceebef1 Add reference implementation for the NUCLEO_F429ZI
It only supports I²S 16bit data 32bit word Stereo at 16000 sample/second.
The actual implementation might not reflect exactly what the format structure requires.
2018-06-12 11:17:57 +01:00
Wilfried Chauveau f37ade15bd Add reference implementation for the FRDM-K66F.
It only supports I²S 16bit data 32bit word Stereo at 16000
sample/second.
The actual implementation might not reflect exactly what the format
structure requires.
2018-06-11 13:36:22 +01:00
Wilfried Chauveau dc2ad67fa8 initial api design 2018-06-11 13:35:41 +01:00
Martin Kojtal 73cfc7baea
Merge pull request #7135 from k-stachowiak/update-mbedtls-2.10.0-rc1
Update Mbed TLS to version 2.10.0
2018-06-08 10:18:06 +02:00
Cruz Monrreal fd6f3cd4a4
Merge pull request #7144 from k-stachowiak/add-cmac-to-mbedtls
Add configuration options to enable CMAC in mbedtls by default
2018-06-07 14:44:22 -05:00
Cruz Monrreal d216602cbb
Merge pull request #7067 from jeromecoutant/PR_ISM43362
Add ISM43362 driver support for STM32 wifi DISCO boards
2018-06-07 10:17:17 -05:00
Cruz Monrreal e10a3b306d
Merge pull request #7120 from mikaleppanen/dns_fail_corr
Fixed DNS resolution in case all sendto operations fail
2018-06-07 10:13:03 -05:00
Cruz Monrreal a25b9f390f
Merge pull request #6999 from evva-sfw/feature/extend_error_warning_msg_as_link
Extend feature which displays errors/warnings as Link
2018-06-07 10:11:23 -05:00
Cruz Monrreal 38f9519ccc
Merge pull request #6949 from OpenNuvoton/nuvoton_m23_bootloader
Support mbed_start_application for Cortex-M23
2018-06-07 10:10:46 -05:00
Cruz Monrreal bacf6a9dec
Merge pull request #6860 from andrewleech/nordic_ble_config
Nordic BLE: Allow configuration of softdevice parameters
2018-06-07 10:10:23 -05:00
Cruz Monrreal 7dc4848265
Merge pull request #7124 from theotherjimmy/term-notify-singletest
Tool: Use TerminalNotifier in singletest
2018-06-07 10:09:26 -05:00
Cruz Monrreal 277d5d6121
Merge pull request #7111 from cmonr/py3-exporter-issue
Python 3 makefile export issue
2018-06-07 10:09:07 -05:00
Cruz Monrreal 1ca017963e
Merge pull request #7136 from 0xc0170/fix_error_memcpy
error: fix undeclared memcpy
2018-06-07 10:08:37 -05:00
Cruz Monrreal fd666ffeef
Merge pull request #7143 from jeromecoutant/PR_LPTICKER_REMOVE
STM32 : few targets does not support LPTICKER
2018-06-07 10:08:07 -05:00
Krzysztof Stachowiak 843b1a19e7 Update Mbed TLS after corrections for the import procedure 2018-06-07 10:25:21 +02:00
Martin Kojtal 835d38db58
Merge pull request #7132 from theotherjimmy/mbed2-use-notify
Tool: Use TerminalNotifier in Mbed 2 release
2018-06-07 09:17:45 +02:00
Krzysztof Stachowiak 7eeb694dd9 Update MbedTLS to 2.10.0 (from an RC) 2018-06-06 17:31:18 +02:00
Krzysztof Stachowiak 8c9a967ef2 Improve the documenting comment in a config adjustment script 2018-06-06 15:33:28 +02:00
Krzysztof Stachowiak 9c6a85a6e9 Add configuration options to enable CMAC in mbedtls by default 2018-06-06 13:36:28 +02:00
jeromecoutant 202fc8af18 STM32 : few targets does not support LPTICKER 2018-06-06 13:33:18 +02:00
Martin Kojtal 4f90f4c735 error: fix undeclared memcpy
Some targets do not get string header file in, results in the warning:
implicit declaration of function 'memcpy'
2018-06-06 09:00:27 +01:00
Krzysztof Stachowiak f85e3f6177 Update Mbed TLS do version 2.10.0-rc1 2018-06-06 09:13:06 +02:00
Jimmy Brisson 18bdf562af Use Notifier API when building mbed2 2018-06-05 13:26:04 -05:00
Cruz Monrreal 4fcaa56b77
Merge pull request #6914 from 0xc0170/fix_build_notifier
build: fix notifier typo and passing to builds API
2018-06-05 10:59:47 -05:00
Jimmy Brisson 8d03fe2de4 Use TerminalNotifier in singletest 2018-06-05 09:31:20 -05:00
Martin Kojtal 74aec930e6
Merge pull request #7081 from OpenNuvoton/nuvoton_fix_crc
Fix mbed_crc_ctor is missing in some MbedCRC constructor
2018-06-05 14:17:09 +02:00
Martin Kojtal ade3d0c77d
Merge pull request #7095 from yossi2le/device-key-fix-coverity-issues
Fixing some coverity issues.
2018-06-05 14:15:21 +02:00
Martin Kojtal eddaa8b51b
Merge pull request #6515 from marcemmers/mbed_ticker_api
Only schedule mbed_ticker interrupt if queue->head is changed
2018-06-05 14:14:52 +02:00
Mika Leppänen 9ec1ec90d9 Fixed DNS resolution in case all sendto operations fail
DNS resolver now counts how many sendto operations are successful
during one DNS server attempt cycle (attempting to contact DNS
servers from 0 to last index, including stack specific ones). If all
socket sendto operations fail, DNS resolution is aborted.

If one or more are successful, DNS resolution is continued until
total network attempts count is reached or all sendto operations
fails during a cycle.
2018-06-05 14:29:48 +03:00
jeromecoutant 0c6844d9c3 ISM pin configuration is now in ISM driver json file 2018-06-05 12:02:17 +02:00