Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NUCLEO_L452RE_P arduino pins #335

Merged
merged 1 commit into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hal/include/hal/i2c_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 4 additions & 0 deletions targets/targets.json5
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
Loading