# Generic STC15F2K60S2

Contents

- Generic STC15F2K60S2

  - 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 | STC15F2K60S2
Frequency | 6MHz
Flash | 60KB
RAM | 2KB
Vendor | STC

## Configuration

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

    [env:stc15f2k60s2]
    platform = intel_mcs51
    board = stc15f2k60s2

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

    [env:stc15f2k60s2]
    platform = intel_mcs51
    board = stc15f2k60s2

    ; change microcontroller
    board_build.mcu = stc15f2k60s2

    ; change MCU frequency
    board_build.f_cpu = 6000000L

## Debugging

PIO Unified Debugger currently does not support Generic STC15F2K60S2 board.