Commit Graph

9590 Commits (mbed-os-5.3)

Author SHA1 Message Date
Mahadevan Mahesh bbdcae3c0a K66F: Enable LWIP feature
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-19 14:38:42 +00:00
Laurent MEUNIER 43854b7365 STM32 NUCLEO-L152RE Update system core clock to 32MHz
Even when HSE is used, it is possible to get a 32MHz system clock
8MHz x PLLMUL=12 % PLLDIV=2 = 32MHz

And we still get 48MHz USB clock:
8MHz x PLLMUL=12 % 2 = 48MHz

This allows to take full benefit of the CPU capability.
2016-12-19 14:38:41 +00:00
adustm f114ccf94f Add CAN2 missing pins for connector CN12 2016-12-19 14:38:39 +00:00
Russ Butler 0be2f95e83 Increase stack size in malloc test for Cortex-A
Increase the stack size used in the malloc test to prevent stack
overflows on Cortex-A devices.
2016-12-19 14:38:38 +00:00
Sarah Marsh c5c1879ddb Catch specific exception for TargetNotSupported 2016-12-19 14:38:36 +00:00
Sarah Marsh 1c6d6059a8 IAR export will not fail in the absence of a CMSIS pack 2016-12-19 14:38:35 +00:00
Michel Jaouen d6cbf84623 USB_4 : test OK with IAR ,GCC_ARM(limitation to ARM not needed) 2016-12-19 14:38:33 +00:00
Jimmy Brisson da3ac529d5 Enabled example exporting Filter ides by toolchains 2016-12-19 14:38:31 +00:00
Laurent MEUNIER 2ac3196496 STM32 I2C - 1MHZ frequency is allowed
So make the assert to cover all possible values
Also assert applies only for I2C_IP_VERSION_V2.
Also in case of I2C_IP_VERSION_V1, the HAL makes the proper
checks and can dynamically scale the frequency in case of
intermediate value.
2016-12-19 14:38:30 +00:00
Laurent MEUNIER ca12282118 enable I2C ASYNCH
the I2C_ASYNCH feature is  added to all STM32 except
F1 family for now. Will be added when HAL update is done.
2016-12-19 14:38:28 +00:00
Laurent MEUNIER 77576190c6 HAL I2C (V2) sequential transmit / receive
In case of sequential transmit / receive, there is a need to:
- not use the reload option
- generate a new START on each new transaction

This applies to all HAL supporting the IP version V2.
2016-12-19 14:38:27 +00:00
Laurent MEUNIER a8454a2766 HAL F2: I2C fix btf / rxne cases
Applying the same fix as in L1 and F4
2016-12-19 14:38:25 +00:00
Laurent MEUNIER b28687ffca Add more supported boards to I2C master slave asynch test 2016-12-19 14:38:24 +00:00
Laurent MEUNIER 645d44e2eb HAL L1: I2C fix btf / rxne cases
This is an alignement to F4 HAL as the same IP is used.
Next official HAL delivery update hall will include the same alignement.
2016-12-19 14:38:22 +00:00
Laurent MEUNIER 934a8cfb05 HAL L0: I2C / DMA updates
This is prelim update before official V1.8.0 HAL to the needed HAL API
available as in F0 HAL which is using the same IP.
2016-12-19 14:38:20 +00:00
Laurent MEUNIER 300c0b266e Make most of the I2C code into a common file
Since most of the code in i2c_api.c is now relying on STM32 HAL, there
is now a possibility to make a common usage of this code accross families.

The IP version definition is introduced per family, to allow a switch of
functionnalities, especially the frequency management which differs.
BTw, we fix the F0 frequency settings at the same time.

F1 is managed for now as an exception as the HAL API for sequential transmit
/receive is not yet available (coming soon)
2016-12-19 14:38:19 +00:00
Mahadevan Mahesh c54fd786e6 K64F DSPI Driver: Fix errors where DSPI state is incorrectly kept busy
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-19 14:38:17 +00:00
Mahadevan Mahesh 7ad3026e76 K64F SPI Update: Implement Asynch API's for SPI
Signed-off-by: Mahadevan Mahesh <Mahesh.Mahadevan@nxp.com>
2016-12-19 14:38:16 +00:00
jeromecoutant 58be2d4b67 NUCLEO_F429ZI has integrated LSE 2016-12-19 14:38:14 +00:00
sarahmarshy 63f8f86ed5 index.json update instructions 2016-12-19 14:38:12 +00:00
sarahmarshy 52adfe986e Fix generic ARM CPU target in uvision
Generic CPU target not found correctly, because it was not accessing the Cache's index.

@theotherjimmy
2016-12-19 14:38:11 +00:00
Mika Leppänen f1c1cf4929 Squashed 'features/FEATURE_LWIP/lwip-interface/lwip/' changes from d7a6c6d..cd60f73
cd60f73 Merge branch 'mbed-os-lwip-rc2-maint' into mbed-os-lwip-rc2-maint-prefixed
3a50479 fixed bug #49676 (Possible endless loop when parsing dhcp options) & added unit test for that

git-subtree-dir: features/FEATURE_LWIP/lwip-interface/lwip
git-subtree-split: cd60f73f110829e00df46593fea5db26bcfb1662
2016-12-19 14:38:09 +00:00
Jimmy Brisson 7715606c02 Fix project profile parsing
thanks @sdive!
2016-12-19 14:38:08 +00:00
Radhika bf52a8d939 Formatting changes as per guidelines 2016-12-19 14:38:06 +00:00
Radhika aad54b90c3 Register map changes for RevG 2016-12-19 14:38:04 +00:00
jeromecoutant 8e54880eab STM32L476: comments update 2016-12-19 14:38:03 +00:00
jeromecoutant 6a101b4021 STM32L476: no HSE is present in NUCLEO and DISCO boards 2016-12-19 14:38:01 +00:00
adustm 4496908a96 fix #2956. Add HAL_DeInit function if gpio_irq destructor This allows ci-test-shield tests-api-interruptin to pass 2016-12-19 14:38:00 +00:00
0xc0170 58bf08b688 I2C - correct return values for write functions
The correction was made based on the i2c hal, and some target implementations
(early implementations like nxp 1768, freescale KLXX).
2016-12-19 14:37:58 +00:00
Steven Cooreman ec29f2e3f2 Revert "[EFR32] Adding hardware acceleration for mbed TLS"
This reverts commit c0301b15d2.
2016-12-19 14:37:57 +00:00
Steven Cooreman 704bbeebd7 Fix broken file 2016-12-19 14:37:26 +00:00
Steven Cooreman cb69b98fcd Revert "[EFR32] Move the mbedTLS hardware acceleration code to EFR32 family"
This reverts commit a0f62b1e4f.
2016-12-19 14:37:25 +00:00
Steven Cooreman cf461c504f Move Nanostack driver to Nanostack folder
mbed compile doesn't support two different FEATURE_X folders being merged, so we'll have to move our nanostack driver into the Nanostack folder for the time being.
2016-12-19 14:37:23 +00:00
Steven Cooreman 6273dcd467 Reduce test stack sizes on EFR32 2016-12-19 14:37:21 +00:00
Steven Cooreman 8486cb67cf Make RTX using ARMCC aware of reserved stack and heap 2016-12-19 14:37:20 +00:00
Steven Cooreman 4ea645abcc Fix linker script for ARMCC
Updated available RAM size and increased reserved heap to 4K
2016-12-19 14:37:18 +00:00
Steven Cooreman 90e967b1e4 Prevent compiling Nanostack driver without Nanostack 2016-12-19 14:37:16 +00:00
Steven Cooreman 1661a8ac21 fix typo in targets.json 2016-12-19 14:37:15 +00:00
Steven Cooreman 15478b9ffa Make GreenTea respect STDIO baud rate 2016-12-19 14:37:13 +00:00
Steven Cooreman 591761d2d2 Set default USB serial baudrate
Silicon Labs targets use a default, unchangeable baud rate of 115200 on the stdio serial-USB bridge.
2016-12-19 14:37:12 +00:00
Steven Cooreman 47c4f5c46f Move the mbedTLS hardware acceleration code to EFR32 family 2016-12-19 14:37:10 +00:00
Steven Cooreman 008de9d39f Initial radio driver
First check-in of the EFR32 radio driver for Nanostack
2016-12-19 14:37:08 +00:00
Steven Cooreman 24c01c2a7b Adding hardware acceleration for mbed TLS
Initial check-in of hardware acceleration support on EFR32 for mbed TLS (AES, SHA and ECC).
2016-12-19 14:37:07 +00:00
Steven Cooreman f2982dd276 Add initial support for EFR32
Adding target definitions and the HAL implementation for EFR32 Mighty Gecko
2016-12-19 14:35:07 +00:00
Steven Cooreman 29e1e7af2f Move board controller pin setting to config system 2016-12-19 14:35:05 +00:00
Steven Cooreman 162801ecac Move board controller pin setting to config system 2016-12-19 14:35:03 +00:00
ccli8 1458c54f6b Fix spi_master_transfer failed as bit width is 32 2016-12-19 14:35:02 +00:00
ccli8 e1899bc111 Fix button naming error 2016-12-19 14:35:00 +00:00
ccli8 c0e59ab9d2 Correct return of i2c_byte_write() on NAK 2016-12-19 14:34:58 +00:00
ccli8 659cf338c5 Fix CI I2C EEPROM failed 2016-12-19 14:34:57 +00:00