-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
boards: Initial support for Ellduino #1740
Conversation
/* wait for sysclock to be stable */ | ||
while (!(RCC->CFGR & RCC_CFGR_SWS_PLL)); | ||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
newline
@latsku side question: do you have some hardware to purchase with you tomorrow at hack'n'ACK? |
@mehlis I'm not attending tomorrow and don't know if Teemu and Pekka has extra boards with them. |
* @file | ||
* @brief Board specific implementations for the ELL-i ellduino board | ||
* | ||
* @author Lari Lehtomäki <lari@lehtomaki.fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing >
There was a bug in Travis configuration which was fixed last night. So please rebase on current master branch. Also, you'll need to add Ellduino to |
@latsku I just got my hands on one of your boards, but unfortunately you code does not work (building the hello-world application). I just don't get an answer from the board on the uart after flashing... Any idea? |
Hauke, I found out why the shell didn't work. As you guessed just before leaving the FU, the problem was trying to use wrong USART. The programming plug is connected to PA14/PA15 ie. USART2. In Riot-OS parlance that might be UART_1. I'm using the names from chip datasheet. From my very brief look at things, it seems that just changing STDIO in boards.h could do the trick as UART*EN in periph_conf.h are already enabled. No, I didn't test it, just commenting. |
@temmihoo Hm, I did try out some combinations of UART1/UART2 and the pins you named, I still don't get any output on the programming adapter after flashing... Something in the pin-config seems still to do something unexpected... And while we are at it, could you maybe create a short page in the RIOT wiki (just look at other board pages), that describes how you flash the device? I had again to take some time to figure out that I needed the patched |
@latsku please rebase. |
ba0c9e0
to
1f6a667
Compare
Rebase is required again, also some blacklisting and extern C in two headers is missing. |
@latsku could you rebase? |
I guess we have to postpone this for the next release. |
Hi, I have been unavailable to update the pull request as I have been in a hurry with my studies. After the rebase issues are fixed, there is still some issue with the serial communication and atleast personally I would like have working serial before this is included in master. Ellduino board has some hardware flaw, which causes signals from FTDI chip to hold cpu on reset. This is used to reset the chip after programming, but it also interferes with plain serial communication. I talked with Teemu about this but forgot to update the situation as we met yesterday. I hoped someone else from ELL-i could maybe help with debugging the serial issue. If you are releasing new milestone before Christmas, then I vote also for postponing this. |
@latsku I agree with you that the serial should be working before we merge this, so postponing this PR for after the release seems to be the right choice. I would however not close this PR, as it might be useful for others and it serves us as remainder. Let us know when you found your bugs and how we can assist! |
@latsku Do you plan to put any work into this? |
9f184dd
to
45554bf
Compare
@latsku, ping! |
Not all F0 boards have external clock source and therefore this is moved boards initialization.
@OlegHahm Pong I rebased this on top of master and fixed emerging issues. Also found couple mistakes on serial configuration, but couldn't get the serial working.
With these in mind, it doesn't really make sense to push further with this pull request. |
Ok, thanks for the response! |
Hello
This is a first version of support for ELL-i's Ellduino development board.
Short description of the board can be found here:
https://github.com/Ell-i/Hackathon/wiki/Ellduino-development-board
The board does not have an external oscillator and therefore had to move stm32f0 HSE clock initialization to f0 discovery board initialization.