• Lx51 "Data Type Different" Warnings ?
    Hello. I have a project that links to a library I created using the C51 toolset. If I build it using BL51, everything's cool. If I build it with Lx51, I get warnings like this: *** WARNING L25:...
  • Warning C259: '=': different enumeration types
    C51: V7.50 When I try to build the following code, I receive Warning C259, complaining about enumeration types : typedef enum { ZERO, ONE, TWO } Numbers; void main(void) { Numbers e_numbers;...
  • Lx51 "Data Type Different" Warnings ?
    Hello. I have a project that links to a library I created using the C51 toolset. If I build it using BL51, everything's cool. If I build it with Lx51, I get warnings like this: *** WARNING L25:...
  • Warning C259: '=': different enumeration types
    C51: V7.50 When I try to build the following code, I receive Warning C259, complaining about enumeration types : typedef enum { ZERO, ONE, TWO } Numbers; void main(void) { Numbers e_numbers;...
  • Function with different types of arguments
    Hello! In the program, I decided to redo some of the functions and added the structure: typedef struct { GPIO_TypeDef * GPIOx; uint16_t PINx; }GPIO_PINdef; Previously, the function looked like...