Click here to Skip to main content
15,890,557 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Arghhh I am being bested by magic Pin
honey the codewitch16-Dec-21 4:37
mvahoney the codewitch16-Dec-21 4:37 
GeneralRe: Arghhh I am being bested by magic Pin
Daniel Pfeffer16-Dec-21 4:07
professionalDaniel Pfeffer16-Dec-21 4:07 
GeneralRe: Arghhh I am being bested by magic Pin
David O'Neil16-Dec-21 7:58
professionalDavid O'Neil16-Dec-21 7:58 
GeneralRe: Arghhh I am being bested by magic Pin
honey the codewitch16-Dec-21 10:18
mvahoney the codewitch16-Dec-21 10:18 
GeneralRe: Arghhh I am being bested by magic Pin
Randor 16-Dec-21 9:32
professional Randor 16-Dec-21 9:32 
GeneralRe: Arghhh I am being bested by magic Pin
honey the codewitch16-Dec-21 10:18
mvahoney the codewitch16-Dec-21 10:18 
GeneralRe: Arghhh I am being bested by magic Pin
Randor 16-Dec-21 10:39
professional Randor 16-Dec-21 10:39 
GeneralRe: Arghhh I am being bested by magic Pin
honey the codewitch16-Dec-21 10:48
mvahoney the codewitch16-Dec-21 10:48 
I do. I'm producing a simpler repro because I've got a thread going on the ESP32 subreddit about it.

Apologies for the size and relative complexity of this one. It's also test code so it's not cleaned up like it should be although the relative structure is clean enough.

GitHub - codewitch-honey-crisis/tftespip8test[^]

I've checked the inlining at Compiler Explorer[^] and it's working as expected. I have a FORCE_INLINE macro to ham-fistedly tell GCC i'm not kidding. It uses __attribute((always_inline)) so it's stronger than __inline I think. I'm targeting GCC specifically so it's no big deal.

The necessary magic will be in the first class in this file: tftespip8test/tft_io.hpp at master · codewitch-honey-crisis/tftespip8test · GitHub[^]

Although it doesn't do DMA until it's triggered in the copy_from template method in tftespip8test/ili9341.hpp at master · codewitch-honey-crisis/tftespip8test · GitHub[^]

The issue is that as soon as the bus::initialize_dma() is called, no further bus::write_raw8 calls will function. Only write_raw_dma which I can't use for everything. I need to be able to use both. I know it's possible because other code does it.
Real programmers use butterflies

GeneralRe: Arghhh I am being bested by magic Pin
Randor 16-Dec-21 11:21
professional Randor 16-Dec-21 11:21 
GeneralRe: Arghhh I am being bested by magic Pin
honey the codewitch16-Dec-21 12:53
mvahoney the codewitch16-Dec-21 12:53 
Generalcrucial missing feature in Windows 11 Pin
Super Lloyd16-Dec-21 2:43
Super Lloyd16-Dec-21 2:43 
GeneralRe: crucial missing feature in Windows 11 Pin
Slacker00716-Dec-21 2:47
professionalSlacker00716-Dec-21 2:47 
GeneralRe: crucial missing feature in Windows 11 Pin
Super Lloyd16-Dec-21 2:52
Super Lloyd16-Dec-21 2:52 
GeneralRe: crucial missing feature in Windows 11 Pin
Kornfeld Eliyahu Peter16-Dec-21 3:13
professionalKornfeld Eliyahu Peter16-Dec-21 3:13 
GeneralRe: crucial missing feature in Windows 11 Pin
Super Lloyd16-Dec-21 3:23
Super Lloyd16-Dec-21 3:23 
GeneralRe: crucial missing feature in Windows 11 Pin
Kornfeld Eliyahu Peter16-Dec-21 3:30
professionalKornfeld Eliyahu Peter16-Dec-21 3:30 
GeneralRe: crucial missing feature in Windows 11 Pin
obermd16-Dec-21 3:38
obermd16-Dec-21 3:38 
GeneralRe: crucial missing feature in Windows 11 Pin
jsc4216-Dec-21 5:46
professionaljsc4216-Dec-21 5:46 
GeneralRe: crucial missing feature in Windows 11 Pin
Slacker00716-Dec-21 7:36
professionalSlacker00716-Dec-21 7:36 
GeneralRe: crucial missing feature in Windows 11 Pin
trønderen16-Dec-21 8:01
trønderen16-Dec-21 8:01 
GeneralRe: crucial missing feature in Windows 11 Pin
lmoelleb16-Dec-21 8:01
lmoelleb16-Dec-21 8:01 
GeneralRe: crucial missing feature in Windows 11 Pin
trønderen16-Dec-21 9:05
trønderen16-Dec-21 9:05 
GeneralRe: crucial missing feature in Windows 11 Pin
Super Lloyd16-Dec-21 11:50
Super Lloyd16-Dec-21 11:50 
GeneralRe: crucial missing feature in Windows 11 Pin
lmoelleb16-Dec-21 20:59
lmoelleb16-Dec-21 20:59 
GeneralRe: crucial missing feature in Windows 11 Pin
jsc4221-Dec-21 3:33
professionaljsc4221-Dec-21 3:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.