File tree Expand file tree Collapse file tree 3 files changed +5
-7
lines changed
libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F401RE Expand file tree Collapse file tree 3 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 42
42
#define DEVICE_SERIAL 1
43
43
44
44
#define DEVICE_I2C 1
45
- #define DEVICE_I2CSLAVE 0
45
+ #define DEVICE_I2CSLAVE 0 // Not supported yet
46
46
47
47
#define DEVICE_SPI 1
48
- #define DEVICE_SPISLAVE 0
48
+ #define DEVICE_SPISLAVE 0 // Not supported yet
49
49
50
50
#define DEVICE_RTC 1
51
51
63
63
64
64
#define DEVICE_STDIO_MESSAGES 1
65
65
66
- // #define DEVICE_ERROR_RED 0
66
+ #define DEVICE_ERROR_RED 0
67
67
68
68
#include "objects.h"
69
69
Original file line number Diff line number Diff line change @@ -105,8 +105,7 @@ void pin_function(PinName pin, int data) {
105
105
GPIO_InitStructure .Alternate = afnum ;
106
106
HAL_GPIO_Init (gpio , & GPIO_InitStructure );
107
107
108
- // *** TODO ***
109
- // Disconnect JTAG-DP + SW-DP signals.
108
+ // [TODO] Disconnect JTAG-DP + SW-DP signals.
110
109
// Warning: Need to reconnect under reset
111
110
//if ((pin == PA_13) || (pin == PA_14)) {
112
111
//
Original file line number Diff line number Diff line change @@ -68,8 +68,7 @@ void rtc_init(void) {
68
68
// Enable RTC clock
69
69
__HAL_RCC_RTC_ENABLE ();
70
70
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
73
72
uint32_t lsi_freq = 32000 ;
74
73
75
74
RtcHandle .Init .HourFormat = RTC_HOURFORMAT_24 ;
You can’t perform that action at this time.
0 commit comments