projects: delete scarlet

Bit-rotted, and far from compiling sadly.

It'll always be in the git history if we want to resurrect it someday
for some reason.

BUG=b:177003034
TEST=CQ

Change-Id: If0369980f33ef3baca519504f5dbd7638272cc5d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/zephyr-chrome/+/2634347
Tested-by: Jack Rosenthal <jrosenth@chromium.org>
Auto-Submit: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
diff --git a/projects/experimental/OWNERS b/projects/experimental/OWNERS
deleted file mode 100644
index 5e9d03e..0000000
--- a/projects/experimental/OWNERS
+++ /dev/null
@@ -1,3 +0,0 @@
-# This directory is lighter on the code review. Allow anyone to
-# approve.
-*
diff --git a/projects/experimental/scarlet/CMakeLists.txt b/projects/experimental/scarlet/CMakeLists.txt
deleted file mode 100644
index 2f3fa19..0000000
--- a/projects/experimental/scarlet/CMakeLists.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright 2020 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-# SPDX-License-Identifier: Apache-2.0
-
-cmake_minimum_required(VERSION 3.13.1)
-set(BOARD_ROOT ${CMAKE_CURRENT_LIST_DIR})
-set(BOARD scarlet)
-
-# Set the compiler needed for this board
-# TODO(b/161461212): move absolute path into another file
-set(CROSS_COMPILE /opt/coreboot-sdk/bin/arm-eabi-)
-
-find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
-project(scarlet)
-
-target_sources(app PRIVATE src/main.c)
diff --git a/projects/experimental/scarlet/boards/arm/scarlet/CMakeLists.txt b/projects/experimental/scarlet/boards/arm/scarlet/CMakeLists.txt
deleted file mode 100644
index d1b8108..0000000
--- a/projects/experimental/scarlet/boards/arm/scarlet/CMakeLists.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-# SPDX-License-Identifier: Apache-2.0
-
-if(CONFIG_PINMUX)
-zephyr_library()
-zephyr_library_sources(pinmux.c)
-zephyr_library_include_directories(${ZEPHYR_BASE}/drivers)
-endif()
diff --git a/projects/experimental/scarlet/boards/arm/scarlet/Kconfig.board b/projects/experimental/scarlet/boards/arm/scarlet/Kconfig.board
deleted file mode 100644
index e493f69..0000000
--- a/projects/experimental/scarlet/boards/arm/scarlet/Kconfig.board
+++ /dev/null
@@ -1,8 +0,0 @@
-# Google Scarlet EC
-
-# Copyright 2020 The Chromium OS Authors
-# SPDX-License-Identifier: Apache-2.0
-
-config BOARD_SCARLET
-	bool "Google Scarlet EC"
-	depends on SOC_STM32F098XX
diff --git a/projects/experimental/scarlet/boards/arm/scarlet/Kconfig.defconfig b/projects/experimental/scarlet/boards/arm/scarlet/Kconfig.defconfig
deleted file mode 100644
index 735eaac..0000000
--- a/projects/experimental/scarlet/boards/arm/scarlet/Kconfig.defconfig
+++ /dev/null
@@ -1,11 +0,0 @@
-# Google Scarlet EC
-
-# Copyright 2020 The Chromium OS Authors
-# SPDX-License-Identifier: Apache-2.0
-
-if BOARD_SCARLET
-
-config BOARD
-	default "scarlet"
-
-endif # BOARD_SCARLET
diff --git a/projects/experimental/scarlet/boards/arm/scarlet/board.cmake b/projects/experimental/scarlet/boards/arm/scarlet/board.cmake
deleted file mode 100644
index 9881313..0000000
--- a/projects/experimental/scarlet/boards/arm/scarlet/board.cmake
+++ /dev/null
@@ -1 +0,0 @@
-# SPDX-License-Identifier: Apache-2.0
diff --git a/projects/experimental/scarlet/boards/arm/scarlet/pinmux.c b/projects/experimental/scarlet/boards/arm/scarlet/pinmux.c
deleted file mode 100644
index 5f4ec4a..0000000
--- a/projects/experimental/scarlet/boards/arm/scarlet/pinmux.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright (c) 2020 The Chromium OS Authors
- *
- * SPDX-License-Identifier: Apache-2.0
- */
-
-#include <kernel.h>
-#include <device.h>
-#include <init.h>
-#include <drivers/pinmux.h>
-#include <sys/sys_io.h>
-
-#include <pinmux/stm32/pinmux_stm32.h>
-
-static const struct pin_config pinconf[] = {
-	/* UART */
-	{STM32_PIN_PA9, STM32F0_PINMUX_FUNC_PA9_USART1_TX},
-	{STM32_PIN_PA10, STM32F0_PINMUX_FUNC_PA10_USART1_RX},
-};
-
-static int pinmux_stm32_init(struct device *port)
-{
-	ARG_UNUSED(port);
-
-	stm32_setup_pins(pinconf, ARRAY_SIZE(pinconf));
-
-	return 0;
-}
-
-SYS_INIT(pinmux_stm32_init, PRE_KERNEL_1,
-	 CONFIG_PINMUX_STM32_DEVICE_INITIALIZATION_PRIORITY);
diff --git a/projects/experimental/scarlet/boards/arm/scarlet/scarlet.dts b/projects/experimental/scarlet/boards/arm/scarlet/scarlet.dts
deleted file mode 100644
index e374cb9..0000000
--- a/projects/experimental/scarlet/boards/arm/scarlet/scarlet.dts
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (c) 2020 The Chromium OS Authors
- *
- * SPDX-License-Identifier: Apache-2.0
- */
-
-/dts-v1/;
-#include <st/f0/stm32f098Xc.dtsi>
-
-/ {
-	model = "Google Scarlet EC";
-	compatible = "st,stm32f098rc", "st,stm32f098";
-
-	chosen {
-		zephyr,console = &usart1;
-		zephyr,shell-uart = &usart1;
-		zephyr,sram = &sram0;
-		zephyr,flash = &flash0;
-	};
-};
-
-&usart1 {
-	current-speed = <115200>;
-	status = "okay";
-};
-
-&flash0 {
-	partitions {
-		compatible = "fixed-partitions";
-		#address-cells = <1>;
-		#size-cells = <1>;
-
-		/* Set 6Kb of storage at the end of the 256Kb of flash */
-		storage_partition: partition@3e800 {
-			label = "storage";
-			reg = <0x0003e800 0x00001800>;
-		};
-	};
-};
diff --git a/projects/experimental/scarlet/boards/arm/scarlet/scarlet.yaml b/projects/experimental/scarlet/boards/arm/scarlet/scarlet.yaml
deleted file mode 100644
index 30162a1..0000000
--- a/projects/experimental/scarlet/boards/arm/scarlet/scarlet.yaml
+++ /dev/null
@@ -1,14 +0,0 @@
-identifier: scarlet
-name: "Acer Chromebook Tab 10 Embedded Controller"
-type: mcu
-arch: arm
-toolchain:
-  - zephyr
-  - gnuarmemb
-  - xtools
-ram: 32
-flash: 256
-testing:
-  ignore_tags:
-    - net
-    - bluetooth
diff --git a/projects/experimental/scarlet/boards/arm/scarlet/scarlet_defconfig b/projects/experimental/scarlet/boards/arm/scarlet/scarlet_defconfig
deleted file mode 100644
index dc134a4..0000000
--- a/projects/experimental/scarlet/boards/arm/scarlet/scarlet_defconfig
+++ /dev/null
@@ -1,33 +0,0 @@
-# SPDX-License-Identifier: Apache-2.0
-
-# Zephyr Kernel Configuration
-CONFIG_SOC_SERIES_STM32F0X=y
-
-# Platform Configuration
-CONFIG_SOC_STM32F098XX=y
-CONFIG_BOARD_SCARLET=y
-
-# Serial Drivers
-CONFIG_SERIAL=y
-CONFIG_UART_INTERRUPT_DRIVEN=y
-
-# Enable console
-CONFIG_CONSOLE=y
-CONFIG_UART_CONSOLE=y
-
-# Pinmux Driver
-CONFIG_PINMUX=y
-
-# GPIO Controller
-CONFIG_GPIO=y
-
-# Clock configuration
-CONFIG_CLOCK_CONTROL=y
-
-# Ideally, we would use HSI48, but this is not supported in
-# Zephyr. Use "basic" HSI (8 MHz).
-CONFIG_CORTEX_M_SYSTICK=y
-CONFIG_SYS_CLOCK_HW_CYCLES_PER_SEC=8000000
-
-# SYSCLK selection
-CONFIG_CLOCK_STM32_SYSCLK_SRC_HSI=y
diff --git a/projects/experimental/scarlet/prj.conf b/projects/experimental/scarlet/prj.conf
deleted file mode 100644
index b2a4ba5..0000000
--- a/projects/experimental/scarlet/prj.conf
+++ /dev/null
@@ -1 +0,0 @@
-# nothing here
diff --git a/projects/experimental/scarlet/src/main.c b/projects/experimental/scarlet/src/main.c
deleted file mode 100644
index 30cf683..0000000
--- a/projects/experimental/scarlet/src/main.c
+++ /dev/null
@@ -1,13 +0,0 @@
-/*
- * Copyright (c) 2012-2014 Wind River Systems, Inc.
- *
- * SPDX-License-Identifier: Apache-2.0
- */
-
-#include <zephyr.h>
-#include <sys/printk.h>
-
-void main(void)
-{
-	printk("Hello World! %s\n", CONFIG_ARCH);
-}