Commit Graph

9299 Commits (b64f0870a46bbe6af06417e5511c6fa01707926b)

Author SHA1 Message Date
bcostm b64f0870a4 Add first pin, port and objects files 2016-12-19 14:38:57 +00:00
tomoyuki yamanaka c01027b2b4 Fix frequency function of CAN driver.
Until now, when the frequency function of CAN driver was executed, signal no output, and the frequency could not be changed.
Since there was an error in the frequency changing procedure I modified it.
2016-12-19 14:38:55 +00:00
Simon D Hughes 38b4e1158c Corrections of debug trace statements which prevent compilation when CFSTORE_DEBUG is defined. 2016-12-19 14:38:54 +00:00
Brian Daniels ddf1de5152 Renames i2c_api.c for STM32F1 targets to fix IAR exporter.
The IAR build system does not allow two files to have the same name.
This renames the i2c_api.c file for the STM32F1 family to
i2c_api_stm32f1.c to avoid this issue. The common i2c_api.c file shared
among all ST targets is not actually used for STM32F1 targets as it
protected with an #ifdef guard.
2016-12-19 14:38:52 +00:00
jeromecoutant 00d58f0fa3 STM32L1 : correct ST HAL API call
- RCC init: unused clock was enabled without any init parameters
- RCC init: one PLL parameter was missing
- ADC: a parameter setting was missing to init clock
- GPIO: mode was not allowed by ST HAL API
- ll_utils: compilation issue
2016-12-19 14:38:50 +00:00
jeromecoutant 888c52429c STM32L1 : refactor stm32l1xx_hal_conf.h and map ST HAL assert into MBED assert 2016-12-19 14:38:49 +00:00
bcostm deecd6e5ac Add SERIAL_FC in targets.json/device_has field for NUCLEO_F103RB 2016-12-19 14:38:47 +00:00
bcostm 09cf02e0ba Add external declaration of PinMap_UART_RTS/CTS[] const tables 2016-12-19 14:38:46 +00:00
Kevin Gillespie 95ccd4d6df Fixing serial readable function. 2016-12-19 14:38:44 +00:00
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