[riot-notifications] [RIOT-OS/RIOT] cpu/saml21: Make Low-Power SRAM available to programs (#11486)

Dylan Laduranty notifications at github.com
Thu May 9 21:22:02 CEST 2019


dylad commented on this pull request.



>  
 int main(void)
 {
     puts("Hello World!");
 
-    printf("You are running RIOT on a(n) %s board.\n", RIOT_BOARD);
-    printf("This board features a(n) %s MCU.\n", RIOT_MCU);
+    printf("counter value, %d\n", counter);
+    printf("counter_zero value, %d\n", counter_zero);
+
+    while (1) {
+        printf("You are running RIOT on a(n) %s board.\n", RIOT_BOARD);
+        printf("This board features a(n) %s MCU.\n", RIOT_MCU);
+        printf("counter value, %d\n", counter++);
+        printf("counter_zero value, %d\n", counter_zero++);

Isn't better to create a dedicated test instead of temporarily hacked this one ?
This may be useful to newcomers that need this feature.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11486#pullrequestreview-235777016
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190509/f6c2a90c/attachment.html>


More information about the notifications mailing list