Skip to content
Closed

Swan #16

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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
| :green_heart: | STM32L4S7ZITx | Generic Board | *2.0.0* | |
| :green_heart: | STM32L4S9ZIJx | Generic Board | *2.0.0* | |
| :yellow_heart: | STM32L4S9ZIYx | Generic Board | **2.1.0** | |
| :yellow_heart: | STM32L4R5ZIYx | Swan | **2.1.0** | [Blues Wireless](https://blues.io/) |
| :yellow_heart: | STM32L4R5ZIYx | Swan R5 | **2.1.0** | [Blues Wireless](https://blues.io/) |

### Generic STM32L5 boards

Expand Down
2 changes: 1 addition & 1 deletion boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4408,7 +4408,7 @@ GenL4.build.series=STM32L4xx
GenL4.build.cmsis_lib_gcc=arm_cortexM4lf_math

# Swan
GenL4.menu.pnum.SWAN=Swan
GenL4.menu.pnum.SWAN=Swan R5
GenL4.menu.pnum.SWAN.upload.maximum_size=2097152
GenL4.menu.pnum.SWAN.upload.maximum_data_size=655360
GenL4.menu.pnum.SWAN.build.board=SWAN
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* STM32L4S5ZIYx.xml, STM32L4S9ZIYx.xml
* CubeMX DB release 6.0.21
*/
#if defined(ARDUINO_SWAN)
#if defined(ARDUINO_SWAN_R5)
#include "Arduino.h"
#include "PeripheralPins.h"

Expand Down Expand Up @@ -476,4 +476,4 @@ WEAK const PinMap PinMap_SD[] = {
};
#endif

#endif /* ARDUINO_SWAN */
#endif /* ARDUINO_SWAN_R5 */
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
*******************************************************************************
*/
#if defined(ARDUINO_SWAN)
#if defined(ARDUINO_SWAN_R5)
#include "pins_arduino.h"

// Digital PinName array
Expand Down Expand Up @@ -185,4 +185,4 @@ WEAK void SystemClock_Config(void)
#ifdef __cplusplus
}
#endif
#endif /* ARDUINO_SWAN* */
#endif /* ARDUINO_SWAN_R5* */
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@
#define USER_BTN PC13
#endif

// On-board user button
#ifndef ENABLE_3V3
#define ENABLE_3V3 PE4
#endif

// I2C definitions
#ifndef PIN_WIRE_SDA
#define PIN_WIRE_SDA PB7
Expand Down