platformio / platform-intel_mcs51

Intel MCS-51 (8051): development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/intel_mcs51
Apache License 2.0
56 stars 44 forks source link

added some new boards and universal header + blink samples #41

Closed snovotill closed 2 years ago

snovotill commented 3 years ago

I have no idea how to use github but nevertheless here are some new board definitions (including Nuvoton) and examples which include the new MCU header files. The original 805x headers have also been made more universal by ensuring they contain pin definitions in both accepted formats, that being PXY as well as PX_Y. Extra Flags are added to the previously existing STC headers so that boards can be automatically detected at compile time as is demonstrated within anymcu-blink main.c

snovotill commented 3 years ago

Requesting some comments from the community. I'm currently working on BSP files (MCU header files) which need to be included for the STC and Nuvoton. I'll upload those soon.

MiltonLai commented 2 years ago

Can anyone review and merge these pull requests? Why all these pending for so long?

zerog2k commented 2 years ago

@ivankravets should have access, or know the community admin team who has access to this repo

ivankravets commented 2 years ago

We will review it soon.

LovelyA72 commented 2 years ago

This is truly awesome! finally, we have nuvoton support in platformio. I don't know why still nobody is reviewing this pull request.

cocus commented 2 years ago

I've tried to use the 90C516RD+ but it's similar to the 89C516RD+ by the looks of it. This PR would've solved my issue beforehand... Not sure why it's not merged yet

ivankravets commented 2 years ago

I fixed all issues, thanks for the PR! Anyone in this thread, please re-test this PR using the next guide:

  1. Upgrade PIO Core to the latest dev version pio upgrade --dev
  2. Use the GIT version of dev-platform in platformio.ini => platform = https://github.com/platformio/platform-intel_mcs51.git
  3. Open the system terminal, change the working directory to the project folder, and type pio pkg update
  4. Build project
  5. Upload firmware.

Does it work now?

P.S: Please note that all board manifests were renamed to upper case.

cocus commented 2 years ago

Tested with a 90C516RD+, works as expected.