Skip to content

Commit

Permalink
wip: working on fractional numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
klonyyy committed Nov 5, 2024
1 parent 9491ffd commit f9671cd
Show file tree
Hide file tree
Showing 9 changed files with 159 additions and 88 deletions.
114 changes: 87 additions & 27 deletions example/STMViewer_test/MCUViewer_project/MCUViewer_test.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ refresh_on_elf_change = true
stop_acq_on_elf_change = true
probe_type = 1
target_name = STM32G474CC
probe_mode = 1
probe_mode = 0
probe_speed_khz = 20000
probe_sn = 506003225
should_log = false
Expand All @@ -33,12 +33,14 @@ should_log = true
log_directory = C:/Users/klonyyy/PROJECTS/MCUViewer_/MCUViewer/example/STMViewer_test/MCUViewer_project

[var0]
name = dupa
tracked_name = test.amplitude
address = 536870912
type = 0
name = dupa1
tracked_name = test.structA.f
address = 536870973
type = 3
color = 942297931
should_update_from_elf = true
shift = 0
mask = 4294967295

[var1]
name = test.a
Expand All @@ -47,6 +49,8 @@ address = 536870996
type = 7
color = 61695
should_update_from_elf = true
shift = 0
mask = 4294967295

[var2]
name = test.amplitude
Expand All @@ -55,6 +59,8 @@ address = 536871036
type = 7
color = 4103602261
should_update_from_elf = true
shift = 0
mask = 4294967295

[var3]
name = test.b
Expand All @@ -63,6 +69,8 @@ address = 536871000
type = 7
color = 255
should_update_from_elf = true
shift = 0
mask = 4294967295

[var4]
name = test.c
Expand All @@ -71,6 +79,8 @@ address = 536871004
type = 7
color = 65317
should_update_from_elf = true
shift = 0
mask = 4294967295

[var5]
name = test.ia
Expand All @@ -79,6 +89,8 @@ address = 536871024
type = 2
color = 25087
should_update_from_elf = true
shift = 0
mask = 4294967295

[var6]
name = test.square
Expand All @@ -87,6 +99,8 @@ address = 536871032
type = 7
color = 16308992
should_update_from_elf = true
shift = 0
mask = 4294967295

[var7]
name = test.structA.a
Expand All @@ -95,6 +109,8 @@ address = 536870968
type = 1
color = 154518361
should_update_from_elf = true
shift = 0
mask = 4294967295

[var8]
name = test.structA.b
Expand All @@ -103,6 +119,8 @@ address = 536870969
type = 1
color = 4185286018
should_update_from_elf = true
shift = 0
mask = 4294967295

[var9]
name = test.structA.c
Expand All @@ -111,6 +129,8 @@ address = 536870970
type = 2
color = 2200812724
should_update_from_elf = true
shift = 0
mask = 4294967295

[var10]
name = test.structA.d
Expand All @@ -119,6 +139,8 @@ address = 536870971
type = 1
color = 166619826
should_update_from_elf = true
shift = 0
mask = 4294967295

[var11]
name = test.structA.e
Expand All @@ -127,6 +149,8 @@ address = 536870972
type = 1
color = 3902659492
should_update_from_elf = true
shift = 0
mask = 4294967295

[var12]
name = test.structA.f
Expand All @@ -135,6 +159,8 @@ address = 536870973
type = 3
color = 3566472135
should_update_from_elf = true
shift = 0
mask = 4294967295

[var13]
name = test.structA.g
Expand All @@ -143,6 +169,8 @@ address = 536870975
type = 4
color = 3877610779
should_update_from_elf = true
shift = 0
mask = 4294967295

[var14]
name = test.structA.h
Expand All @@ -151,6 +179,8 @@ address = 536870977
type = 6
color = 2692520777
should_update_from_elf = true
shift = 0
mask = 4294967295

[var15]
name = test.structA.j
Expand All @@ -159,6 +189,8 @@ address = 536870982
type = 7
color = 1586018970
should_update_from_elf = true
shift = 0
mask = 4294967295

[var16]
name = test.tri
Expand All @@ -167,6 +199,8 @@ address = 536871016
type = 2
color = 65377
should_update_from_elf = true
shift = 0
mask = 4294967295

[var17]
name = test.triangle
Expand All @@ -175,6 +209,8 @@ address = 536870988
type = 7
color = 2649686271
should_update_from_elf = true
shift = 0
mask = 4294967295

[var18]
name = test.triangleFrequency
Expand All @@ -183,6 +219,8 @@ address = 536870992
type = 7
color = 2546052388
should_update_from_elf = true
shift = 0
mask = 4294967295

[var19]
name = test.ua
Expand All @@ -191,6 +229,8 @@ address = 536871017
type = 1
color = 255
should_update_from_elf = true
shift = 0
mask = 4294967295

[var20]
name = test.ub
Expand All @@ -199,6 +239,8 @@ address = 536871018
type = 3
color = 65512
should_update_from_elf = true
shift = 0
mask = 4294967295

[plot0]
name = align test
Expand Down Expand Up @@ -301,116 +343,131 @@ visibility = false
type = 0

[plot6]
name = new plot4
visibility = true
type = 2

[plot6-series0]
name = dupa1
visibility = true
format = DEC

[plot6-series1]
name = test.structA.f
visibility = true
format = DEC

[plot7]
name = settings
visibility = true
type = 1

[plot6-series0]
[plot7-series0]
name = test.a
visibility = true
format = DEC

[plot6-series1]
[plot7-series1]
name = test.amplitude
visibility = true
format = DEC

[plot6-series2]
[plot7-series2]
name = test.triangleFrequency
visibility = true
format = DEC

[plot7]
[plot8]
name = test0
visibility = false
type = 0

[plot7-series0]
[plot8-series0]
name = test.a
visibility = true
format = DEC

[plot7-series1]
[plot8-series1]
name = test.amplitude
visibility = true
format = DEC

[plot7-series2]
[plot8-series2]
name = test.b
visibility = true
format = DEC

[plot7-series3]
[plot8-series3]
name = test.c
visibility = true
format = DEC

[plot7-series4]
[plot8-series4]
name = test.tri
visibility = true
format = DEC

[plot8]
[plot9]
name = test1
visibility = false
type = 0

[plot8-series0]
[plot9-series0]
name = test.tri
visibility = true
format = DEC

[plot8-series1]
[plot9-series1]
name = test.ua
visibility = true
format = DEC

[plot8-series2]
[plot9-series2]
name = test.ub
visibility = true
format = DEC

[plot9]
[plot10]
name = test2
visibility = true
type = 0

[plot9-series0]
[plot10-series0]
name = test.a
visibility = true
format = DEC

[plot9-series1]
[plot10-series1]
name = test.c
visibility = true
format = DEC

[plot9-series2]
[plot10-series2]
name = test.square
visibility = true
format = DEC

[plot10]
[plot11]
name = triangle
visibility = false
type = 0

[plot10-series0]
[plot11-series0]
name = test.a
visibility = true
format = DEC

[plot10-series1]
[plot11-series1]
name = test.b
visibility = true
format = DEC

[plot10-series2]
[plot11-series2]
name = test.c
visibility = true
format = DEC

[plot10-series3]
[plot11-series3]
name = test.triangle
visibility = true
format = DEC
Expand Down Expand Up @@ -463,6 +520,9 @@ name = test2
[group2]
name = new group1

[group2-plot0]
name = new plot4

[trace_plot0]
name = CH0
alias = memcpy (0)
Expand Down
Loading

0 comments on commit f9671cd

Please sign in to comment.