SPRESENSE commented on issue #15960: URL: https://github.com/apache/nuttx/issues/15960#issuecomment-2716504085
@yangsong8-a1 Thanks for your support. I found this issue in our application with Spresense SDK. Here is the procedure to reproduce it in the NuttX-only environment on a Spresense board. * defconfig configuration [defconfig.txt](https://github.com/user-attachments/files/19203075/defconfig.txt) * It's necessary to patch for boot. ```diff diff --git a/sched/clock/clock_systime_ticks.c b/sched/clock/clock_systime_ticks.c index a99d8e1040..46d9b5cba2 100644 --- a/sched/clock/clock_systime_ticks.c +++ b/sched/clock/clock_systime_ticks.c @@ -77,7 +77,7 @@ clock_t clock_systime_ticks(void) { -#ifdef CONFIG_RTC_HIRES +#if defined(CONFIG_RTC_HIRES) && !defined(CONFIG_CXD56_RTC_LATEINIT) struct timespec ts = { 0 ``` * Run `usbserial` ``` nsh> usbserial ``` * This is the result that your python script executed. ``` Line 1: The Spanish Armada a Speech by Queen Elizabeth I of England Line 2: Addressed to the English army at Tilbury Fort - 1588 Line 3: My loving people, we have been persuaded by some, that are careful of our safety, to take heed how we commit ourselves to armed multitudes, or fear of treachery; but I assure you, I do not desire to live to distrust my faithful and loving people. Line 4: Let tyrants fear; I have always so behaved myself that, under God, I have placed my chiefest strength and safeguard in the loyal hearts and good will of my subjects. And therefore I am come amongst you at this time, not as for my recreation or sport, but being resolved, in the midst and heat of the battle, to live or die amongst you all; to lay down, for my God, and for my kingdom, and for my people, my honour and my blood, even the dust. Line 5: I know I have but the body of a weak and feeble woman; but I have the heart of a king, and of a king of England, too; and think foul scorn hat Parma or Spain, or any prince of Europe, should dare to invade the borders of my realms: to which, rather than any dishonour should grow by me, I myself will take up arms; I myself will be your general, judge, and rewarder of every one of your virtues in the field. Line 6: I know already, by your forwardness, that you have deserved rewards and crowns; and we do assure you, on the word of a prince, they shall be duly paid you. In the mean my lieutenant general shall be in my stead, than whom never prince commanded a more noble and worthy subject; not doubting by your obedience to my general, by your concord in the camp, and by your valour in the field, we shall shortly have a famous victory over the enemies of my God, of my kingdom, and of my people. Line 223: port, but being resolved, in the midst and heat of the battle, to live or die amongst you all; to lay down, for my God, and for my kingdom, and for my people, my honour and my blood, even the dust. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org