Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Piotr Zdunek
    @zdun8_twitter
    Hi, do you know if there will be a new competition this year?
    Fabien Chouteau
    @Fabien-Chouteau
    @zdun8_twitter Yes, we are about to announce it :smirk: Follow @adaprogrammers or @adacorecompany on twitter or our blog: blog.adacore.com
    Adrian Hoe
    @adrianhoe
    Hi! I just joined gitter
    yannickmoy
    @yannickmoy
    UR taking the lead!
    Fabien Chouteau
    @Fabien-Chouteau
    @/all The competition is starting today! "Be passionate, have fun, and make something" http://makewithada.org/
    Tomek Wałkuski
    @tomekw
    Yay!
    Congrats!
    Nicolas Setton
    @setton
    +1!
    yannickmoy
    @yannickmoy
    hey @Fabien-Chouteau , it still says "Registration closed" on the top right corner!
    Fabien Chouteau
    @Fabien-Chouteau
    Registration will be open at 3pm :)
    Peter Brooks
    @fustbariclation
    I've registered, but not yet had a response - how long should it take?
    Nicolas Setton
    @setton
    @fustbariclation ping us again if you haven't received a response by the end of the day :)
    Peter Brooks
    @fustbariclation
    OK.
    Fabien Chouteau
    @Fabien-Chouteau
    Hi @fustbariclation, can you try to log in. Your account seems to be OK.
    Tomek Wałkuski
    @tomekw
    It would be awesome if MakeWithAda was (also) targeting general-purpose (not embedded) projects :)
    Fabien Chouteau
    @Fabien-Chouteau
    @tomekw maybe next year... Note that the definition of embedded that we use is quite large: https://en.wikipedia.org/wiki/Embedded_software
    joakim-strandberg
    @joakim-strandberg
    I hope this is the right forum for asking about the Ada Drivers Library and that may be useful for others. In the spec. file of the package STM32.Device there is a line at the bottom: GPIO_AF_FMC_12 : constant GPIO_Alternate_Function := 12;
    What I believe is the corresponding code in the C-file stm32f4xx_gpio : #define GPIO_AF_FSMC ((uint8_t)0xC) / FSMC Alternate Function mapping /
    Is FMC miss-spelled and it should be FSMC?
    Fabien Chouteau
    @Fabien-Chouteau
    @joakim-strandberg FMC (Flexible Memory Controller) and FSMC (Flexible Static Memory Controller) are two different peripherals. And it looks like we don't have the driver for the FSMC so that's probably why the GPIO_AF_FSMC is not declared.
    joakim-strandberg
    @joakim-strandberg
    @Fabien-Chouteau ok, thanks for the feedback.
    Frank Buss
    @frank_buss_twitter
    I'm trying to port the stm32f429_discovery board to my board, but I can't find the linker file, where is the memory map for the microcontroller specified, like SRAM size and location etc.?
    in the Ada Drivers Library
    Pierre-Marie de Rodat
    @pmderodat
    hello frank
    I'm not an expert in this, but I don't think linker scripts would belong to ada drivers library, which is more a library than a port
    Frank Buss
    @frank_buss_twitter
    Yes, this is what I was searching. Don't know if this is a good idea to use a directory for each CPU, there are so many variants. Anyone who wants to implement the files for the SM32F411VE? Note, this is different e.g. compared to the STM32F411VC (512 k flash instead of 256 k flash, but both 128 k SRAM). And then I would need the boards files for the Ada Drivers Library for my board, this one: http://www.st.com/en/evaluation-tools/32f411ediscovery.html
    that's much easier with CubeMX, where all this stuff is just a mouse click
    Pierre-Marie de Rodat
    @pmderodat
    okay good
    … I’ll let people familiar with embedded dev to address your remarks ;-)
    Fabien Chouteau
    @Fabien-Chouteau
    Hi @frank_buss_twitter ! We improved a lot
    Frank Buss
    @frank_buss_twitter
    you mean it was even worse? :-)
    Fabien Chouteau
    @Fabien-Chouteau
    Yes, and we know we still have a long way to go. Supporting the gazillion variants of STM32 is not a simple challange to address.
    Frank Buss
    @frank_buss_twitter
    Maybe you can generate it all from the CubeMX files? If you have installed it, take a look at C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX\db\mcu, all clear text XML files with all the differences. Of course, the best would be to have just another target, "Ada", in the CubeMX settings, much like there is a target for TrueStudio, MDK-ARM etc. Unfortunately looks like CubeMX is not open source, and might be difficult to add an Ada target, because I assume there are lots of hardcoded C stuff in it.
    Fabien Chouteau
    @Fabien-Chouteau
    Generation from the XML files is something we will have a look at.
    For the Ada_Drivers_Library library itself you should be able to use the support available in the srm32f4_disco
    Manuel A.Iglesias A.
    @miabbate_twitter
    Hi Fabien, I have some trouble to Mount the SD card volume on my stm32f769-disco, I sent you an email with detailed tests I have done, do you think I should open an issue on git? Let me know please, thank you in advance.
    Frank Buss
    @FrankBuss
    When I use the runtime ravenscar-full-stm32f4, the line "delay until Clock + Microseconds (200);" in stm32-board.adb hangs, but looks like it works for STM32F407_Discovery'Runtime ("Ada");. Unfortunately I can't use the latter, because I need streams, exceptions etc. Am I using the right runtime for full ravenscare? Or any idea how to fix it or where I can look to fix it myself?
    Fabien Chouteau
    @Fabien-Chouteau
    @FrankBuss Did you clean the project and recompile everything after you changed the run-time?
    Frank Buss
    @FrankBuss
    yes, I even checked out all repositories again
    Fabien Chouteau
    @Fabien-Chouteau
    ok
    This is quite strange, what board do you have?
    Frank Buss
    @FrankBuss
    a STM32F407 Discovery kit
    I described how to compile it here: https://github.com/FrankBuss/Ada_Synth
    Everything is in github, it is reproducable
    Fabien Chouteau
    @Fabien-Chouteau
    Let me grab my F4 disco, I will try to reproduce...
    Frank Buss
    @FrankBuss
    when I comment all delay until lines I discovered by debugging in single step mode, and then uncomment the line https://github.com/FrankBuss/Ada_Synth/blob/master/ada/discovery/ada_synth.adb#L69 again, it works, I can here a sine wave then