# Generic STC15W404AS

Contents

- Generic STC15W404AS

  - Hardware

  - Configuration

  - Debugging

## Hardware

Platform Intel MCS-51 (8051): The Intel MCS-51 (commonly termed 8051) is an internally Harvard architecture, complex instruction set computer (CISC) instruction set, single chip microcontroller (uC) series developed by Intel in 1980 for use in embedded systems.

Microcontroller | STC15W404AS
Frequency | 11MHz
Flash | 4KB
RAM | 512B
Vendor | STC

## Configuration

Please use `stc15w404as` ID for board option in “platformio.ini” (Project Configuration File):

    [env:stc15w404as]
    platform = intel_mcs51
    board = stc15w404as

You can override default Generic STC15W404AS settings per build environment using `board_***` option, where `***` is a JSON object path from board manifest stc15w404as.json. For example, `board_build.mcu`, `board_build.f_cpu`, etc.

    [env:stc15w404as]
    platform = intel_mcs51
    board = stc15w404as

    ; change microcontroller
    board_build.mcu = stc15w404as

    ; change MCU frequency
    board_build.f_cpu = 11059200L

## Debugging

PIO Unified Debugger currently does not support Generic STC15W404AS board.