-
Notifications
You must be signed in to change notification settings - Fork 116
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 esp32 p4 stub and target code #147
Conversation
Download the artifacts for this pull request: |
PTAL @RushikeshPatange |
LGTM |
src/esploader.ts
Outdated
@@ -155,8 +155,7 @@ async function magic2Chip(magic: number): Promise<ROM | null> { | |||
const { ESP8266ROM } = await import("./targets/esp8266.js"); | |||
return new ESP8266ROM(); | |||
} | |||
case 0x0addbad0: | |||
case 0x0: { |
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 previous change seemed right - Magic value for p4 chip seems to be - 0x0addbad0
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.
Adding them now
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.
@adwait-esp which chip revision do you have? (You can check using esptool.py)
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.
Those values are listed in current esptool master. I've tested with Function EV Board but magic value was 0x7039ad9
Add ESP32 P4 support.
Test steps:
Open a browser and go to
http://localhost:1234
to launch esptool-js website.