Emcraft SmartFusion2#
Pigweed AI summary: The Emcraft SmartFusion2 system-on-module target configuration uses FreeRTOS and the Microchip MSS HAL instead of a baremetal approach. To use this target, pigweed must be set up to use FreeRTOS and the Microchip MSS HAL for the SmartFusion series. The necessary repositories can be downloaded using "pw package" and the build must be manually configured to point to the downloaded locations. The demo for this target is not currently available in Pigweed, but will be available in the
The Emcraft SmartFusion2 system-on-module target configuration uses FreeRTOS and the Microchip MSS HAL rather than a from-the-ground-up baremetal approach.
Setup#
Pigweed AI summary: To use this target, pigweed must be set up to use FreeRTOS and the Microchip MSS HAL for the SmartFusion series. The required repositories can be downloaded using "pw package" command, and then the build configuration must be manually updated to specify the locations where the repositories were downloaded. The following lines should be added to the configuration file: dir_pw_third_party_freertos, dir_pw_third_party_smartfusion_mss, and dir_pw_third_party_nanopb.
To use this target, pigweed must be set up to use FreeRTOS and the Microchip
MSS HAL for the SmartFusion series. The supported repositories can be
downloaded via pw package
, and then the build must be manually configured
to point to the locations the repositories were downloaded to.
pw package install freertos
pw package install smartfusion_mss
pw package install nanopb
gn args out
Then add the following lines to that text file:
dir_pw_third_party_freertos = getenv("PW_PACKAGE_ROOT") + "/freertos"
dir_pw_third_party_smartfusion_mss = getenv("PW_PACKAGE_ROOT") + "/smartfusion_mss"
dir_pw_third_party_nanopb = getenv("PW_PACKAGE_ROOT") + "/nanopb"
Building and running the demo#
Pigweed AI summary: The "Building and running the demo" section states that the target for building the demo is not currently available in Pigweed, but will be added in the future through the pw_system_demo build target.
This target does not yet build as part of Pigweed, but will later be available though the pw_system_demo build target.