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

SiW917 SOC bring up with new Wi-Fi SDK support #123

Closed
wants to merge 5 commits into from

Conversation

shgutte
Copy link
Collaborator

@shgutte shgutte commented Jun 26, 2023

Problem / Feature:
SiW917 SOC facing some build issues because of nvm files and other files.

Change overview
SiW917 SOC brings up new Wi-Fi SDK support needs this nvm changes

Testing
SiW917 SOC

@@ -0,0 +1,32 @@
// This file is autogenerated by Silicon Labs SLC.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please specify which version of GSDK these files were taken from. Does the content of the rest of the files in this part of the repo correspond to that GSDK version? In other words, after this PR will the content match some version of GSDK?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we are using the files from GSDK 4.2.0 all the files we took from that GSDK only

Copy link
Collaborator

Choose a reason for hiding this comment

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

How will it work when we update to GSDK 4.3.1 ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We tested with GSDK 4.3.0 it's working

Copy link
Contributor

Choose a reason for hiding this comment

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

nvm3 contents are copied from gecko_sdk (4.2.0) and it's customized for 917 SoC in matter_support.
We are planning to remove the nvm3 from matter_support and use it from gecko_sdk. But, we need some changes from wiseconnect sdk 3.0 for this support (common and dual flash driver support for nvm3).
We will create new PR for matter_support after new modifications are tested with latest wiseconnect sdk 3.0 .
It will be good if this PR is approved for testing the SoC apps in studio.

@shgutte shgutte closed this Jun 27, 2023
@shgutte shgutte reopened this Jun 27, 2023
* Restyled by whitespace

* Restyled by clang-format

---------

Co-authored-by: Restyled.io <commits@restyled.io>
@@ -0,0 +1,32 @@
// This file is autogenerated by Silicon Labs SLC.
Copy link
Collaborator

Choose a reason for hiding this comment

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

How will it work when we update to GSDK 4.3.1 ?


#ifndef NVM3_DEFAULT_REPACK_HEADROOM
// <o NVM3_DEFAULT_REPACK_HEADROOM> NVM3 Default Instance User Repack Headroom
// <i> Headroom determining how many bytes below the forced repack limit the
Copy link
Collaborator

Choose a reason for hiding this comment

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

Theses files should not be here IMO

* @brief Core interrupt handling API
*******************************************************************************
* # License
* <b>Copyright 2018 Silicon Laboratories Inc. www.silabs.com</b>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is a .bak file here ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

removed the .bak

@@ -16,7 +16,7 @@
******************************************************************************/
#include "ccp_flash_intf.h"
#include "RS1xxxx_9117.h"
#include "rsi_board.h"
//#include "rsi_board.h"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why are these lines commented out ? If they are not needed they should be removed..

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

removed

@@ -0,0 +1,69 @@
/***************************************************************************/ /**
* @file
Copy link
Collaborator

Choose a reason for hiding this comment

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

Formatting.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

****************************** MACROS **********************************
*****************************************************************************/

#define CHECK_DATA 1 ///< Macro defining if data should be checked
Copy link
Collaborator

Choose a reason for hiding this comment

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

Pretty sure theses files are copy pasted from the GSDK.... Why ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

The whole file and the whole directory tree under platform/ is copied from the GSDK

@mykrupp
Copy link
Collaborator

mykrupp commented Sep 8, 2023

Is this still being worked on? Can it be closed? Why is the platform folder copy-pasted from the GSDK?

@jmartinez-silabs
Copy link
Collaborator

@shgutte ^ can we close?

@shgutte shgutte closed this Oct 12, 2023
@mkardous-silabs mkardous-silabs deleted the feature/SOC_bringup_new_wifi_sdk branch October 12, 2023 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants