S4A known directories

 the IDE has grown organically over the years and many things are not documented.

I thought something useful might be the (current) set of directories used by S4A 4.9.2 (note, these things change often)


In ~/Library/Application Support/SwiftForArduino...

Boards

- a supplementary boards.yaml file and related images, allowing you to add board definitions, which will be detected if their USB VID/PID match

Builds

- dynamically created/destroyed folders that contain the files built from source code, created on demand and deleted when you close the project, there is an advanced setting to keep contents

Extensions/Build

- the location for build plugins used by the board definitions, e.g. 0-series atmega chip build plugins

Extensions/Upload

- the location for upload plugins used by the board definitions, e.g. 0-series atmega chip upload plugins

Extensions/Modules

- added into the swift compile and clang compile paths, you can put built modules in here for import into your code

Libraries

- automatically downloaded from the github community site, these are useful swift files that can be imported as tabs into your project

S4A/XXX/Modules

- internally maintained folders containing low level modules deployed automatically with the IDE, HAL metal layer and AVR

Styles

- a supplementary styles.yaml file for altering themed colours in the IDE



In ~/Documents/SwiftForArduino...

Exports

- if you build a project as a module, it's output is placed here, there's an advanced preference to include this on the import list for future project builds, useful for testing built modules

Comments

Popular posts from this blog

Halloween LED lights on a plastic trick or treat cauldron

All about bootloaders

code signing, entitlements, bundles, sandboxes, hardened runtime, notarisation, app store security