Generic STC15F2K40S2

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

STC15F2K40S2

Frequency

11MHz

Flash

40KB

RAM

2KB

Vendor

STC

Configuration

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

[env:STC15F2K40S2]
platform = intel_mcs51
board = STC15F2K40S2

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

[env:STC15F2K40S2]
platform = intel_mcs51
board = STC15F2K40S2

; change microcontroller
board_build.mcu = stc15f2k40s2

; change MCU frequency
board_build.f_cpu = 11059200L

Debugging

Debugging currently does not support Generic STC15F2K40S2 board.