mirror of https://github.com/ARMmbed/mbed-os.git
[NUCLEO_L152RE] Typo corrections
parent
daefeedf1a
commit
9ac335a095
|
@ -143,6 +143,8 @@ typedef enum {
|
|||
LED3 = PA_5,
|
||||
LED4 = PA_5,
|
||||
USER_BUTTON = PC_13,
|
||||
SERIAL_TX = PA_2,
|
||||
SERIAL_RX = PA_3,
|
||||
USBTX = PA_2,
|
||||
USBRX = PA_3,
|
||||
I2C_SCL = PB_8,
|
||||
|
|
|
@ -42,10 +42,10 @@
|
|||
#define DEVICE_SERIAL 1
|
||||
|
||||
#define DEVICE_I2C 1
|
||||
#define DEVICE_I2CSLAVE 0
|
||||
#define DEVICE_I2CSLAVE 0 // Not yet supported
|
||||
|
||||
#define DEVICE_SPI 1
|
||||
#define DEVICE_SPISLAVE 0
|
||||
#define DEVICE_SPISLAVE 0 // Not yet supported
|
||||
|
||||
#define DEVICE_RTC 1
|
||||
|
||||
|
@ -63,7 +63,7 @@
|
|||
|
||||
#define DEVICE_STDIO_MESSAGES 1
|
||||
|
||||
//#define DEVICE_ERROR_RED 0
|
||||
#define DEVICE_ERROR_RED 0
|
||||
|
||||
#include "objects.h"
|
||||
|
||||
|
|
|
@ -95,8 +95,7 @@ void pin_function(PinName pin, int data) {
|
|||
GPIO_InitStructure.GPIO_PuPd = (GPIOPuPd_TypeDef)pupd;
|
||||
GPIO_Init(gpio, &GPIO_InitStructure);
|
||||
|
||||
// *** TODO ***
|
||||
// Disconnect JTAG-DP + SW-DP signals.
|
||||
// [TODO] Disconnect JTAG-DP + SW-DP signals.
|
||||
// Warning: Need to reconnect under reset
|
||||
//if ((pin == PA_13) || (pin == PA_14)) {
|
||||
//
|
||||
|
|
|
@ -49,7 +49,7 @@ void rtc_init(void) {
|
|||
|
||||
RTC_WaitForSynchro(); // Wait for RTC registers synchronization
|
||||
|
||||
uint32_t lsi_freq = 40000; // *** TODO** To be measured precisely using a timer input capture
|
||||
uint32_t lsi_freq = 40000; // [TODO] To be measured precisely using a timer input capture
|
||||
|
||||
RTC_InitTypeDef RTC_InitStructure;
|
||||
RTC_InitStructure.RTC_AsynchPrediv = 127;
|
||||
|
|
Loading…
Reference in New Issue