beckus / stm32_p103_demos

A suite of demo applications for the Olimex STM32 P103 Development Kit
101 stars 58 forks source link

Adaptation to STMicro's stm32cubef1 #3

Open jserv opened 9 years ago

jserv commented 9 years ago

The current source tree consists of STMicro's old firmware library, which is not released under the open source compatible terms. However, the latest STM32CubeF1 reimplements the peripheral routines and releases them under BSD 3-Clause ("BSD New" or "BSD Simplified") license as following:

 /* COPYRIGHT(c) 2014 STMicroelectronics
  *
  * Redistribution and use in source and binary forms, with or without modification,
  * are permitted provided that the following conditions are met:
  *   1. Redistributions of source code must retain the above copyright notice,
  *      this list of conditions and the following disclaimer.
  *   2. Redistributions in binary form must reproduce the above copyright notice,
  *      this list of conditions and the following disclaimer in the documentation
  *      and/or other materials provided with the distribution.
  *   3. Neither the name of STMicroelectronics nor the names of its contributors
  *      may be used to endorse or promote products derived from this software
  *      without specific prior written permission.
  */

After my initial work of migration to stm32cubef1, both demos/blink_flash and demos/button work as expected.

beckus commented 9 years ago

Thank you for reporting this. I will look into it when I can. Feel free to submit what you have worked on - I can merge it into the repository and/or use it as a reference.