Amazon FreeRTOS SDK Code Examples | サイプレス セミコンダクタ
Amazon FreeRTOS SDK Code Examples
Amazon FreeRTOS includes examples as part of the SDK. They are in the demos folder of the GitHub repository. See the demos ReadMe file for details on how to use the examples. Some of these standard demo apps may not be supported by the Cypress implementation of Amazon Free RTOS.
In addition, these examples are available at the Cypress GitHub site.
|afr-example-capsense||This code example features a 5-segment CapSense slider and two CapSense buttons. The status of the buttons and slider are stored in an AWS thing shadow.|
|afr-example-weather-station||This example demonstrates the implementation of a weather station using IoT libraries of Amazon FreeRTOS.|
|afr-example-wifi-scan||This example scans for Wi-Fi APs and prints the details. The scan process runs as a task with 5 seconds delay between successive scans.|
|afr-example-wlan-offloads||This code example demonstrates various WLAN offloads such as Address Resolution Protocol (ARP) offload, Packet filter offload, and the TCP keepalive offload using the Low Power Assistant (LPA) middleware.|
|afr-example-wlan-lowpower||This code example demonstrates the low-power operation of the PSoC 6 MCU (host) and the WLAN device using the Low Power Assistant (LPA) middleware.
The code example connects to a configured Wi-Fi network. After connecting to the network successfully, the example configures the WLAN device in a power save mode, suspends the network stack, and puts the host MCU in a wait state. During this wait state, the host MCU enters a low-power state and wakes up on any network activity detected between the host MCU and the WLAN device.
|afr-example-mcuboot-rollback||This code example implements a bootloader based on MCUBoot to demonstrate rollback to a known good image in case of unrecoverable error conditions with the application that is currently running.|