-
Notifications
You must be signed in to change notification settings - Fork 3k
Uhuru RAVEN: Adding platform HAL #9787
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
Conversation
targets/targets.json
Outdated
"network-default-interface-type": "WIFI" | ||
}, | ||
"detect_code": ["9020"], | ||
"device_has_add": ["ANALOGOUT", "CAN", "LOWPOWERTIMER", "TRNG", "FLASH", "MPU"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"LOWPOWERTIMER" can be removed (deprecated value)
targets/targets.json
Outdated
"value": 1 | ||
} | ||
}, | ||
"overrides": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I advice to add
"lpticker_delay_ticks": 4,
like for NUCLEO_F767ZI
targets/targets.json
Outdated
@@ -3029,6 +3029,31 @@ | |||
"device_name": "STM32H743ZI", | |||
"bootloader_supported": true | |||
}, | |||
"UHURU_RAVEN": { | |||
"inherits": ["FAMILY_STM32"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I advice to add
"device_has_remove": ["SERIAL_FC"],
as you don't set any pins in PinMap_UART_RTS and PinMap_UART_CTS
@junichikatsu, thank you for your changes. |
targets/targets.json
Outdated
@@ -3029,6 +3029,31 @@ | |||
"device_name": "STM32H743ZI", | |||
"bootloader_supported": true | |||
}, | |||
"UHURU_RAVEN": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any storage components that should be added? Any SD card, external or internal flash?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The RAVEN board has external SPI Flash.
Hi @junichikatsu , thanks for the pull request. We will review shortly. I've noticed few merges, can they be squashed and make history nice linear with only few commits - the changes are simple here adding few files. |
@@ -0,0 +1,37 @@ | |||
/* mbed Microcontroller Library | |||
* Copyright (c) 2019 Uhuru Corporation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For new files, can you add SPDX idenfier please?
SPDX-License-Identifier: Apache-2.0 in this file, for some ST related, they are BSD-3-Clause
How is ESP32 tested, is it enabled? |
@junichikatsu When opening PRs, be sure that no merged from the master branch exist. Because of the way our release process works, merges from master will often result in weird behavior, such as #9787 (comment) If you haven't already, please review: https://os.mbed.com/docs/mbed-os/v5.11/contributing/workflow.html
|
We plan to use the following library used in Renesas GR-LYCHEE |
Note, #9571 - might have implications for new targets. Please review (there's design document, and targets updated, if any questions, let us know). In any case, please reply to this comment if this change is already done or when completed. |
This target is using existing linker files and not adding new, should be fine. |
I think we're only waiting on this before we can start testing: #9787 (comment) Also, still waiting on the PR's commit history to be merge-free: d97c867 Commit history should be free of merge commits from master, and branches should be updated via rebasing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* MBED API FUNCTIONS | ||
* ----------------------------------------------------------------*/ | ||
|
||
void uhuru_raven_init(void) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the rationale behind hard coding initialization of pins here?
I made a branch and issued the following pull request. |
@junichikatsu I'm not sure I follow. Does #10091 superceed/replace this PR? |
Also, this problem still hasn't been fixed: #9787 (comment) |
c3f3bcd
to
f8c2cb2
Compare
Description
Adding new platform Uhuru RAVEN, STM32F767VI with ESP32 wi-fi module.
Test results:
GCC
ARM
IAR
Pull request type