View Issue Details

IDProjectCategoryView StatusLast Update
0034570FPCCompilerpublic2019-01-02 00:16
ReporterSimon AmeisAssigned ToFlorian 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.3.1Product Build 
Target VersionFixed in Version3.3.1 
Summary0034570: [Patch] Linker settings for STM32F091 controllers
DescriptionPatch adds mcu STM32F091* to compiler unit t_embed.pas; thus internal error 200902011 is not raised anymore
Steps To ReproduceCompile minimal program file with parameters:
-Tembedded
-Parm
-WpSTM32F091RC
-CfSOFT
-CITHUMB
-CpARMV6M
Additional InformationI don't really know, what I'm changing here. However all other supported ARM MCUs with THUMB instruction set are listed there.
Tagsembedded, patch, STM32
Fixed in Revision40742
FPCOldBugId
FPCTarget
Attached Files
  • stm32f091_t_embed.patch (599 bytes)
    diff --git "a/C:\\Users\\simon\\AppData\\Local\\Temp\\TortoiseGit\\t_embed-864e2fa.000.pas" "b/C:\\FPC\\fpcsrc\\compiler\\systems\\t_embed.pas"
    index 3a598d5694..336e172c79 100644
    --- "a/C:\\Users\\simon\\AppData\\Local\\Temp\\TortoiseGit\\t_embed-864e2fa.000.pas"
    +++ "b/C:\\FPC\\fpcsrc\\compiler\\systems\\t_embed.pas"
    @@ -359,6 +359,13 @@ begin
           ct_stm32f051r6,
           ct_stm32f051r8,
     
    +  	  ct_stm32f091cc,
    +  	  ct_stm32f091cb,
    +  	  ct_stm32f091rc,
    +  	  ct_stm32f091rb,
    +  	  ct_stm32f091vc,
    +  	  ct_stm32f091vb,
    +
           ct_stm32f100x4,
           ct_stm32f100x6,
           ct_stm32f100x8,
    

Activities

Simon Ameis

2018-11-19 22:11

reporter  

stm32f091_t_embed.patch (599 bytes)
diff --git "a/C:\\Users\\simon\\AppData\\Local\\Temp\\TortoiseGit\\t_embed-864e2fa.000.pas" "b/C:\\FPC\\fpcsrc\\compiler\\systems\\t_embed.pas"
index 3a598d5694..336e172c79 100644
--- "a/C:\\Users\\simon\\AppData\\Local\\Temp\\TortoiseGit\\t_embed-864e2fa.000.pas"
+++ "b/C:\\FPC\\fpcsrc\\compiler\\systems\\t_embed.pas"
@@ -359,6 +359,13 @@ begin
       ct_stm32f051r6,
       ct_stm32f051r8,
 
+  	  ct_stm32f091cc,
+  	  ct_stm32f091cb,
+  	  ct_stm32f091rc,
+  	  ct_stm32f091rb,
+  	  ct_stm32f091vc,
+  	  ct_stm32f091vb,
+
       ct_stm32f100x4,
       ct_stm32f100x6,
       ct_stm32f100x8,

Simon Ameis

2018-11-19 22:13

reporter   ~0112081

The original MCU definitions were added with 0032484

Florian

2019-01-02 00:16

administrator   ~0113078

Thanks, applied.

Issue History

Date Modified Username Field Change
2018-11-19 22:11 Simon Ameis New Issue
2018-11-19 22:11 Simon Ameis File Added: stm32f091_t_embed.patch
2018-11-19 22:12 Simon Ameis Tag Attached: embedded
2018-11-19 22:12 Simon Ameis Tag Attached: patch
2018-11-19 22:12 Simon Ameis Tag Attached: STM32
2018-11-19 22:13 Simon Ameis Note Added: 0112081
2019-01-02 00:16 Florian Fixed in Revision => 40742
2019-01-02 00:16 Florian Note Added: 0113078
2019-01-02 00:16 Florian Status new => resolved
2019-01-02 00:16 Florian Fixed in Version => 3.3.1
2019-01-02 00:16 Florian Resolution open => fixed
2019-01-02 00:16 Florian Assigned To => Florian