F
F
FlexNst2015-07-11 11:40:12
C++ / C#
FlexNst, 2015-07-11 11:40:12

Type error in unknown type name 'uint_farptr_t', who faced?

When compiling a program to work with LCD wh1602b, an error occurs in the standard library avr/pgmspace.h by googling found out that this component is used to write values ​​to the flash memory of the controller, also found out that the type 'uint_farptr_t' is the same type as uint32_t which can be defined as typedef uint32_t uint_farptr_t, but the definition in main.c does nothing. Tormented to search and google! I ask for help from those who faced this problem.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2015-07-11
@jcmvbkbc

Show me your main.c, compilation command and the full text of the error.

V
veydlin, 2015-07-11
@veydlin

Have you tried replacing all uint_farptr_t with uint32_t?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question