terrymty 发表于 2015-8-20 14:02:09

IAR中 "__aeabi_uidivmod"没有定义如何解决?

IAR中 "__aeabi_uidivmod"没有定义如何解决?

armstrong 发表于 2015-8-20 14:19:59

在代码里加入如下声明:
typedef struct {
int quot;
int rem;
} idiv_return;
__value_in_regs idiv_return __aeabi_idivmod(int numerator, int denominator);

typedef struct {
unsigned quot;
unsigned rem;
} uidiv_return;
__value_in_regs uidiv_return __aeabi_uidivmod(unsigned numerator, unsigned denominator);

然后你懂的!
页: [1]
查看完整版本: IAR中 "__aeabi_uidivmod"没有定义如何解决?