mbed-dev library fork for STM32F100R6 microcontroller (LQFP64, 24MHz, 32kB flash, 4kB ram, 2-channel DAC, HDMI CEC, very cheap) . Use in online compiler (instead mbed library) with selected platform Nucleo F103RB.
Fork of mbed-dev by
Tested and working:
- blink
- system frequency 24Mhz (with external xtal 8Mhz)
- stdio uart on pins PA_2-PA_3
- Serial on pins PA_9-PA_10
- AnalogOut on pins PA_4, PA_5 (DAC)
- AnalogIn on pins PA_0, PA_1, PA_2, PA_3, PA_4, PA_5, PA_6, PA_7, PB_0, PB_1, PC_0, PC_1, PC_2, PC_3, PC_5, PC_5
Notes:
- TIM2 is used for mbed needs (eq Timer, Ticker, wait etc. )
Simple test program:Import programtestF100R6
simple tests for STM32F100R6 microcontroller with dedicated library
Revision 51:25d18ad142c8, committed 2017-03-19
- Comitter:
- mega64
- Date:
- Sun Mar 19 23:16:34 2017 +0000
- Parent:
- 50:d2a4a5ee894a
- Commit message:
- fixed incompatibility with the modified mbed environment Ch.n+1
Changed in this revision
--- a/api/I2C.h Tue Feb 14 23:44:18 2017 +0000 +++ b/api/I2C.h Sun Mar 19 23:16:34 2017 +0000 @@ -20,6 +20,10 @@ #if DEVICE_I2C +// for 100F6 not implemented (N.S.) +#undef DEVICE_I2C_ASYNCH + + #include "i2c_api.h" #if DEVICE_I2C_ASYNCH
--- a/api/I2CSlave.h Tue Feb 14 23:44:18 2017 +0000 +++ b/api/I2CSlave.h Sun Mar 19 23:16:34 2017 +0000 @@ -20,6 +20,10 @@ #if DEVICE_I2CSLAVE +// for 100F6 not implemented (N.S.) +#undef DEVICE_I2C_ASYNCH + + #include "i2c_api.h" namespace mbed {
--- a/hal/i2c_api.h Tue Feb 14 23:44:18 2017 +0000 +++ b/hal/i2c_api.h Sun Mar 19 23:16:34 2017 +0000 @@ -21,6 +21,10 @@ #if DEVICE_I2C +// for 100F6 not implemented (N.S.) +#undef DEVICE_I2C_ASYNCH + + /** * @defgroup I2CEvents I2C Events Macros *