When trying to define a constant pointer: const uart_base: *u32 = 0x80001000 as *u32;
I get the following error: Non-constant expression where constant expected.
This should be possible, as otherwise there's no way to initialize an arbitrary constant pointer.
When trying to define a constant pointer:
const uart_base: *u32 = 0x80001000 as *u32;
I get the following error:Non-constant expression where constant expected
. This should be possible, as otherwise there's no way to initialize an arbitrary constant pointer.