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

Add M5Stack-FIRE board #1647

Merged
merged 3 commits into from
Jul 25, 2018
Merged

Add M5Stack-FIRE board #1647

merged 3 commits into from
Jul 25, 2018

Conversation

0x1abin
Copy link
Contributor

@0x1abin 0x1abin commented Jul 16, 2018

Add M5Stack-FIRE board 16MB FLASH, 4MB PSRAM.

static const uint8_t G5 = 5;
static const uint8_t G13 = 13;
static const uint8_t G0 = 0;
static const uint8_t G34 = 34;
Copy link
Member

Choose a reason for hiding this comment

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

why are those?

static const uint8_t RX = 3;

static const uint8_t TXD2 = 17;
static const uint8_t RXD2 = 16;
Copy link
Member

Choose a reason for hiding this comment

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

16 and 17 are connected to PSRAM

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it should remove.

Copy link
Member

Choose a reason for hiding this comment

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

I think you forgot those lines :)

boards.txt Outdated
m5stack-fire.menu.FlashFreq.80=80MHz
m5stack-fire.menu.FlashFreq.80.build.flash_freq=80m
m5stack-fire.menu.FlashFreq.40=40MHz
m5stack-fire.menu.FlashFreq.40.build.flash_freq=40m
Copy link
Member

Choose a reason for hiding this comment

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

find what works on the board and let's remove this option.

boards.txt Outdated
m5stack-fire.menu.FlashMode.qout.build.boot=qout
m5stack-fire.menu.FlashMode.dout=DOUT
m5stack-fire.menu.FlashMode.dout.build.flash_mode=dout
m5stack-fire.menu.FlashMode.dout.build.boot=dout
Copy link
Member

Choose a reason for hiding this comment

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

find what works on the board and let's remove this option. DIO or QIO

boards.txt Outdated
m5stack-fire.menu.PartitionScheme.no_ota.upload.maximum_size=2097152
m5stack-fire.menu.PartitionScheme.min_spiffs=Minimal SPIFFS (Large APPS with OTA)
m5stack-fire.menu.PartitionScheme.min_spiffs.build.partitions=min_spiffs
m5stack-fire.menu.PartitionScheme.min_spiffs.upload.maximum_size=1966080
Copy link
Member

Choose a reason for hiding this comment

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

those partitions make no sense. let's discuss this and add new options :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, there is no partition for 16MB Flash, should add new options.

boards.txt Outdated
m5stack-fire.menu.PSRAM.disabled=Disabled
m5stack-fire.menu.PSRAM.disabled.build.defines=
m5stack-fire.menu.PSRAM.enabled=Enabled
m5stack-fire.menu.PSRAM.enabled.build.defines=-DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue
Copy link
Member

Choose a reason for hiding this comment

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

Put enabled on top so it's the default option and why not enable it by default by adding the defines to the main section?

Copy link
Member

@me-no-dev me-no-dev left a comment

Choose a reason for hiding this comment

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

Looks good :) I left a few comments.

@0x1abin
Copy link
Contributor Author

0x1abin commented Jul 17, 2018

Thank you very much for your comments, I push the new PR.

@me-no-dev
Copy link
Member

@0x1abin I would like to merge this. Can you please remove pins 16 and 17 from the variant header?

@me-no-dev me-no-dev merged commit 7761ebd into espressif:master Jul 25, 2018
Curclamas pushed a commit to Curclamas/arduino-esp32 that referenced this pull request Aug 21, 2018
* Add M5Stack-FIRE board

* updated m5stack-fire boards.txt

* remove pins 16 and 17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants