Lutz Berger
Lutz Berger
Basic experimental analog support implemtation customised for PIL for MODPROD 2017. Still not working, doesn't enter main loop, LED not blinking. For ADC connect pin PB0/1 and DAC pin PA4.
Regarding commit 9b2103: Timer is needed by DAC. Unfortunately, now the program hangs in initialising the ADC. When I debug and go Step by Step, the main loop is reached....
Can the makefile for compiling and creationg the binaries in Modelica_DeviceDrivers/EmbeddedTargets/STM32F4/Examples/STM32F4_Discovery/Blink/Makefile remain on this location? Here also the blink_main.mos is checked in in this directory. Is this in line with...
- I will move STM from 3rdParty to Resources/thirdParty. - The better place for mos and makefileI for the Blink Example I suggest Resources/Scripts/OpenModelica/EmbeddedTargets/STM32F4/Examples/STM32F_Discovery/Blink, since other examples in future will...
Shall we add the STMCube32F4 HAL interface into the thirdparty directory? I see no conflict in the license: http://www.st.com/content/ccc/resource/legal/legal_agreement/license_agreement/de/fc/f7/32/a0/8b/4f/db/ultimate-liberty-v2.txt/files/ultimate-liberty-v2.txt/jcr:content/translations/en.ultimate-liberty-v2.txt The size is quite big, so it could be provided as...
Ok, then only work left is to update the "README" file in the thirdParty folder. Onother question: I have a look onto the GPIO_EXTI example provided in the STM32F4Cube HAL....
Sorry, I'm developing on debian jessy. It was a bit fast to assume ubuntu working in the same way. I will update the documentation for my part. Here I didn't...
Regarding Interrupt handling I thought for now to provide a c-template, implementing empty `void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)`, which is used in the HAL interface, if the corresponding interrupt line is enabled....
I missed that part, I think I got it easy since I started experimenting with TrueStudio lite, where st-link could be easily selected for connection. But I already forgot what...
I implemented GPIO Read and Write. The example here doesn't work because the Read Block is just initialized to false. The intension is, that when the blue user button is...