Fix NUCLEO_L452RE_P arduino pins (#335)

pull/15530/head
Jamie Smith 2024-09-02 14:52:58 -07:00 committed by GitHub
parent 975e6b2fa5
commit e6043218fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 4 deletions

View File

@ -338,7 +338,7 @@ int i2c_slave_write(i2c_t *obj, const char *data, int length);
/** Configure I2C address.
* @param obj The I2C object
* @param idx Currently not used
* @param address The address to be set
* @param address The address to be set (8-bit, always a read address)
* @param mask Currently not used
*/
void i2c_slave_address(i2c_t *obj, int idx, uint32_t address, uint32_t mask);

View File

@ -120,9 +120,9 @@ typedef enum {
ARDUINO_UNO_A4 = PC_1,
ARDUINO_UNO_A5 = PC_0,
ARDUINO_UNO_D0 = PA_3,
ARDUINO_UNO_D1 = PA_2,
ARDUINO_UNO_D2 = PA_10,
ARDUINO_UNO_D0 = PA_10,
ARDUINO_UNO_D1 = PA_9,
ARDUINO_UNO_D2 = PA_12,
ARDUINO_UNO_D3 = PB_3,
ARDUINO_UNO_D4 = PB_5,
ARDUINO_UNO_D5 = PA_15,

View File

@ -4313,6 +4313,10 @@
"detect_code": [
"0829"
],
"overrides": {
// ADC vref on this board is connected to 3.3V VDD
"default-adc-vref": 3.3
},
"device_name": "STM32L452RETx",
"image_url": "https://mm.digikey.com/Volume0/opasdata/d220001/medias/images/2508/MFG_NUCLEO-L433RC-P.jpg"
},