From ec8c188f59f926ab231f6405040852a0f47bd201 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 2 Oct 2011 17:53:17 +0000 Subject: [PATCH] Add FAT date/time stamp git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4008 42af7a65-404d-4744-a932-0658087f49c3 --- arch/arm/src/armv7-m/nvic.h | 6 +++--- arch/arm/src/stm32/stm32_rtc.c | 7 ++++++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/arch/arm/src/armv7-m/nvic.h b/arch/arm/src/armv7-m/nvic.h index b132b996631..43cd470fb41 100644 --- a/arch/arm/src/armv7-m/nvic.h +++ b/arch/arm/src/armv7-m/nvic.h @@ -1,8 +1,8 @@ /************************************************************************************ * arch/arm/src/armv7-m/nvic.h * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -396,7 +396,7 @@ #define NVIC_SYSTICK_RELOAD_SHIFT 0 /* Bits 23-0: Timer reload value */ #define NVIC_SYSTICK_RELOAD_MASK (0x00ffffff << NVIC_SYSTICK_RELOAD_SHIFT) -/* SysTick current value registe (SYSTICK_CURRENT) */ +/* SysTick current value register (SYSTICK_CURRENT) */ #define NVIC_SYSTICK_CURRENT_SHIFT 0 /* Bits 23-0: Timer current value */ #define NVIC_SYSTICK_CURRENT_MASK (0x00ffffff << NVIC_SYSTICK_RELOAD_SHIFT) diff --git a/arch/arm/src/stm32/stm32_rtc.c b/arch/arm/src/stm32/stm32_rtc.c index ba1a9fd674a..c9811171c9a 100644 --- a/arch/arm/src/stm32/stm32_rtc.c +++ b/arch/arm/src/stm32/stm32_rtc.c @@ -4,6 +4,11 @@ * Copyright (C) 2011 Uros Platise. All rights reserved. * Author: Uros Platise * + * With extensions, modifications by: + * + * Copyright (C) 2011 Gregory Nutt. All rights reserved. + * Author: Gregroy Nutt + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -337,7 +342,7 @@ static int stm32_rtc_interrupt(int irq, void *context) int up_rtcinitialize(void) { /* Set access to the peripheral, enable the backup domain (BKP) and the lower power - * extern 32,768Hz LSE oscillator. + * extern 32,768Hz (Low-Speed External, LSE) oscillator. */ stm32_pwr_enablebkp();