Skip to content
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

tlsr82: first commit of telink tlsr82xx chip port. #6179

Merged
merged 2 commits into from May 9, 2022

Conversation

CV-Bowen
Copy link
Contributor

@CV-Bowen CV-Bowen commented Apr 29, 2022

Summary

tlsr82: first commit of telink tlsr82xx chip port.

  1. tc32 archtecture context switch;
  2. tc32 backtrace;
  3. timer, uart, pwm, gpio, adc driver;
  4. flash, watchdog driver;
  5. uart txdma/rxdma;
  6. spi console driver;
  7. add board bringup and reset;

Impact

telink tlsr82xx chip

Testing

local test

@CV-Bowen
Copy link
Contributor Author

CV-Bowen commented May 5, 2022

CI Check failed, because mixed case identifier found in arch/arm/src/phy62xx/* and boards/arm/stm32l4/nucleo-l476rg/*, it seems unrelated to this pr.

@CV-Bowen CV-Bowen force-pushed the telink_pr branch 4 times, most recently from 1d9db9a to 4d46fad Compare May 5, 2022 06:04
Copy link
Contributor

@pkarashchenko pkarashchenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we can just add a license header and #ifndef wrap into arch/arm/include/tlsr82/chip.h instead of committing an empty file?

arch/arm/src/tlsr82/Make.defs Outdated Show resolved Hide resolved
arch/arm/src/tlsr82/Make.defs Outdated Show resolved Hide resolved
arch/arm/src/tlsr82/Make.defs Outdated Show resolved Hide resolved
arch/arm/src/tlsr82/Make.defs Outdated Show resolved Hide resolved
arch/arm/src/tlsr82/Make.defs Outdated Show resolved Hide resolved
arch/arm/src/tlsr82/tc32/tc32_backtrace.c Outdated Show resolved Hide resolved
arch/arm/src/tlsr82/tc32/tc32_exception.S Outdated Show resolved Hide resolved
arch/arm/src/tlsr82/tc32/tc32_exception.S Outdated Show resolved Hide resolved
arch/arm/src/tlsr82/tc32/tc32_initialstate.c Outdated Show resolved Hide resolved
arch/arm/src/tlsr82/tc32/tc32_schedulesigaction.c Outdated Show resolved Hide resolved
@CV-Bowen CV-Bowen force-pushed the telink_pr branch 2 times, most recently from 746466f to ca2d5cd Compare May 5, 2022 11:54
@CV-Bowen
Copy link
Contributor Author

CV-Bowen commented May 5, 2022

@pkarashchenko i remove all the FAR and format the Make.defs, but about the license problem, i need more time to discuss with vendor.

arch/arm/src/tlsr82/Make.defs Outdated Show resolved Hide resolved
arch/arm/src/tlsr82/Make.defs Outdated Show resolved Hide resolved
arch/arm/src/tlsr82/common/div_mod.S Outdated Show resolved Hide resolved
Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
@CV-Bowen CV-Bowen force-pushed the telink_pr branch 2 times, most recently from 5470c68 to 4ee8eb9 Compare May 6, 2022 07:48
@CV-Bowen
Copy link
Contributor Author

CV-Bowen commented May 6, 2022

Maybe we can just add a license header and #ifndef wrap into arch/arm/include/tlsr82/chip.h instead of committing an empty file?

Done

Copy link
Contributor

@pkarashchenko pkarashchenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general looks good

arch/arm/src/tlsr82/Toolchain.defs Outdated Show resolved Hide resolved
arch/arm/src/tlsr82/chip/b87/boot/cstartup_flash.S Outdated Show resolved Hide resolved
arch/arm/src/tlsr82/chip/b87/boot/cstartup_flash.S Outdated Show resolved Hide resolved
arch/arm/src/tlsr82/chip/b87/boot/cstartup_flash.S Outdated Show resolved Hide resolved
arch/arm/src/tlsr82/chip/b87/boot/cstartup_flash.S Outdated Show resolved Hide resolved
@CV-Bowen CV-Bowen force-pushed the telink_pr branch 2 times, most recently from a2c3bc4 to 5c37a11 Compare May 7, 2022 02:28
@CV-Bowen
Copy link
Contributor Author

CV-Bowen commented May 7, 2022

Done, i format file cstartup_falsh.S and sync the Toolchain.defs with armv6-m. @pkarashchenko

@CV-Bowen
Copy link
Contributor Author

CV-Bowen commented May 7, 2022

It seems github treats tab as 8 spaces, i format file cstartup_flash.S again.

tlsr82: first commit of telink tlsr82xx chip port.

 - tc32 archtecture context switch;
 - tc32 backtrace;
 - timer, uart, pwm, gpio, adc driver;
 - flash, watchdog driver;
 - uart txdma/rxdma;
 - spi console driver;
 - add board bringup and reset;

Signed-off-by: wangbowen6 <wangbowen6@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit 73f7cc5 into apache:master May 9, 2022
@CV-Bowen CV-Bowen deleted the telink_pr branch June 14, 2022 02:05
@jerpelea jerpelea added this to To-Add in Release Notes - 11.0.0 Aug 30, 2022
@jerpelea jerpelea moved this from To-Add to Added in Release Notes - 11.0.0 Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants