Skip to content

A boilerplate project for Seeed Studio's XIAO-ESP32S3-Sense using the PlatfomIO IDE and Arduino framework.

License

Notifications You must be signed in to change notification settings

KamranAghlami/XIAO-ESP32S3-Sense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XIAO-ESP32S3-Sense

A boilerplate project for Seeed Studio's XIAO-ESP32S3-Sense using the PlatformIO IDE and the Arduino framework.

Features:

  • Takes care of initializing the hardware.
  • Initializes the external PSRAM.
  • Mounts the internal flash as a storage medium.

Partiotion Table:

The 8MB flash is partitioned as follows, there are 20KBs of space allocated as nvs key-value storage, an otadata partition, and two app partitions defined, 2MBs each, so OTA updates can be supported as well. And finally 3.93MBs of space is allocated to the storage partition that is available to the user to work with.

Name Type SubType Offset Size
nvs data nvs 0x9000 0x5000
otadata data ota 0xe000 0x2000
app0 app ota_0 0x10000 0x200000
app1 app ota_1 0x210000 0x200000
storage data spiffs 0x410000 0x3f0000

Getting Started

It is as easy as inheriting from the application class and overriding on_create and on_update methods.

Check out the example.cpp file, It's provided to help as a starting point.

Note: As mentioned, this example utilizes Espressif's Storage API, so if you're building from source don't forget to build and upload the filesystem image as well before the first use.

Try it out

Got your board at hand? Download the latest release and flash online via ESP Tool. Use the provided offsets.json file to specify which address to flash each bin file to.

About

A boilerplate project for Seeed Studio's XIAO-ESP32S3-Sense using the PlatfomIO IDE and Arduino framework.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages