Open Osamu-Nakamura opened 7 years ago
Hi, I believe that this is an error with the way that we're evaluating the enum values. We should probably change the implementation of generate_pins.py
to follow the way that C/C++ does it.
Thank you for your comment. Until generate_pins.py
would be updated, I would modify pinNames.h
so that generate_pins.py
can generate pins.cpp
. I look forward to the change.
I tried to make jerryscript for RZ_A1H that is mbed os 5 compliant platform by invoking the command _make BOARD=RZA1H. However, I faced the following error:
It seems that the cause of the above error is PinNames.h implementation for RZ_A1H. The current implementation is described below:
If enum value is NOT explicitly specified as shown above, the error occurs when generating pins.cpp. Is there any option for avoiding this error without revising pinNames.h? I think there is no issue in the above pinNames.h implementation from C language's point of view and therefore, jerryscript should be built for RZ_A1H successfully without the modification.
If you could give me any comment, it would be very helpful to me.