Skip to content

Commit d2f0c8b

Browse files
committed
added example for lpc1756 to run on RTC clock
1 parent b7c4842 commit d2f0c8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

targets/chip/lpc1756/startup.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ void __attribute__((__constructor__(101))) __target_startup() {
2222
// oscillator)
2323
// ((16 * 2 * 12Mhz) / 1 = 384Mhz) / 4 = 96Mhz
2424
clock::set_main<clock::source::main, 12'000'000, 16, 1, 4>();
25+
// clock::set_main<clock::source::rtc, 32768, 0, 0, 0>();
2526
// clock::set_main<clock::source::internal, 4'000'000, 48, 1, 4>();
2627

2728
// setup the irq handler before main is called. This

0 commit comments

Comments
 (0)