Generic STC12C5A40S2

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

STC12C5A40S2

Frequency

11MHz

Flash

40KB

RAM

1.25KB

Vendor

STC

Configuration

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

[env:STC12C5A40S2]
platform = intel_mcs51
board = STC12C5A40S2

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

[env:STC12C5A40S2]
platform = intel_mcs51
board = STC12C5A40S2

; change microcontroller
board_build.mcu = stc12c5a40s2

; change MCU frequency
board_build.f_cpu = 11059200L

Debugging

Debugging currently does not support Generic STC12C5A40S2 board.