This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

unknown type name „sfr“

Hi, 

I‘m a beginniner at embedded systems.

I added the „reg51“ header file (which I got from the Keil Website) to the source files for a project I am working on.

Having done that, I got the error message „unknown type name sfr“ which refers to the register definitions within the header file and I don’t know how to fix the issue.

I am using Keil 4.

Please help me....

Parents
  • I‘m using the 8051.

    The reason I am using the old version is because there’s a free course offered online which I registered for, the course practically walks me through embedded programming.

    if you know of modern ones which I can sign up for. Please let me know.

Reply
  • I‘m using the 8051.

    The reason I am using the old version is because there’s a free course offered online which I registered for, the course practically walks me through embedded programming.

    if you know of modern ones which I can sign up for. Please let me know.

Children