-
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/atmega8: new board #19754
boards/atmega8: new board #19754
Conversation
You probably want to run
since this will end up in many |
I think this needs a rebase for static tests to not fail anymore. |
This has led to some compilation failures. Can I commit the fixes here or do I need to create another PR ? |
Sure just add the fixes here. |
I don't know how to fix this one :
This should result in "not supported" as with other bootloders, as we do not have the required riotboot feature. |
45e6adc
to
30ab8e2
Compare
9c9436e
to
fd61c24
Compare
97710ba
to
89cefa6
Compare
All the checks are green now. I have a doubt about the use of FEATURES_BLACKLIST in cpu/atmega8/Makefile.features. It works but normally it's only for modules and applications according to the documentation so it's a trick that probably shouldn't be in a cpu Makefile. I also don't know how to reflect it in Kconfig. However, it's much simpler than removing periph_cpuid from atmega_common and adding it to all atmega cpus except atmega8. The problem was the lack of definition of the SIGRD bit of the SPMC(S)R register in avr/iom8.h. According to the datasheet, bit 5 of this register is reserved, but this is also the case for the atmega328p, although it is defined in avr/iom328p.h and the driver works correctly for it. So I tried to define it in the driver, which enabled test/periph/cpuid to be compiled for atmega8. However, unlike atmega328p, the values returned were incorrect (0xbc 0xe7 0xe6 instead of 0x1e 0x93 0x07 for atmega8). |
The dpgpin feature should be removed as well. |
pkg/qdsa/patches/0001-fix-for-illegal-opcode-jmp-for-mcu-avr4-error.patch
Outdated
Show resolved
Hide resolved
Please squash! |
a883e3f
to
1ff3930
Compare
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.
bors merge
Uh can you keep this at least as 3 commits, one for the board, one for the changes to bors cancel |
Canceled. |
1ff3930
to
11c4053
Compare
There still is a merge conflict in |
11c4053
to
0dc745c
Compare
bors merge |
19754: boards/atmega8: new board r=benpicco a=hugueslarrive ### Contribution description Splitted from: - #19740 ### Testing procedure Tested on atmega8 with: - #19755 ### Issues/PRs references Dependencies: - #19753 - #19752 - #19751 19798: cpu/nrf53: add I2C and SPI support r=benpicco a=dylad ### Contribution description This PR provides support for nRF53 SPI and I2C. It also moves common structs from each nRF CPU folder to `cpu/nrf5x_common` to avoid duplication. Moreover, since nRF9160 and nRF5340 have shared IRQ for UART/SPI/I2C. Both this families now use a common file to register and manage these interrupts. Note that nRF9160 have different name for its interrupts than nRF5340 but they have the same purpose. ### Testing procedure Since some structs were moved around, I think this PR should be carefully tested against nRF52, nRF53 and nRF9160 to avoid any issues. On nRF5340DK-APP, SPI can be tested with its onboard SPI flash. ### Issues/PRs references Co-authored-by: Hugues Larrive <hlarrive@pm.me> Co-authored-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
bors cancel |
Canceled. |
- periph/eeprom.c - periph/wdt.c - periph/gpio_ll_irq.c removed unsupported cpuid and dpgpin feature for atmega8 cpu familly pkg/qdsa: bump the commit hash bump the commit hash after RIOT-OS/qDSA#4 was merged
using dist/tools/insufficient_memory/add_insufficient_memory_board.sh
444080c
to
3c46583
Compare
bors merge |
Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
Contribution description
Splitted from:
Testing procedure
Tested on atmega8 with:
Issues/PRs references
Dependencies: