不行,你们说的都不对,在51 keil里面可以 在STM32 IAR中 CONST变量与51的code要求不同
会提示
Error[Pe144]: a value of type "u16 const *" cannot be used to initialize an entity of type "u16 *" C:UsersAdministratorDesktop新板实验SOFT-0817Usermain.c 16
不行,你们说的都不对,在51 keil里面可以 在STM32 IAR中 CONST变量与51的code要求不同
会提示
Error[Pe144]: a value of type "u16 const *" cannot be used to initialize an entity of type "u16 *" C:UsersAdministratorDesktop新板实验SOFT-0817Usermain.c 16