Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rokath committed Nov 13, 2024
1 parent b16024d commit e7b8c9b
Show file tree
Hide file tree
Showing 4 changed files with 270 additions and 6 deletions.
8 changes: 4 additions & 4 deletions examples/G0B1_inst/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

# Put ARM Clang first in path temporary to avoid compiler variants issues.
# Windows
#export PATH := C:\bin\ArmClang\bin:C:\bin\ArmGNUToolchain\bin:$(PATH)
export PATH := C:\bin\ArmClang\bin:C:\bin\ArmGNUToolchain\bin:$(PATH)
# MacOS
export PATH := /usr/bin:/opt/homebrew/bin:$(PATH)
#export PATH := /usr/bin:/opt/homebrew/bin:$(PATH)

# ARM Clang uses the ARM GNU toolchain libraries and finds them over C_INCLUDE_PATH.
# Windows
#export C_INCLUDE_PATH := C:\bin\ArmGNUToolchain\arm-none-eabi\include
export C_INCLUDE_PATH := C:\bin\ArmGNUToolchain\arm-none-eabi\include
# MacOS
export C_INCLUDE_PATH := \
#export C_INCLUDE_PATH := \
/opt/homebrew/Cellar/arm-none-eabi-gcc/14.2.0/lib/gcc/arm-none-eabi/14.2.0/include:\
/opt/homebrew/Cellar/arm-none-eabi-gcc/14.2.0/lib/gcc/arm-none-eabi/14.2.0/include-fixed

Expand Down
4 changes: 2 additions & 2 deletions examples/G0B1_inst/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ trice add -src ../../_test/testdata -src ../exampleData # Make sure, these go un
# The folders ../../_test/testdata and ../exampleData are used by several projects and therefore not cleaned.
trice clean -src ./Core -cache # Run this first to trigger the used editor to show the Trice IDs cleaned state.
trice insert -src ../../_test/testdata -src ../exampleData -src ./Core -IDMin 16200 -IDMax 16383 -IDMethod upward -cache # Add project data.
#make -j $(nproc --all) TRICE_FLAGS=-D$ARG1 # Windows
make -j $(sysctl -n hw.ncpu) TRICE_FLAGS=-D$ARG1 # MacOS
make -j $(nproc --all) TRICE_FLAGS=-D$ARG1 # Windows
#make -j $(sysctl -n hw.ncpu) TRICE_FLAGS=-D$ARG1 # MacOS
trice clean -src ./Core -cache # Run this again to show the Trice IDs cleaned state.
132 changes: 132 additions & 0 deletions examples/G0B1_inst/li.json
Original file line number Diff line number Diff line change
Expand Up @@ -8635,6 +8635,138 @@
"File": "triceCheck.c",
"Line": 2729
},
"16200": {
"File": "main.c",
"Line": 94
},
"16201": {
"File": "main.c",
"Line": 111
},
"16202": {
"File": "stm32g0xx_it.c",
"Line": 119
},
"16203": {
"File": "main.c",
"Line": 112
},
"16204": {
"File": "main.c",
"Line": 113
},
"16205": {
"File": "main.c",
"Line": 114
},
"16206": {
"File": "main.c",
"Line": 115
},
"16207": {
"File": "main.c",
"Line": 116
},
"16208": {
"File": "main.c",
"Line": 117
},
"16209": {
"File": "main.c",
"Line": 119
},
"16210": {
"File": "main.c",
"Line": 330
},
"16211": {
"File": "main.c",
"Line": 357
},
"16212": {
"File": "main.c",
"Line": 373
},
"16213": {
"File": "main.c",
"Line": 378
},
"16214": {
"File": "main.c",
"Line": 379
},
"16215": {
"File": "main.c",
"Line": 384
},
"16216": {
"File": "main.c",
"Line": 385
},
"16217": {
"File": "main.c",
"Line": 386
},
"16218": {
"File": "main.c",
"Line": 391
},
"16219": {
"File": "main.c",
"Line": 392
},
"16220": {
"File": "main.c",
"Line": 393
},
"16221": {
"File": "main.c",
"Line": 394
},
"16222": {
"File": "main.c",
"Line": 399
},
"16223": {
"File": "main.c",
"Line": 400
},
"16224": {
"File": "main.c",
"Line": 401
},
"16225": {
"File": "main.c",
"Line": 402
},
"16226": {
"File": "main.c",
"Line": 403
},
"16227": {
"File": "main.c",
"Line": 408
},
"16228": {
"File": "main.c",
"Line": 409
},
"16229": {
"File": "main.c",
"Line": 410
},
"16230": {
"File": "main.c",
"Line": 411
},
"16231": {
"File": "main.c",
"Line": 412
},
"16232": {
"File": "main.c",
"Line": 413
},
"16370": {
"File": "triceLogDiagData.c",
"Line": 72
Expand Down
132 changes: 132 additions & 0 deletions examples/G0B1_inst/til.json
Original file line number Diff line number Diff line change
Expand Up @@ -8635,6 +8635,138 @@
"Type": "TRICE_N",
"Strg": "wr:%s\\n"
},
"16200": {
"Type": "trice",
"Strg": "\\n\\n ✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨ \\n 🎈🎈🎈🎈 NUCLEO-G0B1RE 🎈🎈🎈🎈\\n ✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨✨ \\n\\n\\n"
},
"16201": {
"Type": "TRice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %d\\n"
},
"16202": {
"Type": "trice",
"Strg": "isr:TIM17_FDCAN_IT1_IRQHandler! (%u ms)\\n"
},
"16203": {
"Type": "Trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %d %d\\a\\n"
},
"16204": {
"Type": "Trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %d %d %d\\a\\n"
},
"16205": {
"Type": "trice",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %f (default rounded float)\\n"
},
"16206": {
"Type": "trice",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %.20f (float with more ciphers but not increased precision)\\n"
},
"16207": {
"Type": "trice64",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %.20f (double with more but limited precision but it is limited)\\n"
},
"16208": {
"Type": "TRice64_12",
"Strg": "%x %x %x %x %x %x %x %x %x %x %x %d\\n"
},
"16209": {
"Type": "trice",
"Strg": "i=%x %x\\n"
},
"16210": {
"Type": "TRice",
"Strg": "msg:StartDefaultTask\\n"
},
"16211": {
"Type": "TRice",
"Strg": "msg:StartTask02:Diagnostics\\n"
},
"16212": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16213": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16214": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16215": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16216": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16217": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16218": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16219": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16220": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16221": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16222": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16223": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16224": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16225": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16226": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16227": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16228": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16229": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16230": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16231": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16232": {
"Type": "trice8",
"Strg": "w: Hello! πŸ‘‹πŸ™‚ %4x\\n"
},
"16370": {
"Type": "trice16",
"Strg": "err:triceRingBufferDepthMax =%4u of%5d (overflow!)\\n"
Expand Down

0 comments on commit e7b8c9b

Please sign in to comment.