<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem with LPC804 library files in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-LPC804-library-files/m-p/1407407#M47799</link>
    <description>&lt;P&gt;Thank You&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/137574"&gt;@frank_m&lt;/a&gt;&amp;nbsp;Sir for your responce.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*!&lt;BR /&gt;* @file LPC804&lt;BR /&gt;* @version 1.0&lt;BR /&gt;* @date 2018-01-09&lt;BR /&gt;* @brief Device specific configuration file for LPC804 (implementation file)&lt;BR /&gt;*&lt;BR /&gt;* Provides a system configuration function and a global variable that contains&lt;BR /&gt;* the system frequency. It configures the device and initializes the oscillator&lt;BR /&gt;* (PLL) that is part of the microcontroller device.&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;#include &amp;lt;stdint.h&amp;gt;&lt;BR /&gt;#include "fsl_device_registers.h"&lt;/P&gt;&lt;P&gt;extern volatile uint32_t g_Fro_Osc_Freq;&lt;BR /&gt;extern volatile uint32_t g_LP_Osc_Freq;&lt;/P&gt;&lt;P&gt;This is they have metioned an extern but not the original declaration.&lt;/P&gt;&lt;P&gt;does that mean i have to defined it?&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Feb 2022 06:23:49 GMT</pubDate>
    <dc:creator>TDC1333</dc:creator>
    <dc:date>2022-02-01T06:23:49Z</dc:date>
    <item>
      <title>Problem with LPC804 library files</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-LPC804-library-files/m-p/1407399#M47797</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using LPC804 microcontroller, I am using keli v5.36. the problem i am facing is i have made a simple project and called&amp;nbsp; only&amp;nbsp;SystemInit() function in main(). The error is showing as&lt;/P&gt;&lt;P&gt;.\Objects\FLPG_7SEG_LPC804.axf: Error: L6218E: Undefined symbol g_Fro_Osc_Freq (referred from system_lpc804.o).&lt;/P&gt;&lt;P&gt;.\Objects\FLPG_7SEG_LPC804.axf: Error: L6218E: Undefined symbol g_LP_Osc_Freq (referred from system_lpc804.o).&lt;/P&gt;&lt;P&gt;Please help me in resolving the problem and what library file should i include in my project.&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 06:03:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-LPC804-library-files/m-p/1407399#M47797</guid>
      <dc:creator>TDC1333</dc:creator>
      <dc:date>2022-02-01T06:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LPC804 library files</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-LPC804-library-files/m-p/1407405#M47798</link>
      <description>&lt;P&gt;I neither have a LPC804 board, nor do I use the Keil toolchain. The methodology is the same, though.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt; L6218E: Undefined symbol g_Fro_Osc_Freq (referred from system_lpc804.o).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Check where a variable named&amp;nbsp;&lt;FONT face="courier new,courier"&gt;g_Fro_Osc_Freq&lt;/FONT&gt; is referenced in this source (&lt;FONT face="courier new,courier"&gt;system_lpc804.c&lt;/FONT&gt;). There are probably comments describing how and where it is defined, or supposed to come from. For many BSPs, the source is a board-specific header. Perhaps you forgot an include.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;While it would be easy to define and set this variable in your own code, I would try to find out how the Keil environment organizes such board-specific settings.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Keil has a good and active forum as well, by the way.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 06:18:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-LPC804-library-files/m-p/1407405#M47798</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2022-02-01T06:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LPC804 library files</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-LPC804-library-files/m-p/1407407#M47799</link>
      <description>&lt;P&gt;Thank You&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/137574"&gt;@frank_m&lt;/a&gt;&amp;nbsp;Sir for your responce.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*!&lt;BR /&gt;* @file LPC804&lt;BR /&gt;* @version 1.0&lt;BR /&gt;* @date 2018-01-09&lt;BR /&gt;* @brief Device specific configuration file for LPC804 (implementation file)&lt;BR /&gt;*&lt;BR /&gt;* Provides a system configuration function and a global variable that contains&lt;BR /&gt;* the system frequency. It configures the device and initializes the oscillator&lt;BR /&gt;* (PLL) that is part of the microcontroller device.&lt;BR /&gt;*/&lt;/P&gt;&lt;P&gt;#include &amp;lt;stdint.h&amp;gt;&lt;BR /&gt;#include "fsl_device_registers.h"&lt;/P&gt;&lt;P&gt;extern volatile uint32_t g_Fro_Osc_Freq;&lt;BR /&gt;extern volatile uint32_t g_LP_Osc_Freq;&lt;/P&gt;&lt;P&gt;This is they have metioned an extern but not the original declaration.&lt;/P&gt;&lt;P&gt;does that mean i have to defined it?&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 06:23:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-LPC804-library-files/m-p/1407407#M47799</guid>
      <dc:creator>TDC1333</dc:creator>
      <dc:date>2022-02-01T06:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LPC804 library files</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-LPC804-library-files/m-p/1407426#M47800</link>
      <description>&lt;P&gt;As said, I have neither a LPC804 board nor the Keil environment.&lt;/P&gt;&lt;P&gt;Did you try a file search (*.c;*.h;*.asm) for the variable name &lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;g_Fro_Osc_Freq&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;?&lt;/P&gt;&lt;P&gt;Where is the variable&amp;nbsp;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;g_LP_Osc_Freq&lt;/SPAN&gt;&lt;/FONT&gt; defined, which does not cause linker errors ?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;gt; does that mean i have to defined it?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;While this is an option, this seems like working around the way Keil organizes it's BSPs to me. I would rather try to find out how the Keil IDE/environment manages this things.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Many symbols (functions, variables) are introduced via the startup file, which is usually assembler code. Are you sure you are using the right one in your project ?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 06:56:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-LPC804-library-files/m-p/1407426#M47800</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2022-02-01T06:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LPC804 library files</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-LPC804-library-files/m-p/1407446#M47801</link>
      <description>&lt;P&gt;Thank You sir for your response&lt;/P&gt;&lt;P&gt;now i am getting this error&amp;nbsp;&lt;/P&gt;&lt;P&gt;.\Objects\test.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 08:25:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-LPC804-library-files/m-p/1407446#M47801</guid>
      <dc:creator>TDC1333</dc:creator>
      <dc:date>2022-02-01T08:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LPC804 library files</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-LPC804-library-files/m-p/1407495#M47803</link>
      <description>&lt;P&gt;"SCT" are so-called scatter files, which are the link scripts of Keil's toolchain. I don't have experience with those.&lt;/P&gt;&lt;P&gt;I am not sure what you are trying to achieve, and where your project comes from. Usually, a project created by or for an IDE contains the proper sources, includes, startup code and linker files for the selected MCU (or board).&lt;/P&gt;&lt;P&gt;Linker errors and linker script / SCT errors suggest you took an example for another MCU, or even another toolchain. Such an approach proves very difficult with most toolchains.&lt;/P&gt;&lt;P&gt;The best option is either to use an existing example for the exact MCU (or board) and toolchain, or create a new project for the proper MCU. This will setup a proper project, often with an empty main() function.&lt;/P&gt;&lt;P&gt;You can add your specific code from here on.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 09:12:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-LPC804-library-files/m-p/1407495#M47803</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2022-02-01T09:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LPC804 library files</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-LPC804-library-files/m-p/1407556#M47804</link>
      <description>&lt;P&gt;Thank You sir for your response, I found my mistake, i was using wrong software package.&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 11:46:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-LPC804-library-files/m-p/1407556#M47804</guid>
      <dc:creator>TDC1333</dc:creator>
      <dc:date>2022-02-01T11:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with LPC804 library files</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-LPC804-library-files/m-p/1407564#M47805</link>
      <description>&lt;P&gt;As said, Keil has a good forum as well, dedicated to it's uVision toolchain. For very specific issues, they are probably the better option. I would even consider them the better toolchain, with a quite commercial price tag, though...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 12:12:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Problem-with-LPC804-library-files/m-p/1407564#M47805</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2022-02-01T12:12:33Z</dc:date>
    </item>
  </channel>
</rss>

