One additional observation, looks like the circular buffer option of ADCConversionGroup needs to be TRUE if using the continuous conversion. Otherwise it'll read once and hang.
So this was a mixture of things and I never before managed to get them all right in the same go...
The port_init() was a red herring, the toolchain doesn't like -O2 when debugging. With -O0, my board files and the STM32F103xE.ld linker script the ADC example seems to be running.
And furthermore, I realized I was calling adcStartConversion() inside the main loop. Taking that outside the loop ...
First, I tried to get the ADC testhal program to built and run against my board files but for whatever reason it just hangs in port_init(). I quickly gave up that and copied the configuration over to my project, but no change in behavior
First off, being new here, thanks for ChibiOS, it's a pleasure to work with
I have a F4 Discovery board here as well, and am looking forward to tinker with it. So far so good, the obligatory LED blinking works as expected and after getting the wiring right on the 4th attempt also printing over ...