Search found 4 matches

by adrian650
Tue Jun 18, 2024 3:47 pm
Forum: ESP32 Arduino
Topic: Fairly large (>64k) const arrays
Replies: 7
Views: 1846

Re: Fairly large (>64k) const arrays

Thanks, I'll take a look at that, might be simpler than fatfs although that has the merit that it can be built on the host from 'normal' files. I have managed to reproduce the error from a fairly minimal program. I took the arrays and then made repeated small routines to memcpy to malloc'd PSRAM. As...
by adrian650
Mon Jun 10, 2024 7:01 pm
Forum: ESP32 Arduino
Topic: 12v variable analog output to esp32 s3 boards.
Replies: 3
Views: 820

Re: 12v variable analog output to esp32 s3 boards.

Hi, don't know how 'old..er' your moto is, I've worked on electrics from 70s to 90s. Nothing CANBus at all. A few things I've run into: 1. It's not really 12V. If you've standard lead acid battery and alternator/charger it may reach nearly 14V, and on an old moto with a weak alternator and a big hea...
by adrian650
Sun Jun 09, 2024 7:24 pm
Forum: ESP32 Arduino
Topic: Fairly large (>64k) const arrays
Replies: 7
Views: 1846

Re: Fairly large (>64k) const arrays

Thanks, I've not managed to set a minimal fail code as yet. World is set with arrays like this to set vertex coordinates, which is the largest array: const Vec3f cvertices[NVERTS + 1] = { {0.f,0.f,0.f},// Dummy vertex to allow OBJ standard indexing {40.000000f, 0.000000f, 90.000000f}, {50.000000f, 0...
by adrian650
Tue May 28, 2024 8:55 am
Forum: ESP32 Arduino
Topic: Fairly large (>64k) const arrays
Replies: 7
Views: 1846

Fairly large (>64k) const arrays

Hi, first time posting after a fair bit of reading as a guest. I've done a fairly thorough search of ideas here and in other resources and not been able to find a solution or test to try. I've written an open 3D world renderer in Arduino C (I appreciate Arduino is really C++ but code is struct-based...