stmicroelectronics / cmsis_device_f1 Goto Github PK
View Code? Open in Web Editor NEWProvides the STM32Cube MCU Component "cmsis_device_f1" of the STM32F1 series.
License: Apache License 2.0
Provides the STM32Cube MCU Component "cmsis_device_f1" of the STM32F1 series.
License: Apache License 2.0
Describe the set-up
arm-eabi-none-gcc
and an unmodified CMSIS install.Describe the bug
The default clock speed for all F1xx chips is wrong. It is set to 16000000, but should be 8000000, see
https://github.com/STMicroelectronics/cmsis_device_f1/blob/master/Source/Templates/system_stm32f1xx.c#L141
How To Reproduce
Any CMSIS-based build which does not reconfigure the clock tree will have the wrong SystemCoreClock
value.
This will cause baudrate calculations to be wrong, for example.
The modules that you suspect to be the cause of the problem (Driver, BSP, MW ...)
Source/Templates/system_stm32f1xx.c
, line 141
The use case that generates the problem
See 1.
How we can reproduce the problem
See 1.
Additional context
This bug was first reported here: platformio/platform-ststm32#698
Screenshots
N/A.
Could not set proper VECT_TAB_OFFSET in a case with a bootloader.
Compiling .pio/build/genericSTM32F103C8/src/display.o
/home/marat/.platformio/packages/framework-cmsis-stm32f1/Source/Templates/system_stm32f1xx.c:95:0: warning: "VECT_TAB_OFFSET" redefined
#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
<command-line>:0:0: note: this is the location of the previous definition
A possible solution in the attachment:
A commit named v4.3.2 was push but no proper release was made, could someone make a formal release for 4.3.2
Caution
The Issues are strictly limited for the reporting of problem encountered with the software provided in this project.
For any other problem related to the STM32 product, the performance, the hardware characteristics and boards, the tools the environment in general, please post a topic in the ST Community/STM32 MCUs forum.
Describe the set-up
Describe the bug
A clear and concise description of what the bug is.
How To Reproduce
Indicate the global behavior of your application project
The modules that you suspect to be the cause of the problem (Driver, BSP, MW ...)
The use case that generates the problem
How we can reproduce the problem
Additional context
If you have a first analysis or patch correction, thank you to share your proposal.
Screenshots
If applicable, add screenshots to help explain your problem.
I'm building a linux toolchain for STM32, but I found some file's license does not permitted distribution it, they are in directory Source/Templates/gcc/linker
These files with this license:
(c)Copyright Ac6.
You may use this file as-is or modify it according to the needs of your
project. Distribution of this file (unmodified or modified) is not
permitted. Ac6 permit registered System Workbench for MCU users the
rights to distribute the assembled, compiled & linked contents of this
file as part of an application binary file, provided that it is built
using the System Workbench for MCU toolchain.
Can you provide a free/open-source license or replace it to free/open-source licensed linker script.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.