Skip to content

[Seeed Arch MAX] Add Mbed OS 5 support #8831

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

Merged
merged 2 commits into from
Dec 12, 2018
Merged
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
24 changes: 19 additions & 5 deletions targets/targets.json
Original file line number Diff line number Diff line change
Expand Up @@ -3259,17 +3259,31 @@
"inherits": ["FAMILY_STM32"],
"supported_form_factors": ["ARDUINO"],
"core": "Cortex-M4F",
"supported_toolchains": ["ARM", "uARM", "GCC_ARM"],
"supported_toolchains": ["ARM", "uARM", "GCC_ARM", "IAR"],
"program_cycle_s": 2,
"extra_labels_add": [
"STM32F4",
"STM32F407",
"STM32F407xG",
"STM32F407VG"
"STM32F407VG",
"STM_EMAC"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@toyowata : STM_EMAC - so, any default network interface on the board? If yes, you may want to add this here as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ashok-rao Thanks. I added network-default-interface-type.

],
"device_has_add": ["ANALOGOUT", "TRNG", "FLASH", "MPU"],
"release_versions": ["2"],
"device_name": "STM32F407VG"
"device_has_add": ["ANALOGOUT", "TRNG", "FLASH", "EMAC", "MPU"],
"device_has_remove": ["LPTICKER"],
"macros_add": ["USB_STM_HAL"],
"config": {
"clock_source": {
"help": "Mask value : USE_PLL_HSE_EXTC | USE_PLL_HSE_XTAL | USE_PLL_HSI | USE_PLL_MSI",
"value": "USE_PLL_HSE_XTAL",
"macro_name": "CLOCK_SOURCE"
}
},
"release_versions": ["2", "5"],
"overrides": {"lse_available": 0},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line makes use of LSI for RTC .. but still we see RTC failing.. General comment for @0xc0170 : I have seen this happening on all F4 series for the RTC .. this is something we need to investigate more on..

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there is not yet issue reported, please do

"device_name": "STM32F407VG",
"overrides": {
"network-default-interface-type": "ETHERNET"
}
},
"WIO_3G": {
"inherits": ["FAMILY_STM32"],
Expand Down