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

Add new target: L-TEK FF1705 #4973

Merged
merged 3 commits into from
Sep 22, 2017
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
16 changes: 16 additions & 0 deletions targets/TARGET_STM/TARGET_STM32L1/TARGET_XDOT_L151CC/PinNames.h
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,22 @@ typedef enum {
SE_IO = PB_10,
SE_CLK = PB_11,

#ifdef TARGET_FF1705_L151CC
// Arduino Headers
A0 = PA_0,
A1 = PB_0,
D0 = PA_10,
D1 = PA_9,
D2 = PA_11,
D3 = PA_12,
D10 = PB_12,
D11 = PB_15,
D12 = PB_14,
D13 = PB_13,
D14 = I2C_SDA,
D15 = I2C_SCL,
#endif

// Not connected
NC = (int)0xFFFFFFFF
} PinName;
Expand Down
5 changes: 5 additions & 0 deletions targets/targets.json
Original file line number Diff line number Diff line change
Expand Up @@ -1661,6 +1661,11 @@
"device_name": "STM32L151CC",
"bootloader_supported": true
},
"FF1705_L151CC": {
"supported_form_factors": ["ARDUINO"],
"inherits": ["XDOT_L151CC"],
"detect_code": ["8080"]
},
"MOTE_L152RC": {
"inherits": ["FAMILY_STM32"],
"core": "Cortex-M3",
Expand Down