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

Move most logic from start_cpu0 to RtcMemory::set_up #2063

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

kasperl
Copy link
Member

@kasperl kasperl commented Jan 22, 2024

No description provided.

@kasperl kasperl requested a review from erikcorry January 22, 2024 11:48
@cla-bot cla-bot bot added the cla-signed The contributors have signed the CLA label Jan 22, 2024
@kasperl kasperl enabled auto-merge (squash) January 22, 2024 11:53
Copy link
Member

@floitsch floitsch left a comment

Choose a reason for hiding this comment

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

LGTM.

// Invoke the default entrypoint that launches FreeRTOS and the real application.
start_cpu0_default();
}

namespace toit {

void RtcMemory::set_up() {
// If the RTC memory was already reset, skip this step.
if (reset_after_boot) return;
ets_printf("[toit] INFO: starting <%s>\n", toit::vm_git_version());
Copy link
Member

Choose a reason for hiding this comment

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

Add a comment why this message is printed in the rtc memory setup function.

@kasperl kasperl merged commit 07ee439 into master Jan 22, 2024
25 checks passed
@kasperl kasperl deleted the less-code-in-start-cpu0 branch January 22, 2024 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The contributors have signed the CLA
Development

Successfully merging this pull request may close these issues.

3 participants