Recent content by Pocak

  1. P

    First information for new Pyra owners (FAQ)

    @kaprikawn In test program above, you forgot to initialize SDL. What do you (or anyone with a Pyra) get if you run this: #include <SDL2/SDL.h> #include <SDL2/SDL_opengles2.h> int main( int argc, char **argv ) { SDL_Init(SDL_INIT_VIDEO); SDL_GL_SetAttribute( SDL_GL_CONTEXT_PROFILE_MASK...
  2. P

    First information for new Pyra owners (FAQ)

    No, it's the result of your program asking for desktop OpenGL 2.0. You need to readd SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_ES); to get SDL2 to create an ES context. It's also important to link to the right GL implementation. If you accidentally link to MESA...
  3. P

    The commercial game Halloween (FPS) for Linux is now the open source project

    Don't bother with IN_ReadKeyboard, that function is only used in the Mac version. I think the problem is di_IsKeyActivated, as is rejects key ids above 256, but SDL's keysyms go above 300. Now, how to fix it without breaking Windows and Mac... When it comes to the Pandora, I think CPU speed is...
  4. P

    Preparing for a Prototype

    The 1TB cards are full size.
  5. P

    Wrapping everything up!

    Both companies are in the Thessaloniki Industrial Area.
  6. P

    Does the PALMAS support any quickcharge standards?

    It's not supported. Quick Charge is Qualcomm's tech, only available in Qualcomm's chips, while the TWL6037 (PALMAS) and bq24297 are made by TI. VOOC is not supported for the same reason (OPPO's tech). By the way, in the Pyra, the PALMAS is not involved in charging. We have the bq24297 for that.
  7. P

    External indicator LED for Pyra

    Yes. "Breathe" is also an option.
  8. P

    Pyra Learning OpenGL ES 2.0 for Pyra

    Did somebody say "debugging"? It was quite circuitous, but I did find the problem. tl;dr: As an optimization, glm v0.9.9.0 no longer default initializes vectors and matrices, i.e. glm::vec3() now has undefined value instead of zero. As expected, this "improvement" broke plenty of projects...
  9. P

    Gnuplot question

    Column zero contains the line number in gnuplot. The documentation calls it a "pseudocolumn." So, something like xtic(stringcolumn(0)) is a start. It's a bit tricky, because if the type of xtic's argument is numeric, it gets interpreted as a column number, and if that fails, xtic does nothing...
  10. P

    Stop the sirring noise!

    Yep. Why add a component if you don't have to? The exisiting solution needs no additional capacitor. Good question for @hns. Do all five output caps need replacement? Does the input cap join the ensemble? Interesting, we don't seem to fall into any of the cases listed in section 8.3.21.2...
  11. P

    Getting closer...

    I wrote the above post based on the schematics. By "charger chip" I meant the bq24297, which really only has one 5V input/output. There was talk of looking for a chip with two 5V inputs, but I don't think anything concrete was ever mentioned, and it just fizzled out. And there's no need, really...
  12. P

    Stop the sirring noise!

    You might be interested in the Pyra schematics once your exam is behind you... it has the part number for every major component. The wonky chip in question is the tps2505. If I'm reading figure 14 in the datasheet correctly, it shows ripple at around 13kHz, so it's normal. Pulsed frequency mode...
  13. P

    Getting closer...

    I've not studied the startup behavior, but it's still very odd. Was this area revamped since the schematics were published?
  14. P

    Getting closer...

    Is this sarcasm? That's not how it works. The charger chip has only one USB port, so we have a switch chip in the Pyra that senses which USB socket (debug or OTG) has a power source plugged in, and routes that to the charger chip. Meanwhile, the other socket is electrically isolated. (I mean the...
  15. P

    Pyra Learning OpenGL ES 2.0 for Pyra

    My impression is that it's good practice to make each CMakeLists.txt self contained, and that means the one in src has to have the findpkg stuff. So your outer CMakeLists.txt would just read "add_subdirectory(src)". Yeah, don't worry about it for now :)
Back
Top