Skip to content

SPIFFS crashes Fatal exception 0(IllegalInstructionCause) if SPIFFS not assigned #5246

Closed
@AcuarioCat

Description

@AcuarioCat

Basic Infos

  • [x ] This issue complies with the issue POLICY doc.
  • [x ] I have read the documentation at readthedocs and the issue is not addressed there.
  • [x ] I have tested that the issue is present in current master branch (aka latest git).
  • I have searched the issue tracker for a similar issue.
  • [x ] If there is a stack dump, I have decoded it.
  • [x ] I have filled out all fields below.

Platform

  • Hardware: WemosD1 and NodeMCU V1.0
  • Core Version: 12/10/2018 00:34
  • Development Env: Visual Micro
  • Operating System: Windows

Problem Description

More of a 'gotcha' than a problem so it turns out.
On previous builds if a SPIFFS region wasn't assigned calling SPIFFS.begin() worked silently (ok, I guess there would have been problems later on).
On the current git calling begin() causes:
Fatal exception 0(IllegalInstructionCause):
epc1=0x4000e25d, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000

As I said, more of a gotcha than a bug but it would be kinder if there was some sort of compiler warning.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions