Код: Выделить всё
char *string = "string here";
Код: Выделить всё
uint8_t num = 5;
Код: Выделить всё
long long bigNum = 90322L;
Код: Выделить всё
float decimal = 6.3f;
Код: Выделить всё
uint32_t *source = 0x08000000;
Код: Выделить всё
cc0144: {D} warning: a value of type "int" cannot be used to initialize an entity of type "uint32_t *"
cc0152: {D} warning: conversion of nonzero integer to pointer
Код: Выделить всё
uint32_t *source = (uint32_t *)0x08000000;
Подробнее здесь: https://stackoverflow.com/questions/242 ... er-literal
Мобильная версия