2021-01-18 01:03 PM
Hi. Any recommendations for an IDE and toolchain for a Nucleo board with STM32f3xx. I want to be close to the metal and would like to access registers directly example:
TIMER1_BASE->CR1 |= 0X0001; // Start timer
Capture[edge] = TIMER2_BASE->CCR1;
I want to avoid a bunch of pointer tricks and not have to dig though a lot of libraries.
2021-01-18 01:05 PM
Any IDE worth it's salt can simply compile the code you give it, they generally don't care about your coding style..
2021-01-18 03:10 PM
Use the CMSIS header file with whatever IDE you like the most. Any IDE can do what you want, including STM32CubeIDE. Use the defines within the header to make your code more readable for yourself and others.
TIM1->CR1 |= TIM_CR1_CEN;
Capture[edge] = TIM2->CCR1;
Not sure what "avoid a bunch of pointer tricks" means. Pointers are part of the C standard. Shouldn't be any variability in how these operate between IDEs.