浏览代码

Fixed missing section for Raspberry Pi Pico

Michael Ring 1 年之前
父节点
当前提交
7c3ab69c50
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      compiler/systems/t_embed.pas

+ 2 - 0
compiler/systems/t_embed.pas

@@ -867,6 +867,8 @@ begin
       Add('    {');
       Add('    _data = .;');
       Add('    *(.data .data.*)');
+      // Special Section for the Raspberry Pico, needed for linking to spi
+      Add('    *(.time_critical*)');
       Add('    KEEP (*(.fpc .fpc.n_version .fpc.n_links))');
       Add('    _edata = .;');
       if embedded_controllers[current_settings.controllertype].flashsize<>0 then