STM32F031K6 Fork of mbed library sources. PLL are disabled for lower clock.

Fork of mbed-dev by mbed official

History

Forked for F031K6 for UART & I2C default tip

2016-05-31, by Dot [Tue, 31 May 2016 22:46:42 +0000] rev 133

Forked for F031K6 for UART & I2C


Synchronized with git revision a1914e17f302c278bbd248878b4255c9b884aa71

2016-05-17, by mbed_official [Tue, 17 May 2016 14:45:12 +0100] rev 132

Synchronized with git revision a1914e17f302c278bbd248878b4255c9b884aa71

Full URL: https://github.com/mbedmicro/mbed/commit/a1914e17f302c278bbd248878b4255c9b884aa71/

[STM32F4xx] bugfix for PR #1707


Synchronized with git revision 909c76f36c371b38afc09b65949ed944189bb90a

2016-05-17, by mbed_official [Tue, 17 May 2016 12:45:11 +0100] rev 131

Synchronized with git revision 909c76f36c371b38afc09b65949ed944189bb90a

Full URL: https://github.com/mbedmicro/mbed/commit/909c76f36c371b38afc09b65949ed944189bb90a/

we changed the sequence of ROM section to "<ro code> <ro data>" when compiled with the IAR.

When the ROM area is large, PC could not jump properly in the program area.
The other development environment of this sequence ("ro code, ro data").


Synchronized with git revision 1d1f7ab1330d44cc5697c682173f7090a7d6b1cb

2016-05-16, by mbed_official [Mon, 16 May 2016 12:00:12 +0100] rev 130

Synchronized with git revision 1d1f7ab1330d44cc5697c682173f7090a7d6b1cb

Full URL: https://github.com/mbedmicro/mbed/commit/1d1f7ab1330d44cc5697c682173f7090a7d6b1cb/

* [STM32F4] Get PCLK1 clock and set initial CAN frequency

CAN bus opperates on APB1 peripheral clock due to that we need to get PCLK1 freq
in *can_frequency()* function to properly calculate CAN speed and reconfigure
BS1, BS2, SJW bits.

Also to fully communicate with other ST platform we set the initical CAN
frequency to 100kb/s to be able to work with the slowest platform which supports
CAN, which is NUCLEO_F303K8 (APB1 is 32MHz).

Change-Id: I10af3aa8d715dd61c9d1b216ef813193449fecbd

* [STM32F4] Fix for CAN2 interrupt index

CAN2 interrupt index was wrong leading to not properly registering interrupt.
Having this fix allow us to pass MBED_30 test.

Change-Id: I33f9ca7c81286f7746a8f8352619e213bdf9756a


Synchronized with git revision 7bd986845c110b2c4e8bc58739a74757dd6ff493

2016-05-13, by mbed_official [Fri, 13 May 2016 16:00:11 +0100] rev 129

Synchronized with git revision 7bd986845c110b2c4e8bc58739a74757dd6ff493

Full URL: https://github.com/mbedmicro/mbed/commit/7bd986845c110b2c4e8bc58739a74757dd6ff493/

* [STM32F1 F4] Fix #1705 MBED_37

The transmit data register needs to be flushed at the initialisation of
the uart.
In case previous transmission was interrupted by a uart init, uart may
contain a char that will be transmitted at the next start.

This is the case in MBED_37 test (serial_auto_nc_rx).
The MCU is writting {{start}}\n
At the moment of the \n the main program is handling 'new serial'. The
next time the main program is handling a printf, the previous \n is
still present in the uart->DR register and is transmitted.
This cannot happen anymore with this commit

* [STM32_F1] Fix #1705 MBED_37 by resetting the uart


Synchronized with git revision 6483faedd2d82f36a7b5e03540fc62721c1fef38

2016-05-13, by mbed_official [Fri, 13 May 2016 09:15:11 +0100] rev 128

Synchronized with git revision 6483faedd2d82f36a7b5e03540fc62721c1fef38

Full URL: https://github.com/mbedmicro/mbed/commit/6483faedd2d82f36a7b5e03540fc62721c1fef38/

[STM32F7] Fix end of conversion


Synchronized with git revision 3210b40a919c76e4c0062c036eb0c67acd043372

2016-05-11, by mbed_official [Wed, 11 May 2016 17:15:11 +0100] rev 127

Synchronized with git revision 3210b40a919c76e4c0062c036eb0c67acd043372

Full URL: https://github.com/mbedmicro/mbed/commit/3210b40a919c76e4c0062c036eb0c67acd043372/

mbed lib v120


Synchronized with git revision 7b4f4fc40d0b72877a32d9e786ac4ddd76927c92

2016-05-09, by mbed_official [Mon, 09 May 2016 18:45:11 +0100] rev 126

Synchronized with git revision 7b4f4fc40d0b72877a32d9e786ac4ddd76927c92

Full URL: https://github.com/mbedmicro/mbed/commit/7b4f4fc40d0b72877a32d9e786ac4ddd76927c92/

Changed the heap size to the correct MCU heap size for SRAM1


Synchronized with git revision ad75bdcde34d7da9d54b7669010c7fb968a99c7c

2016-05-09, by mbed_official [Mon, 09 May 2016 18:30:12 +0100] rev 125

Synchronized with git revision ad75bdcde34d7da9d54b7669010c7fb968a99c7c

Full URL: https://github.com/mbedmicro/mbed/commit/ad75bdcde34d7da9d54b7669010c7fb968a99c7c/

[STMF1] Stm32f1_hal_cube update


Synchronized with git revision 53b54323ba1513a5aa427d241594a7c0d1ed8786

2016-05-05, by mbed_official [Thu, 05 May 2016 21:00:11 +0100] rev 124

Synchronized with git revision 53b54323ba1513a5aa427d241594a7c0d1ed8786

Full URL: https://github.com/mbedmicro/mbed/commit/53b54323ba1513a5aa427d241594a7c0d1ed8786/

Fix pwmout for STM32F3