Skip to content

Commit 64e19dd

Browse files
committed
[NUCLEO_F401RE] Typo corrections
1 parent 5610184 commit 64e19dd

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/device.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
4242
#define DEVICE_SERIAL 1
4343

4444
#define DEVICE_I2C 1
45-
#define DEVICE_I2CSLAVE 0
45+
#define DEVICE_I2CSLAVE 0 // Not supported yet
4646

4747
#define DEVICE_SPI 1
48-
#define DEVICE_SPISLAVE 0
48+
#define DEVICE_SPISLAVE 0 // Not supported yet
4949

5050
#define DEVICE_RTC 1
5151

@@ -63,7 +63,7 @@
6363

6464
#define DEVICE_STDIO_MESSAGES 1
6565

66-
//#define DEVICE_ERROR_RED 0
66+
#define DEVICE_ERROR_RED 0
6767

6868
#include "objects.h"
6969

libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/pinmap.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ void pin_function(PinName pin, int data) {
105105
GPIO_InitStructure.Alternate = afnum;
106106
HAL_GPIO_Init(gpio, &GPIO_InitStructure);
107107

108-
// *** TODO ***
109-
// Disconnect JTAG-DP + SW-DP signals.
108+
// [TODO] Disconnect JTAG-DP + SW-DP signals.
110109
// Warning: Need to reconnect under reset
111110
//if ((pin == PA_13) || (pin == PA_14)) {
112111
//

libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE/rtc_api.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,7 @@ void rtc_init(void) {
6868
// Enable RTC clock
6969
__HAL_RCC_RTC_ENABLE();
7070

71-
// This is LSI typical value
72-
// To be measured precisely using a timer input capture [TODO]
71+
// [TODO] This value is LSI typical value. To be measured precisely using a timer input capture
7372
uint32_t lsi_freq = 32000;
7473

7574
RtcHandle.Init.HourFormat = RTC_HOURFORMAT_24;

0 commit comments

Comments
 (0)