-
Notifications
You must be signed in to change notification settings - Fork 121
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
[WIP] IEP-897: FreeRTOS Task View #834
base: master
Are you sure you want to change the base?
Conversation
WalkthroughThe changes primarily involve refactoring and localization. Functionality related to environment configuration, OpenOCD rules copying, and pip package installation has been moved to Changes
TipsChat with CodeRabbit Bot (
|
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.
Review Status
Actionable comments generated: 0
Files selected for processing (9)
- bundles/com.espressif.idf.core/src/com/espressif/idf/core/tools/util/Messages.java (1 hunks)
- bundles/com.espressif.idf.core/src/com/espressif/idf/core/tools/util/ToolsUtility.java (9 hunks)
- bundles/com.espressif.idf.core/src/com/espressif/idf/core/tools/util/messages.properties (1 hunks)
- bundles/com.espressif.idf.ui/src/com/espressif/idf/ui/tools/Messages.java (1 hunks)
- bundles/com.espressif.idf.ui/src/com/espressif/idf/ui/tools/ToolsInstallationHandler.java (6 hunks)
- bundles/com.espressif.idf.ui/src/com/espressif/idf/ui/tools/messages.properties (1 hunks)
- bundles/com.espressif.idf.ui/src/com/espressif/idf/ui/update/InstallToolsHandler.java (5 hunks)
- bundles/com.espressif.idf.ui/src/com/espressif/idf/ui/update/Messages.java (1 hunks)
- bundles/com.espressif.idf.ui/src/com/espressif/idf/ui/update/messages.properties (1 hunks)
Files skipped from review due to trivial changes (6)
- bundles/com.espressif.idf.core/src/com/espressif/idf/core/tools/util/Messages.java
- bundles/com.espressif.idf.core/src/com/espressif/idf/core/tools/util/messages.properties
- bundles/com.espressif.idf.ui/src/com/espressif/idf/ui/tools/Messages.java
- bundles/com.espressif.idf.ui/src/com/espressif/idf/ui/tools/messages.properties
- bundles/com.espressif.idf.ui/src/com/espressif/idf/ui/update/InstallToolsHandler.java
- bundles/com.espressif.idf.ui/src/com/espressif/idf/ui/update/Messages.java
Additional comments (Suppressed): 13
bundles/com.espressif.idf.core/src/com/espressif/idf/core/tools/util/ToolsUtility.java (6)
26-27: The new hunk imports
java.util.ArrayList
andjava.util.List
which were not present in the old hunk. Ensure these new imports are used in the code and are necessary.343-402: The method
installWebSocketClientPipPackage(Queue<String> logQueue)
is newly added. It seems to install thewebsocket-client
pip package. Ensure that the package is necessary for the project and that the installation process is compatible with the project's environment.404-463: The method
installFreertosGdbPipPackage(Queue<String> logQueue)
is newly added. It seems to install thefreertos-gdb
pip package. Ensure that the package is necessary for the project and that the installation process is compatible with the project's environment.465-482: The methods
getPipInstallCommand(String pythonPath)
andgetCommandString(List<String> arguments)
are newly added. They seem to be utility methods for pip installation. Ensure that these methods are used in the code and are necessary.484-494: The method
configureRequiredEnvVars(IDFEnvironmentVariables idfEnvironmentVariables)
is newly added. It seems to configure environment variables. Ensure that the environment variables being set are necessary for the project and that the configuration process is compatible with the project's environment.496-575: The method
copyOpenOcdRules(Queue<String> logQueue)
is newly added. It seems to copy OpenOCD rules. Ensure that the rules being copied are necessary for the project and that the copying process is compatible with the project's environment.bundles/com.espressif.idf.ui/src/com/espressif/idf/ui/tools/ToolsInstallationHandler.java (6)
14-18: The import of
java.nio.file.Files
andjava.nio.file.StandardCopyOption
has been removed. Ensure that there are no usages of these classes left in the code.29-34: The import of
org.eclipse.swt.SWT
,org.eclipse.swt.widgets.Display
, andorg.eclipse.swt.widgets.MessageBox
has been removed. Ensure that there are no usages of these classes left in the code.568-577: The methods
configEnv()
andhandleWebSocketClientInstall()
have been replaced withToolsUtility.configureRequiredEnvVars(idfEnvironmentVariables)
,ToolsUtility.installWebSocketClientPipPackage(logQueue)
, andToolsUtility.installFreertosGdbPipPackage(logQueue)
. Ensure that these new methods provide the same functionality as the old ones.655-660: The method
configEnv()
has been removed. Ensure that the environment variablesIDF_COMPONENT_MANAGER
andIDF_MAINTAINER
are being set elsewhere in the code.854-859: The method
copyOpenOcdRules()
has been removed. Ensure that the OpenOCD rules are being copied elsewhere in the code.901-906: The method
handleWebSocketClientInstall()
has been removed. Ensure that the WebSocket client is being installed elsewhere in the code.bundles/com.espressif.idf.ui/src/com/espressif/idf/ui/update/messages.properties (1)
- 23-29: The new hunk introduces a message for installing the
freertos-gdb
package. Ensure that the corresponding functionality has been implemented in the codebase.+ InstallToolsHandler_InstallingFreeRtosGdbtMsg=Installing freertos-gdb
Description
Initial work to dump the data from the freertos gdb python package to a simple text file. Will work on windows as the pip package depends on gdb with python support which has issues on mac and linux.
Fixes # (IEP-897)
Type of change
Please delete options that are not relevant.
How has this been tested?
WIP
Test Configuration:
Checklist
Summary by CodeRabbit
ToolsUtility
class. This change enhances the software's reliability and maintainability.freertos-gdb
package, improving the range of debugging tools available to users.