Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leonrinkel/sam-fd-sdk
SDK for sam-fd based on Zephyr OS
https://github.com/leonrinkel/sam-fd-sdk
sam-fd samc21 sdk zephyr zephyr-rtos
Last synced: 3 days ago
JSON representation
SDK for sam-fd based on Zephyr OS
- Host: GitHub
- URL: https://github.com/leonrinkel/sam-fd-sdk
- Owner: leonrinkel
- License: apache-2.0
- Created: 2023-10-11T15:28:55.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-12T17:23:00.000Z (6 months ago)
- Last Synced: 2024-05-13T09:37:19.717Z (6 months ago)
- Topics: sam-fd, samc21, sdk, zephyr, zephyr-rtos
- Language: C
- Homepage: https://git.leon.fyi/sam-fd-sdk
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sam-fd-sdk
## Initialization
Make sure you have a proper Zephyr development environment according to the official documentation.
```sh
west init -m https://git.leon.fyi/sam-fd-sdk --mr main sam-fd-workspace # or
west init -m https://github.com/leonrinkel/sam-fd-sdk --mr main sam-fd-workspace
cd sam-fd-workspace
west update
```## Building
```sh
west build --sysbuild -b sam_fd sam-fd-sdk/app
```## Flashing
### Using a Debugger
```sh
west flash --runner jlink # or
west flash --runner pyocd
```### Via Serial Recovery
Serial recovery mode can be entered by running a command like the following immediately after resetting.
```sh
mcumgr \
--conntype serial \
--connstring dev=/dev/cu.usbserial-110,baud=115200 \
image upload -e build/app/zephyr/zephyr.signed.bin
```## License
Please see [LICENSE](LICENSE). The software side of this project is based on [Zephyr](https://www.zephyrproject.org) which is mostly licensed under the [Apache-2.0](http://www.apache.org/licenses/LICENSE-2.0) license.