Search found 83 matches

by ExXec
Thu Jul 04, 2019 11:40 am
Forum: Development of MicroPython
Topic: SPI firstbit option
Replies: 3
Views: 2396

Re: SPI firstbit option

Yes I checked, and it sets both directions
by ExXec
Thu Jul 04, 2019 11:26 am
Forum: Other Boards
Topic: Link Time Optimization useful?
Replies: 6
Views: 3532

Re: Link Time Optimization useful?

jimmo wrote:
Wed Jul 03, 2019 10:32 pm
I seem to remember some LTO related issues with the GC, because it makes it hard to track root pointers. This may be fixed though. You should search the github PR and Issue history for LTO
If this would be the case, it should throw in an "out of memory" error eventually, right?
by ExXec
Wed Jul 03, 2019 8:59 pm
Forum: Development of MicroPython
Topic: SPI firstbit option
Replies: 3
Views: 2396

Re: SPI firstbit option

Is this the wrong forum for this question?
by ExXec
Wed Jul 03, 2019 8:58 pm
Forum: Other Boards
Topic: Link Time Optimization useful?
Replies: 6
Views: 3532

Re: Link Time Optimization useful?

I tried it and the setup was a little difficult first, because you need to invoke gcc with the -Wl option instead of calling the linker directly (which I didn't know). But I got it to work and it shaved another 3kB (~3%) off the binary (from 154kB with -Os to 151kB with -flto and -Os), might be usef...
by ExXec
Tue Jul 02, 2019 2:18 pm
Forum: Other Boards
Topic: Link Time Optimization useful?
Replies: 6
Views: 3532

Link Time Optimization useful?

Hey
I was wondering if enabling link time optimization would be useful for -Os or not at all?
by ExXec
Sat Jun 22, 2019 8:29 pm
Forum: Development of MicroPython
Topic: clang formatting file for VSCode
Replies: 2
Views: 1965

Re: clang formatting file for VSCode

Thanks, thats a shame though
by ExXec
Sat Jun 22, 2019 4:21 pm
Forum: Development of MicroPython
Topic: SPI firstbit option
Replies: 3
Views: 2396

SPI firstbit option

Hi,
I was wondering if the firstbit option for the SPI module affects only tx or rx aswell (on the pyboard)?

Thanks!
-ExXec
by ExXec
Sat Jun 22, 2019 4:19 pm
Forum: Development of MicroPython
Topic: clang formatting file for VSCode
Replies: 2
Views: 1965

clang formatting file for VSCode

Hey,

I know there are some C code formatting guidelines in the wiki. Did someone make a .clang file for that style?
Would be useful for running the auto formatter on VSCode.

-ExXec
by ExXec
Fri Jun 21, 2019 12:49 pm
Forum: Other Boards
Topic: [TM4C123] REPL debugging info
Replies: 9
Views: 4752

Re: [TM4C123] REPL debugging info

Does nobody know?
by ExXec
Sat Jun 01, 2019 5:12 pm
Forum: Other Boards
Topic: [TM4C123] REPL debugging info
Replies: 9
Views: 4752

Re: [TM4C123] REPL debugging info

Sorry. It looks like this: took 8 ms qstr: n_pool=1 n_qstr=3 n_str_data_bytes=19 n_total_bytes=115 GC: total: 24192, used: 1200, free: 22992 No. of 1-blocks: 11, 2-blocks: 5, max blk sz: 40, max free sz: 1432 It comes from here: https://github.com/micropython/micropython/blob/8402c26cfa98b4689f5ac46...