Modification of Mbed-dev library for LQFP48 package microcontrollers: STM32F103C8 (STM32F103C8T6) and STM32F103CB (STM32F103CBT6) (Bluepill boards, Maple mini etc. )
Fork of mbed-dev by
Warning!
This library is unable to work due to huge changes in the mbed toolchain. Do not use with mbed online!
New wersion:
Import librarymbed-STM32F103C8
Modification of Mbed-dev library for LQFP48 package microcontrollers: STM32F103C8 (STM32F103C8T6) and STM32F103CB (STM32F103CBT6) (Bluepill boards, Maple mini etc. )
Import librarymbed-STM32F103C8
Modification of Mbed-dev library for LQFP48 package microcontrollers: STM32F103C8 (STM32F103C8T6) and STM32F103CB (STM32F103CBT6) (Bluepill boards, Maple mini etc. )
Library for STM32F103C8 (Bluepill boards etc.).
Use this instead of mbed library.
This library allows the size of the code in the FLASH up to 128kB. Therefore, code also runs on microcontrollers STM32F103CB (eg. Maple mini).
But in the case of STM32F103C8, check the size of the resulting code would not exceed 64kB.
To compile a program with this library, use NUCLEO-F103RB as the target name. !
Changes:
- Corrected initialization of the HSE clock (mbed bug), allowing the use of on-board xtal (8MHz).(1)
- Additionally, it also set USB clock (48Mhz).(2)
- Definitions of pins and peripherals adjusted to LQFP48 case.
- Board led LED1 is now PC_13 (3)
- USER_BUTTON is now PC_14 (4)
notes
(1) - In case 8MHz xtal on board, CPU frequency is 72MHz. Without xtal is 64MHz.
(2) - Using the USB interface is only possible if STM32 is clocking by on-board 8MHz xtal or external clock signal 8MHz on the OSC_IN pin.
(3) - On Bluepill board led operation is reversed, i.e. 0 - led on, 1 - led off.
(4) - Bluepill board has no real user button
History
Change peripherals and pins definitions from LQFP64 to LQFP48 case.;
2016-08-29, by mega64 [Mon, 29 Aug 2016 01:00:12 +0000] rev 145
Change peripherals and pins definitions from LQFP64 to LQFP48 case.;
Bug fix (system_stm32f1xx.c) initialization HSE with external xtal (e.g. bluepill). Remove unused files.
2016-08-28, by mega64 [Sun, 28 Aug 2016 17:20:54 +0000] rev 144
Bug fix (system_stm32f1xx.c) initialization HSE with external xtal (e.g. bluepill). Remove unused files.
Added targets.json file for the supported targets in the release
2016-08-02, by screamer [Tue, 02 Aug 2016 14:07:36 +0000] rev 143
Added targets.json file for the supported targets in the release
Synchronized with git revision db49c1edebc3516ee61197641f7cfbdeaea5482f
2016-05-26, by mbed_official [Thu, 26 May 2016 10:00:14 +0100] rev 142
Synchronized with git revision db49c1edebc3516ee61197641f7cfbdeaea5482f
Full URL: https://github.com/mbedmicro/mbed/commit/db49c1edebc3516ee61197641f7cfbdeaea5482f/
Release v121
Synchronized with git revision b32f7a9aaf404cba2342b4f3cf268c581046626b
2016-05-24, by mbed_official [Tue, 24 May 2016 13:30:14 +0100] rev 141
Synchronized with git revision b32f7a9aaf404cba2342b4f3cf268c581046626b
Full URL: https://github.com/mbedmicro/mbed/commit/b32f7a9aaf404cba2342b4f3cf268c581046626b/
Synchronized with git revision 24136afd3f87e9580dd3d3fcae28e9b9f166af3e
2016-05-24, by mbed_official [Tue, 24 May 2016 11:30:12 +0100] rev 140
Synchronized with git revision 24136afd3f87e9580dd3d3fcae28e9b9f166af3e
Full URL: https://github.com/mbedmicro/mbed/commit/24136afd3f87e9580dd3d3fcae28e9b9f166af3e/
Fix timer #816 issue for STM32F0 and STM32F1
Synchronized with git revision 39fa25d77e83d5ee53d6f77b30dc0c2d380fe034
2016-05-23, by mbed_official [Mon, 23 May 2016 16:00:17 +0100] rev 139
Synchronized with git revision 39fa25d77e83d5ee53d6f77b30dc0c2d380fe034
Full URL: https://github.com/mbedmicro/mbed/commit/39fa25d77e83d5ee53d6f77b30dc0c2d380fe034/
Synchronized with git revision 045d99bbaa9199c6d99fd701d1c942b4202a6f7d
2016-05-23, by mbed_official [Mon, 23 May 2016 15:45:15 +0100] rev 138
Synchronized with git revision 045d99bbaa9199c6d99fd701d1c942b4202a6f7d
Full URL: https://github.com/mbedmicro/mbed/commit/045d99bbaa9199c6d99fd701d1c942b4202a6f7d/
[STM32F0xx] Move CAN API to new directory structure
Synchronized with git revision b395dd5956dcbb5c3f4336d2d917210041741871
2016-05-23, by mbed_official [Mon, 23 May 2016 15:15:12 +0100] rev 137
Synchronized with git revision b395dd5956dcbb5c3f4336d2d917210041741871
Full URL: https://github.com/mbedmicro/mbed/commit/b395dd5956dcbb5c3f4336d2d917210041741871/
Synchronized with git revision f74fc12313356f861665b8e8a11afcc972a543fc
2016-05-23, by mbed_official [Mon, 23 May 2016 14:15:16 +0100] rev 136
Synchronized with git revision f74fc12313356f861665b8e8a11afcc972a543fc
Full URL: https://github.com/mbedmicro/mbed/commit/f74fc12313356f861665b8e8a11afcc972a543fc/