ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
dtzWill has quit [Ping timeout: 260 seconds]
jjido has quit [Remote host closed the connection]
scientes has quit [Ping timeout: 248 seconds]
scientes has joined #zig
scientes has quit [Changing host]
scientes has joined #zig
cenomla has quit [Quit: cenomla]
arBmind has joined #zig
arBmind has quit [Quit: Leaving.]
jjido has joined #zig
scientes has quit [Ping timeout: 250 seconds]
jjido has quit [Remote host closed the connection]
jjido has joined #zig
jjido has quit [Remote host closed the connection]
<skyfex>
Damn andrewrk, that was fast.
<skyfex>
There's some issue with the full .h file though
<skyfex>
C:\SW\zig\zig-nrf-demo\test.zig:2:13: error: compiler bug: @cImport generated invalid zig code const nrf = @cImport({ ^ ?.c:1:1: note: expected pointer, found 'c_ulong' TODO: remember C source location to display here
<skyfex>
I updated the repository with the test-code and build script (using build-ldd.bat now) too. The cImport stuff is commented out though
<skyfex>
Litte-endian bit packing is still not correct btw, but I don't think I saw a commit related to it so you probably knew that
<skyfex>
FYI, it looks like Nordic Semiconductor will update the startup assembly file to be compatible with LLVM in a future SDK release :)
jjido has joined #zig
dtzWill has joined #zig
<andrewrk>
skyfex, yeah I thought that might happen. The problem with the code as is is that it guesses that the type of the thing to cast is a pointer, when it's actually a unsigned long in this case
<andrewrk>
I'll see if I can have it look up the type
<skyfex>
Don't worry too much about it for my sake, just letting you know what I find when playing around :)
<skyfex>
cImport is really a killer feature when porting C code. I'm already impressed
skyfex has quit [Quit: Page closed]
<andrewrk>
thanks :)
<andrewrk>
my goal is to resolve the issues you have listed under "status" so that you can be unblocked