You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [ $$(printf %s "$${BOARD_NAME}" | grep -c .) -gt 1 ]; then \
echo "More than one board_name found in Unified Target configuration $${target_config}."; \
exit 1; \
fi; \
\
if [ $$(printf %s "$${MANUFACTURER_ID}" | grep -c .) -gt 1 ]; then \
echo "More than one manufacturer_id found in Unified Target configuration $${target_config}."; \
exit 1; \
fi; \
\
if [ $$(echo "$${BOARD_NAME}" | grep -c '[^[:upper:][:digit:]_]') -ne 0 ]; then \
echo "Invalid characters found in board_name ($${BOARD_NAME}, allowed 'A'-'Z', '0'-'9', '_') in Unified Target configuration $${target_config}."; \
exit 1; \
fi; \
\
if [ $$(echo "$${MANUFACTURER_ID}" | grep -c '[^[:upper:][:digit:]_]') -ne 0 ]; then \
echo "Invalid characters found in manufacturer_id ($${MANUFACTURER_ID}, allowed 'A'-'Z', '0'-'9', '_') in Unified Target configuration $${target_config}."; \
exit 1; \
fi; \
\
if [ "$${FILE_NAME}" != "$${MANUFACTURER_ID}-$${BOARD_NAME}.config" ]; then \
echo "File name does not match board name ($${BOARD_NAME}) / manufacturer id ($${MANUFACTURER_ID}) in Unified Target configuration $${target_config}."; \