Comments (4)
Hi @Xeenych,
Thank you for your contribution. A fix for this code below :
will be published soon in a future release (STM32L1Cube V1.10.3) looks like the following:
+ #if defined (FLASH_CUT1) || defined (FLASH_CUT2)
+ #define FLASH_SIZE (uint32_t)((*((uint32_t *)FLASHSIZE_BASE)&0xFFU) * 1024U)
+ #else /*FLASH_CUT3 || FLASH_CUT4 || FLASH_CUT5 || FLASH_CUT6*/
+ #define FLASH_SIZE (uint32_t)((*((uint32_t *)FLASHSIZE_BASE)&0xFFFFU) * 1024U)
+ #endif
In the CMSIS files, a specific definition for all device categories (Cat.1, Cat.2, Cat.3, Cat.4, Cat.5 and Cat.6) is added as follows for Cat.2 devices :
+ /*
+ * @brief Specific device feature definitions (not present on all devices in the STM32L1 serie)
+ */
+ #define FLASH_CUT2
Thank you again for your contribution.
With regards,
from stm32cubel1.
Hi @Xeenych,
Thank you for your contribution. The issue you pointed out has been confirmed, a fix will be implemented and made available in future release. Thank you once again for your contribution.
With regards,
from stm32cubel1.
ST Internal Reference: 96492
from stm32cubel1.
Hi @Xeenych,
I hope you are fine.
The issue you reported has been fixed in the frame of version v1.10.3 of the STM32CubeL1 published recently on GitHub.
Thank you again for having reported.
With regards,
from stm32cubel1.
Related Issues (13)
- HRTIM_TIM_TypeDef is undefined HOT 1
- USBD_ClrFeature does not handle HALT condition per USB specification HOT 7
- FW_L1 V1.10.3 does not set VTOR in SystemInit() by default, which causes HardFault. HOT 3
- stm32l151xc.h lacks definitions for channel 27 to 29 in ADC sample time register 1 HOT 3
- Preprocessor directives in "stm32l1xx_ll_spi.h" HOT 2
- HID is not standards compliant like claimed HOT 4
- FLASH_SIZE incorrectly reports flash size for cat.3 devices with DEV_ID 0x436 HOT 1
- SystemCoreClockUpdate() does not work correctly when SYSCLK source is HSI. HOT 3
- Duplicate defines when using CMSIS 5 headers HOT 9
- Missing linkerfiles templates for gcc HOT 5
- GPIOx BRR registers incorrectly defined HOT 2
- HAL_Delay adds 1ms extra (1.4.0 version) HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stm32cubel1.