Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced variables #95

Merged
merged 109 commits into from
Dec 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
d6885ff
feature: added variable edit window
klonyyy Oct 13, 2024
023ff54
wip: working on variable edit window
klonyyy Oct 13, 2024
0c46cbf
feature: automatic references update on variable rename
klonyyy Oct 13, 2024
6614bdb
feature: manually specifying address and type is now possible
klonyyy Oct 13, 2024
e340e66
feature: should update from elf param added to variable class
klonyyy Oct 14, 2024
ed24e44
refactor: renamed gdb parser function
klonyyy Oct 14, 2024
7e6a0f8
wip: preparing for dynamic gdb change
klonyyy Oct 15, 2024
26a9379
Working on configurable GDB #92
klonyyy Oct 16, 2024
518f7b7
feature: changed GDB exec testing approach
klonyyy Oct 17, 2024
57c53c6
wip: working on extending plot tree
klonyyy Oct 18, 2024
46ae398
wip: working on extending plot tree
klonyyy Oct 20, 2024
e843961
wip: added drag and drop for plots within groups
klonyyy Oct 21, 2024
dc4f123
wip: working on groups add/delete feature
klonyyy Oct 21, 2024
f11993e
refactor: simplified plots drawing functions
klonyyy Oct 21, 2024
3939511
wip: working on plot edit window
klonyyy Oct 21, 2024
ac2f61d
fix: fixed plot renaming
klonyyy Oct 22, 2024
60431e8
refactor: variable rename refactor
klonyyy Oct 23, 2024
685a5d9
wip: working on XY plot
klonyyy Oct 24, 2024
2cfa20a
wip: working on XY plot
klonyyy Oct 24, 2024
4f31a6b
feature: implemented variable select window
klonyyy Oct 27, 2024
725773b
fix: fixed group select
klonyyy Oct 27, 2024
d63d565
fix: fixed plot edit window style
klonyyy Oct 27, 2024
0f77b24
feature: added persistent storage of groups
klonyyy Oct 27, 2024
dccf896
feature: XY as plot type in plot edit window
klonyyy Oct 28, 2024
dd30169
feature: added delete plot from group button
klonyyy Oct 29, 2024
48957aa
fix: fixed faulty plot group tree
klonyyy Nov 1, 2024
00e31a6
wip: working on advanced variables options
klonyyy Nov 1, 2024
9a53c77
feature: added post processing shift and mask options
klonyyy Nov 1, 2024
ed18920
wip: working on fractional numbers interpretation
klonyyy Nov 3, 2024
c1cdcb4
fix: fixed group delete window visible only on opened groups
klonyyy Nov 3, 2024
9491ffd
wip: working on fractional numbers interpretation
klonyyy Nov 5, 2024
f9671cd
wip: working on fractional numbers
klonyyy Nov 5, 2024
0d11ebd
fix: fixed problems with missing active group
klonyyy Nov 6, 2024
ef0e654
test: working on frac interpretation, added simple unit tests
klonyyy Nov 6, 2024
713db39
fix: update address and type on tracked var change
klonyyy Nov 6, 2024
791906d
fix: fixed variable name input text
klonyyy Nov 6, 2024
563fa3d
feature: added frac settings saving
klonyyy Nov 6, 2024
e0ba38f
fix: added automatic tracking after importing variable
klonyyy Nov 7, 2024
0b374bc
fix: fixed tracking variable buggy behavior
klonyyy Nov 9, 2024
8625968
refactor: refactoring plots tree
klonyyy Nov 9, 2024
238806c
feature: group tree modal popup menu
klonyyy Nov 9, 2024
d8f39e5
refactor: implemented variable handler - needs further work
klonyyy Nov 10, 2024
11556d6
fix: fixed import variables window
klonyyy Nov 11, 2024
4ffb014
tests: fixed failing tests
klonyyy Nov 11, 2024
7f1e948
fix: fixed variable rename action
klonyyy Nov 11, 2024
6ab9f51
fix: fixed faulty popup when group name is the same as plot's
klonyyy Nov 13, 2024
e98f269
fix: fixed segfault on tracked variable name change
klonyyy Nov 13, 2024
315a6de
fix: adjusted plots tree group widget sizes
klonyyy Nov 13, 2024
16c8aea
fix: added error popup when tracked name is not found
klonyyy Nov 13, 2024
f72aa82
fix: fixed two other text inputs
klonyyy Nov 13, 2024
59900a4
fix: space to trigger acqusition is now working only in main window
klonyyy Nov 13, 2024
aca7a69
feature: popups can now be closed with esc key
klonyyy Nov 13, 2024
9d87024
feature: version bumped to 1.1.0
klonyyy Nov 13, 2024
566b05e
feature: working on XY plot
klonyyy Nov 14, 2024
4cf2645
feature: added variable copying
klonyyy Nov 14, 2024
20002c5
feature: updated Jlink library
klonyyy Nov 14, 2024
f4e1c63
fix: fixed new var button
klonyyy Nov 14, 2024
37eb49a
refactor: major plot handler refactor
klonyyy Nov 16, 2024
3fe28ed
refactor: changed CSV logging entry approach
klonyyy Nov 17, 2024
5d1c948
refactor: refactored data handler extracting common parts
klonyyy Nov 17, 2024
c78fefd
refactor: small improvements in viewerDataHandler
klonyyy Nov 17, 2024
1f68b8d
refactor: moved settings to dataHandlers
klonyyy Nov 17, 2024
eb7f337
fix: removed unused couts
klonyyy Nov 17, 2024
d01ca31
feature: added proper heading in acqusition settings
klonyyy Nov 17, 2024
5b11d8e
feature: simplified convoluted fractional interpretation
klonyyy Nov 17, 2024
94e9fd2
refactor: refactored write value functionality
klonyyy Nov 17, 2024
3abcff2
feature: fractional base can now be a variable
klonyyy Nov 17, 2024
9c36137
fix: fixed problem with saving config of frac vars
klonyyy Nov 19, 2024
5cb2aa5
fix: fixed write value issue
klonyyy Nov 19, 2024
16968e1
fix: block tracked variable on custom address input
klonyyy Nov 20, 2024
10e6daa
feature: select frac base from selection window
klonyyy Nov 20, 2024
6a77404
fix: fixed variable selection not spanning across all columns
klonyyy Nov 20, 2024
40706c5
feature: place cursor in search field by deafault
klonyyy Nov 20, 2024
ab1b624
fix: fixed base not updating from select window
klonyyy Nov 22, 2024
64b38be
fix: import only new variables
klonyyy Nov 22, 2024
5d74f63
feature: update references on variable rename
klonyyy Nov 22, 2024
bc09f8f
feature: paint NOT FOUND address red
klonyyy Nov 22, 2024
a3ca128
fix: fixed warning message on variable rename
klonyyy Nov 23, 2024
f021709
fix: update references on variable delete
klonyyy Nov 24, 2024
787c541
fix: updated example project and config file
klonyyy Nov 24, 2024
4565772
fix: fixed hardfault on XY plot
klonyyy Nov 24, 2024
9a253ba
fix: automatically add XY plot X variable to sample list
klonyyy Nov 24, 2024
f494a1c
feature: XY plot automatic X label
klonyyy Nov 24, 2024
9a2d502
refactor: moved colors definitions to GuiHelper
klonyyy Nov 24, 2024
c24ccde
fix: fixed warning in configHandler
klonyyy Nov 24, 2024
2b21e0b
refactor: refactored select variables popup
klonyyy Nov 24, 2024
9ac4c81
refactor: refactored table view
klonyyy Nov 24, 2024
0c02cc7
feature: check if save is needed and only then ask the user
klonyyy Nov 24, 2024
105b47c
feature: added XY plot settings saving
klonyyy Nov 24, 2024
616a2bf
fix: fixed include typo
klonyyy Nov 25, 2024
3d906c5
refactor: removed no longer needed MemoryReader module
klonyyy Nov 25, 2024
847d2e9
fix: plot visibility is referenced to the current group
klonyyy Nov 27, 2024
650ba3b
feature: added automatic stop on probe unplug/error
klonyyy Dec 1, 2024
4ad8acd
feature: disable not sampled variables in table view
klonyyy Dec 2, 2024
5bbbe76
fix: when opening project an exisiting plot variables are shown
klonyyy Dec 4, 2024
3b30965
fix: reset cursors and statistics on run
klonyyy Dec 4, 2024
689af31
fix: fixed plot and group selection in tree
klonyyy Dec 4, 2024
8379a32
refactor: renamed ill-named enum
klonyyy Dec 4, 2024
b803831
fix: enums are treated as int32_t by the parser
klonyyy Dec 4, 2024
209be45
feature: limit shift and fractional bits in var edit
klonyyy Dec 4, 2024
a0c8e4c
docs: added help hints in the variable edit
klonyyy Dec 6, 2024
954d48b
fix: updated JLink dlls
klonyyy Dec 6, 2024
b9826a5
fix: fixed libjlinkarm linking on linux
klonyyy Dec 8, 2024
018f3e7
fix: turned off imgui demo window
klonyyy Dec 8, 2024
2bcc42a
fix: fixed modals transparent background
klonyyy Dec 8, 2024
b249a21
fix: fixed table view cell height
klonyyy Dec 8, 2024
206679a
feature: added keyboard focus for tables
klonyyy Dec 8, 2024
fa17bda
docs: added XY-plot examples
klonyyy Dec 8, 2024
b7acf27
fix: fixed bug related to XY plot variable selection
klonyyy Dec 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@
"coroutine": "cpp",
"resumable": "cpp",
"future": "cpp",
"codecvt": "cpp"
"codecvt": "cpp",
"complex": "cpp",
"queue": "cpp"
},
"docwriter.style": "Doxygen"
}
19 changes: 11 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ endif()

project(MCUViewer)

set(MCUVIEWER_VERSION 1.0.1)
set(MCUVIEWER_VERSION 1.1.0)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)

Expand Down Expand Up @@ -77,7 +77,7 @@ if(UNIX)
find_package(libusb REQUIRED)
find_package(glfw3 REQUIRED)
set(STLINK_LINUX ${CMAKE_CURRENT_SOURCE_DIR}/third_party/stlink/lib/linux/libstlink.a)
set(JLINK_LINUX ${CMAKE_CURRENT_SOURCE_DIR}/third_party/jlink/lib/linux/libjlinkarm.so.7)
set(JLINK_LINUX ${CMAKE_CURRENT_SOURCE_DIR}/third_party/jlink/lib/linux/libjlinkarm.so.8)
set(INSTALL_PATH /usr/local/MCUViewer)
set(LIB_INSTALL_PATH /usr/local/lib)
set(DESKTOP_FILE_PATH /usr/share/applications)
Expand Down Expand Up @@ -117,9 +117,8 @@ set(PROJECT_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/src/Gui/GuiSwoPlots.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/Gui/GuiSwoControl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/Gui/GuiAbout.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/Gui/GuiImportVariables.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/Gui/GuiAcqusition.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/MemoryReader/MemoryReader.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/Gui/GuiHelper.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/MemoryReader/StlinkDebugProbe.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/MemoryReader/JlinkDebugProbe.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/Plot/Plot.cpp
Expand All @@ -129,14 +128,15 @@ set(PROJECT_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/src/FileHandler/NFDFileHandler.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/ImguiPlugins/ImguiPlugins.cpp
${CMAKE_CURRENT_SOURCE_DIR}/third_party/stlink/inc/spdlogWrapper.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/PlotHandler/PlotHandlerBase.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/PlotHandler/PlotHandler.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/PlotHandler/TracePlotHandler.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/TraceReader/TraceReader.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/TraceReader/StlinkTraceProbe.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/TraceReader/JlinkTraceProbe.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/GdbParser/GdbParser.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/CSVStreamer/CSVStreamer.cpp)
${CMAKE_CURRENT_SOURCE_DIR}/src/CSVStreamer/CSVStreamer.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/VariableHandler/VariableHandler.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/DataHandler/ViewerDataHandler.cpp
${CMAKE_CURRENT_SOURCE_DIR}/src/DataHandler/TraceDataHandler.cpp)

set(IMGUI_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/third_party/imgui/imgui.cpp
Expand Down Expand Up @@ -201,7 +201,10 @@ target_include_directories(${EXECUTABLE} PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/src/RingBuffer
${CMAKE_CURRENT_SOURCE_DIR}/src/Statistics
${CMAKE_CURRENT_SOURCE_DIR}/src/GdbParser
${CMAKE_CURRENT_SOURCE_DIR}/src/CSVStreamer)
${CMAKE_CURRENT_SOURCE_DIR}/src/PlotGroupHandler
${CMAKE_CURRENT_SOURCE_DIR}/src/CSVStreamer
${CMAKE_CURRENT_SOURCE_DIR}/src/VariableHandler
${CMAKE_CURRENT_SOURCE_DIR}/src/DataHandler)

target_include_directories(${EXECUTABLE} SYSTEM PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/third_party/stlink/inc/
Expand Down
196 changes: 93 additions & 103 deletions example/STMViewer_test/.cproject → example/MCUViewer_test/.cproject

Large diffs are not rendered by default.

Large diffs are not rendered by default.

File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project>
<configuration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.234318883" name="Debug">
<configuration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1710865587" name="Debug">
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="-690955499330090190" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="1371419899404254478" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
</extension>
</configuration>
<configuration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.857087973" name="Release">
<configuration id="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.release.1900443092" name="Release">
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="-690955499330090190" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="1371419899404254478" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>
Expand Down
5 changes: 5 additions & 0 deletions example/MCUViewer_test/.settings/stm32cubeide.project.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
635E684B79701B039C64EA45C3F84D30=9AB01335C7D9AD93FC9CCF6DC64E7459
66BE74F758C12D739921AEA421D593D3=0
8DF89ED150041C4CBC7CB9A9CAA90856=4055E183FFA96263B32827A7F84797DE
DC22A860405A8BF2F2C095E5B6529F12=4055E183FFA96263B32827A7F84797DE
eclipse.preferences.version=1
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,24 @@
#include "stm32g4xx_ll_gpio.h"
#include "testClass.hpp"
#include "testClass2.hpp"
#include <cmath>

TestClass test;
TemplateTest<uint32_t, bool> templateTest;
volatile float sinTest = 0.0f;
volatile float cosTest = 0.0f;
volatile float LissajousX = 0.0f;
volatile float LissajousY1 = 0.0f;
volatile float LissajousY2 = 0.0f;
volatile float LissajousY3 = 0.0f;

volatile float roseX = 0.0f;
volatile float roseY = 0.0f;

volatile float smallRoseX = 0.0f;
volatile float smallRoseY = 0.0f;

volatile float petalsNumber = 8.0f;

void maincpp()
{
Expand All @@ -35,7 +48,17 @@ void maincpp()
{
sinTest = test.getSin(x);
cosTest = test.getCos(x);
x += 0.001f;
LissajousX = test.getLissajousX(x);
LissajousY1 = test.getLissajousY1(x);
LissajousY2 = test.getLissajousY2(x);
LissajousY3 = test.getLissajousY3(x);

float r = cosf(petalsNumber / 2.0f * x);
roseX = r * cosf(x);
roseY = r * sinf(x);
smallRoseY = 0.4f * r * sinf(x);

x += 0.01f;

if (x > 6.28f)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,29 @@ float TestClass::getCos(float x)
return cosf(x);
}

float TestClass::getLissajousX(float x)
{
return sinf(x);
}

float TestClass::getLissajousY1(float x)
{
return sinf(4.0f * x);
}

float TestClass::getLissajousY2(float x)
{
return sinf(7.0f * x);
}

float TestClass::getLissajousY3(float x)
{
return sinf(15.0f * x);
}

void TestClass::spin()
{
x += 0.0001f;
x += 0.02f;

if(x > 2.0f*M_PI)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ class TestClass

float getSin(float x);
float getCos(float x);
float getLissajousX(float x);
float getLissajousY1(float x);
float getLissajousY2(float x);
float getLissajousY3(float x);
void spin();

struct __attribute__((packed, aligned(1))) StructA
Expand All @@ -34,7 +38,7 @@ class TestClass

private:
volatile float triangle = 0.0f;
volatile float triangleFrequency = 1.0f;
volatile float triangleFrequency = 0.01f;
volatile float a,b,c;
volatile float x, dir = 1.0f;
volatile int8_t tri = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
******************************************************************************
* @attention
*
* Copyright (c) 2023 STMicroelectronics.
* Copyright (c) 2024 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
******************************************************************************
* @attention
*
* Copyright (c) 2023 STMicroelectronics.
* Copyright (c) 2024 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
******************************************************************************
* @attention
*
* Copyright (c) 2023 STMicroelectronics.
* Copyright (c) 2024 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
Expand All @@ -21,6 +21,7 @@

/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */

/* USER CODE END Includes */

/* Private typedef -----------------------------------------------------------*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
******************************************************************************
* @attention
*
* Copyright (c) 2023 STMicroelectronics.
* Copyright (c) 2024 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ Reset_Handler:
ldr r0, =_estack
mov sp, r0 /* set stack pointer */

/* Call the clock system initialization function.*/
bl SystemInit

/* Copy the data segment initializers from flash to SRAM */
ldr r0, =_sdata
ldr r1, =_edata
Expand Down Expand Up @@ -93,8 +96,6 @@ LoopFillZerobss:
cmp r2, r4
bcc FillZerobss

/* Call the clock system intitialization function.*/
bl SystemInit
/* Call static constructors */
bl __libc_init_array
/* Call the application's entry point.*/
Expand Down Expand Up @@ -127,7 +128,6 @@ Infinite_Loop:
******************************************************************************/
.section .isr_vector,"a",%progbits
.type g_pfnVectors, %object
.size g_pfnVectors, .-g_pfnVectors


g_pfnVectors:
Expand Down Expand Up @@ -250,6 +250,8 @@ g_pfnVectors:
.word CORDIC_IRQHandler
.word FMAC_IRQHandler

.size g_pfnVectors, .-g_pfnVectors

/*******************************************************************************
*
* Provide weak aliases for each Exception handler to the Default_Handler.
Expand Down
Loading