Skip to content

Setup L4HELLO Demonstration Project#268

Draft
kiranduriseti1 wants to merge 6 commits intomainfrom
l4hello-swo
Draft

Setup L4HELLO Demonstration Project#268
kiranduriseti1 wants to merge 6 commits intomainfrom
l4hello-swo

Conversation

@kiranduriseti1
Copy link

L4HELLO

Problem and Scope

Added SWO logging for L4HELLO

Scope:
L4HELLO build target
Updated L4HELLO and L4BLINKY debug configurations (changed to CMake: build L4BLINKY and CMake: build L4HELLO)
Added SWO configuration for L4HELLO and L4BLINKY

Description

Copied G4HELLO SWO config for L4 (cpuFrequency = 80000000). Added counter variable for testing

Gotchas and Limitations

None

Testing

  • HOOTL testing
  • HITL testing
  • Human tested

Testing Details

SWO console printed live updates (Worked with LOGOMATIC and redirected printf)

Larger Impact

None

Additional Context and Ticket

N/A

@dchansen06 dchansen06 added Enhancement New feature or request Big Fry Something that is complex and/or large Pipe Dream Would be amazing... but realistically... it might be dubious to get it on the car 3 NORMAL Important but not really a priority Boards Related to or involving any physical boards labels Mar 2, 2026
Copy link
Contributor

@dchansen06 dchansen06 Mar 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is not needed and should/could be deleted (if it has problems let me know please)

Copy link
Contributor

@dchansen06 dchansen06 Mar 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is not needed and should/could be deleted (if it has problems let me know please)

Comment on lines +317 to +320
"liveWatch": {
"enabled": true,
"samplesPerSecond": 4
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Live watch is an interesting setting, I am going to look into it some more to ensure it does not add to much overhead / break on JTAG / does not block interrupts / etc

Copy link
Contributor

@dchansen06 dchansen06 Mar 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah seems good to me for this case. If you think it is worth expanding into other boards let me know, those tend to have a lot more/larger static/globals though

@dchansen06 dchansen06 marked this pull request as draft March 2, 2026 08:20
Copy link
Contributor

@dchansen06 dchansen06 Mar 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This breaks down when we are compiling for different presets (anything not Debug I believe)

@dchansen06 dchansen06 changed the title L4hello swo Setup L4HELLO Demonstration Project Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 NORMAL Important but not really a priority Big Fry Something that is complex and/or large Boards Related to or involving any physical boards Enhancement New feature or request Pipe Dream Would be amazing... but realistically... it might be dubious to get it on the car

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants