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

Merge Develop for v0.9.0 #1

Merged
merged 223 commits into from
Sep 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
223 commits
Select commit Hold shift + click to select a range
616a4af
Update picowrapper.
suikan4github Aug 16, 2024
10a25e7
Restructured.
suikan4github Aug 16, 2024
69b865f
The i2cmaster.cpp has been tested.
suikan4github Aug 17, 2024
4fdf3bc
ADAU1361.hpp has added.
suikan4github Aug 18, 2024
293b936
Added Codec drivers. Not tested yet.
suikan4github Aug 18, 2024
52086f3
Added test_adau1361lower.cpp.
suikan4github Aug 19, 2024
f08739e
TEST_F(Adau1361LowerTest, WaitPllLock) has done.
suikan4github Aug 19, 2024
3c76aad
Two test cases are added.
suikan4github Aug 19, 2024
7a0dca4
44.1kHz test is waiting for.
suikan4github Aug 19, 2024
2afc398
Configure PLL test is done.
suikan4github Aug 20, 2024
344abca
Update comment.
suikan4github Aug 20, 2024
22819da
Add death test for adau1361lower.cpp
suikan4github Aug 20, 2024
116a0ea
SetLineInputGain() has been tested.
suikan4github Aug 20, 2024
3c415d7
Test Case Adau1361LowerTest.SetLineOutputGain_mute is done.
suikan4github Aug 20, 2024
1e83519
Refactored Adau1361Lower::SetLineOutputGain().
suikan4github Aug 20, 2024
840f4d4
Test case Adau1361Lower.SetLineOutputGain_overgain() has been done.
suikan4github Aug 20, 2024
645417f
Test case Adau1361Lower.SetLineOutputGain has been done.
suikan4github Aug 20, 2024
38f53f8
Adau1361Lower::SetLineItputGain() has been refactord.
suikan4github Aug 21, 2024
ab70329
Test case Adau1361LowerTest.SetAuxInputGain_appropriate_gain has been…
suikan4github Aug 21, 2024
1f7ff41
Adau1361LowerDeathTest.ConfigureSRC_wrong_fs() has been done.
suikan4github Aug 21, 2024
dff6ffe
Test case Adau1361Lower.ConfigureSRC_xxxxx has been done
suikan4github Aug 21, 2024
9be5e3a
Use __has_include() to identify the compile environment.
suikan4github Aug 21, 2024
b39a805
Add test case Adau1361LowerTest.EnableCore().
suikan4github Aug 22, 2024
34a3990
Add test cases :
suikan4github Aug 23, 2024
6e1fcfe
Comment updated.
suikan4github Aug 23, 2024
3166204
Added MockAdadu1361Lower class.
suikan4github Aug 23, 2024
8f6949b
Removed unsed variable from adau1361.hpp
suikan4github Aug 23, 2024
49413fe
Introduce GLOB to test sources.
suikan4github Aug 23, 2024
b96ce34
Add test_adau1361.hpp
suikan4github Aug 23, 2024
5414cf8
TEST(Adau1361, SetGain_HeadhphoneOutput) has been done.
suikan4github Aug 23, 2024
505b95c
Refactor test based on the fixture.
suikan4github Aug 24, 2024
33afc27
Add TearDown() to class Adau1361LowerTest;
suikan4github Aug 24, 2024
d291559
Test Case Adau1361Test, Mute_XXXX has been done.
suikan4github Aug 24, 2024
ed4c1db
TEST_F(Adau1361Test, Start) has been done.
suikan4github Aug 24, 2024
bd09b36
Merge remote-tracking branch 'refs/remotes/origin/develop' into develop
suikan4github Aug 24, 2024
e3b5352
simple drivers are now inside namespace pico_driver
suikan4github Aug 26, 2024
b402b3a
Change pico_driver:: to ::pico_driver::
suikan4github Aug 26, 2024
9df0063
Adau1361 is now in the codec namespace.
suikan4github Aug 26, 2024
7190a64
Add PicoWrapper::gpio_set_function() and test.
suikan4github Aug 26, 2024
6fed9d5
Rnave ::pico_driver::MockPicoWrapper to MockSDKWrapper.
suikan4github Aug 26, 2024
b8ba9ad
Test Case TEST(PicoWrapper, stdio_init_all) has been done.
suikan4github Aug 26, 2024
cad8610
Change the PicoWrapper to ::pico_driver::SDKWrapper.
suikan4github Aug 27, 2024
bcaf302
Added USB serial for Pico executable.
suikan4github Aug 28, 2024
80ee02a
Add i2c_deinit() to SDKWrapper and test it.
suikan4github Aug 28, 2024
361b544
Update the comment.
suikan4github Aug 28, 2024
1214c41
Test case TEST(I2CMaster, IsDeviceExisting) has been done.
suikan4github Aug 28, 2024
0601a63
bool ::codec::Adau1361Lower::IsI2CDeivceExisting() has been refactord.
suikan4github Aug 28, 2024
ce6bfd5
Changed the method name of I2CMasterInterface from snake to camel style.
suikan4github Aug 28, 2024
7b111a7
I2C Detection is OK.
suikan4github Aug 28, 2024
a9c1bee
Update .gitignore
suikan4github Aug 28, 2024
30eb59a
Change the name of the Test case :
suikan4github Aug 28, 2024
cadebc0
WS/BCLK frequency tested on the hardware.
suikan4github Aug 29, 2024
2206e7e
Wrote an I2S PIO program. Not compiled yet.
suikan4github Aug 29, 2024
0b6dd2f
Added comment.
suikan4github Aug 29, 2024
623d2e5
Talkthrough started to run.
suikan4github Aug 30, 2024
1164b6e
Update comment.
suikan4github Aug 30, 2024
380388e
Renamed picowrapper.* to sdkwrapper.*
suikan4github Aug 30, 2024
9cb84a7
Implement SDKWrapper::pio_sm_set_consecutive_pindirs() to fail.
suikan4github Aug 30, 2024
c6b1f8e
SDKWrapper::pio_gpio_init()
suikan4github Aug 31, 2024
ef7c3c3
Test case pio_gpio_init.sm_config_set_out_pins() has been done.
suikan4github Aug 31, 2024
82c0302
Test case pio_gpio_init.sm_config_set_in_pin_base()
suikan4github Aug 31, 2024
8c2e31c
Test case pio_gpio_init.sm_config_set_in_pin_count()
suikan4github Aug 31, 2024
9023f7a
Test case pio_gpio_init.clock_get_hz() has done.
suikan4github Aug 31, 2024
9c2e018
Test case pio_gpio_init.sm_config_set_clkdiv() has been done.
suikan4github Aug 31, 2024
96af4df
Test case pio_gpio_init.sm_config_set_in_shift() has been done.
suikan4github Aug 31, 2024
ae06bcf
Test case pio_gpio_init.sm_config_set_out_shift() has been done.
suikan4github Aug 31, 2024
8b8b97d
Test case pio_gpio_init.pio_sm_init() has been done.
suikan4github Aug 31, 2024
ea000fa
Test case pio_gpio_init.pio_sm_put() has been done.
suikan4github Aug 31, 2024
44c1fa1
Test case pio_gpio_init.pio_sm_set_enabled() has been done.
suikan4github Aug 31, 2024
cf5cec2
Migrate duplex_i2s_program_init.cpp to SDKWrapper based.
suikan4github Aug 31, 2024
09d8e6f
Added tone for debugging.
suikan4github Aug 31, 2024
f9a488b
Set state machine clock divider to 1.
suikan4github Aug 31, 2024
aa225f0
Turn on PIO SM just before processign.
suikan4github Aug 31, 2024
50fd899
Changed from auto push/pull to explicit push/pull.
suikan4github Aug 31, 2024
1bedba6
Restructure the PIO assembly program.
suikan4github Sep 1, 2024
4e7e6e5
Add 1000mS delay before starting audio.
suikan4github Sep 1, 2024
bce23ff
Disable UART serial to avoid the interfarence from the background pro…
suikan4github Sep 1, 2024
60173d6
Update comment of PIO program.
suikan4github Sep 1, 2024
6a4314a
Comment updated.
suikan4github Sep 2, 2024
dd4287d
Test case pio_gpio_init.duplex_i2s_program_init() has been done.
suikan4github Sep 2, 2024
75fc073
Test case pio_gpio_init.sm_config_set_jmp_pin() has been done.
suikan4github Sep 2, 2024
434fe83
Test case pio_gpio_init.pio_sm_get_blocking() has been done.
suikan4github Sep 2, 2024
98b6e00
Substitute all ::pio_sm_get_blocking() by sdk.pio_sm_get_blocking().
suikan4github Sep 2, 2024
31e038c
Test ccase SDKWrapper.pio_sm_claim() has been done.
suikan4github Sep 2, 2024
4ef5505
Test ccase SDKWrapper.pio_sm_unclaim() has done
suikan4github Sep 2, 2024
b91d972
Test case SDKWrapper.pio_claim_unused_sm() has done.
suikan4github Sep 2, 2024
6fa5b41
Renamed from duplex_i2s_to duplex_slave_i2s
suikan4github Sep 2, 2024
609d136
Forgot to add.
suikan4github Sep 3, 2024
b6f2f0c
Test case SDKWrapper.pio_sm_is_claimed() has done.
suikan4github Sep 3, 2024
b2a6239
Added duplexslavei2s.cpp. Waiting for test.
suikan4github Sep 3, 2024
d18bfe5
Remove the EXPECT_CALL to suppress the warning.
suikan4github Sep 4, 2024
b8535b1
Test case SDKWrapper.Constructor4() has done.
suikan4github Sep 4, 2024
32a5c35
Test case SDKWrapper.Constructor3() has done.
suikan4github Sep 4, 2024
93a6a93
Added test code to check whether SM is internally assigned or not.
suikan4github Sep 4, 2024
8851d78
Added test to test whether SM is matched with externally given one or…
suikan4github Sep 4, 2024
e8c9eb5
Test case SDKWrapper.Destructor() has done.
suikan4github Sep 4, 2024
d64b86b
Test case SDKWrapper.Destructor_stopped() has done.
suikan4github Sep 4, 2024
3ba550c
Test case SDKWrapper.Stop() has stopped.
suikan4github Sep 4, 2024
5f99cad
Test case SDKWrapper.Start() has done.
suikan4github Sep 4, 2024
89bcd80
To refuse the bug of the Issue 1878 of Pico SDK, remove the
suikan4github Sep 5, 2024
ec588e5
Removed legathy debug code.
suikan4github Sep 5, 2024
71f73e0
Added bi_decl() for picotool.
suikan4github Sep 6, 2024
2fcc87a
Update comment of the pico_driver::DuplexSlaveI2S::Sart()
suikan4github Sep 7, 2024
5acb594
Test case SDKWrapper.Start() has done.
suikan4github Sep 7, 2024
d93530f
Bug fix of the void pico_driver::DuplexSlaveI2S::Stop().
suikan4github Sep 7, 2024
abc6718
Fix the true/false parameter of pio_sm_set_enabled().
suikan4github Sep 7, 2024
f2fa14d
Remove unnessary if statement.
suikan4github Sep 7, 2024
0eed9a2
Change to the Class based I2S controller.
suikan4github Sep 7, 2024
b83e717
Clean up the un-used code.
suikan4github Sep 7, 2024
c08b384
Update comment.
suikan4github Sep 7, 2024
decac29
Test case SDKWrapper.pio_sm_clear_fifos() has done.
suikan4github Sep 7, 2024
b0a25ed
Add FIFO clean up on the void pico_driver::DuplexSlaveI2S::Stop() .
suikan4github Sep 7, 2024
2f6c14f
Refactor the code.
suikan4github Sep 7, 2024
537ab5a
Test case SDKWrapper.pio_sm_put() and
suikan4github Sep 7, 2024
ef2f9d6
Update test note.
suikan4github Sep 7, 2024
4d31eac
Test case DuplexSlaveI2S.PUtFIFOBlocking() and
suikan4github Sep 7, 2024
c9eef1f
Adapt to the GetFIFOBlocking/PUtFIFOBlocking member funciton.
suikan4github Sep 7, 2024
3ddd9dc
Add doxygen file.
suikan4github Sep 8, 2024
d5d4fe5
Doxygen comments are ready.
suikan4github Sep 8, 2024
cb3b312
Fix the Function call name.
suikan4github Sep 9, 2024
79dc0b3
Fix the spell.
suikan4github Sep 9, 2024
17b5ad1
Fix the spell.
suikan4github Sep 9, 2024
81a8656
Restructure the directory.
suikan4github Sep 11, 2024
77af63c
Move codec definitions from codec namespace to pico_driver namespace
suikan4github Sep 11, 2024
95e5f6a
The file source tree structures has been changed.
suikan4github Sep 11, 2024
d1e800e
Change back the conditional compiler for gmock.
suikan4github Sep 11, 2024
e3adac3
Directly is restructureas as :
suikan4github Sep 11, 2024
12740a8
Restructured the tree.
suikan4github Sep 11, 2024
a033d94
Refine the code.
suikan4github Sep 12, 2024
57d11f9
Removed sample program directory.
suikan4github Sep 13, 2024
d9f93f1
Simplify the CMakeLists.txt
suikan4github Sep 13, 2024
b4a4277
Remove unneccesary dependency.
suikan4github Sep 13, 2024
db8aea9
Fixed ill formed program.
suikan4github Sep 14, 2024
cc58011
Added doc directory.
suikan4github Sep 16, 2024
8c7f68e
UmbAdau1361Lowerを新設した。
suikan4github Sep 16, 2024
5a2679a
Change the I2C device address to avoid the duplicate from the parent …
suikan4github Sep 16, 2024
2ee9097
Ignore output of the Doxygen.
suikan4github Sep 16, 2024
cc8d55c
Renamed from SDKWrapper to SdkWrapper
suikan4github Sep 16, 2024
aecc36c
Change name from I2CMaster to I2cMaster
suikan4github Sep 16, 2024
a4442da
Change the name from DuplexSlaveI2S to DuplexSlaveI2s
suikan4github Sep 16, 2024
6f71a22
Fix misspell.
suikan4github Sep 16, 2024
25a4172
Update include guard to follow the Google style guide.
suikan4github Sep 16, 2024
9e96bec
Update README.
suikan4github Sep 17, 2024
0b4dfd8
Srround the ASSERTION test by #ifdef NODEBUG
suikan4github Sep 17, 2024
1973a2e
Add uint definition for MSVC.
suikan4github Sep 17, 2024
4b9608c
Remove DOWNLOAD_EXTRACT_TIMESTAMP from CMakeLists.txt.
suikan4github Sep 18, 2024
63a3064
Add download_extract_timestamp to meet the newest cmake.
suikan4github Sep 18, 2024
d76386c
Trial github actions configuration.
suikan4github Sep 18, 2024
22b9330
Correct the wong indent of the exclude.
suikan4github Sep 18, 2024
11c0796
Changed step/uses to checkout@v4.1.7 from checkout@v2
suikan4github Sep 18, 2024
1c119fd
For trial, delete the build(release/debug) parameter for configuration.
suikan4github Sep 18, 2024
1491a68
Expand configuration depend on the compiler.
suikan4github Sep 18, 2024
e25d1d9
Add echo to show the os and compiler.
suikan4github Sep 18, 2024
4e863bf
Add echo to show os and build for building.
suikan4github Sep 18, 2024
87030ff
Probably, we don't need .exe ?
suikan4github Sep 18, 2024
316a2b9
Change the dictionary form for the ease of read.
suikan4github Sep 18, 2024
ae3efef
Remove unneccesary runs-on .
suikan4github Sep 18, 2024
1737cae
Revert "Remove unneccesary runs-on ."
suikan4github Sep 18, 2024
87c37ce
Refine the echo message for the better information.
suikan4github Sep 18, 2024
6ef815e
Refine the echo for Windows.
suikan4github Sep 18, 2024
a80798c
Renamed file to follow the class name.
suikan4github Sep 18, 2024
031363e
Correct spells.
suikan4github Sep 18, 2024
30c53f7
Added doc directory and its contents.
suikan4github Sep 18, 2024
d087998
Change FetchContet_Declare style from URL to GIT_REPOSITORY.
suikan4github Sep 19, 2024
53f0810
Add several member function to SdkWrapper class.
suikan4github Sep 20, 2024
511f7a6
Implement SdkWrapper::gpio_deinit() and tested.
suikan4github Sep 20, 2024
15c9ea9
TEST Suite PicoWrapper has been renamed to SdkWrapper.
suikan4github Sep 20, 2024
a5e9035
Started to implemente the GpioBasic class.
suikan4github Sep 20, 2024
8812efd
Implemented and tested GpioBasic:: constrcutor and deconstructor, res…
suikan4github Sep 20, 2024
f7a13f0
Implement and test GpioBasic::SetDir
suikan4github Sep 20, 2024
98c5749
Implement and test GpioBasic::SetInputEnabled.
suikan4github Sep 20, 2024
c1443ca
Implement and test GpioBasic::Put .
suikan4github Sep 20, 2024
099f17c
Implement and test GpioBasic::Get .
suikan4github Sep 20, 2024
43a6377
Removed duplicated declaration of Get().
suikan4github Sep 20, 2024
4940195
Implement and test GpioBasic::PullUp .
suikan4github Sep 20, 2024
7b14d14
Implement and test GpioBasic::PullDown
suikan4github Sep 20, 2024
1c59407
Implement and test GpioBasic::DisablePulls .
suikan4github Sep 20, 2024
bed8d75
Added documente place holder for GpioBasic class.
suikan4github Sep 22, 2024
f8e6d4a
Renamed namespace from pico_driver to rpp_driver.
suikan4github Sep 22, 2024
8aeb868
Update README.
suikan4github Sep 22, 2024
6c75880
Change name to follow the Google C++ style guide.
suikan4github Sep 23, 2024
a0d0c1c
Wrote sdkwrapper.md
suikan4github Sep 23, 2024
46eca57
Remove fff.h and add fff as submodule.
suikan4github Sep 23, 2024
ad42c12
Allowing to use git submodule in GitHub Actions.
suikan4github Sep 24, 2024
7aa3578
Refine the chapter/section structure of README.md
suikan4github Sep 24, 2024
d766dd3
Added doxygen workflow for github actions.
suikan4github Sep 24, 2024
65fb99b
change trigger branch temp to test.
suikan4github Sep 24, 2024
6b8e611
Try srecrets.ACCESS_TOKEN to avoid the error of git during actions.
suikan4github Sep 24, 2024
c8edb3f
Trying to use PAT for authentification.
suikan4github Sep 24, 2024
2c789c2
Added unneccesary blank for test push.
suikan4github Sep 24, 2024
72f9991
Now confirmed it works on github.
suikan4github Sep 24, 2024
fb53404
Test of the actions depenency.
suikan4github Sep 24, 2024
6277f93
Added workflow-call:
suikan4github Sep 24, 2024
09bb370
workflow-call: was wrong. workflow_call: is correct.
suikan4github Sep 24, 2024
53818e0
Added uses: to deploy_pages to show the main action.
suikan4github Sep 24, 2024
7c4f0c9
Correct the spell of the path.
suikan4github Sep 24, 2024
26e82e8
Fix the dependency of actions.
suikan4github Sep 24, 2024
38fd0d0
Added small comment on GPIO.
suikan4github Sep 24, 2024
84a8f0d
Added HTML document link.
suikan4github Sep 24, 2024
aeac1ce
Deployment of HTML doc is now only when pushed/merged to main .
suikan4github Sep 24, 2024
b5c520b
Make sure the ctest.yaml run on develop branch independently.
suikan4github Sep 24, 2024
b0b1672
Renamed from DuplexSlaveI2s to I2sSlaveDuplex.
suikan4github Sep 24, 2024
13c097f
Rnamed PIO assembly program from duplex_slave_i2s to i2s_slave_duplex.
suikan4github Sep 24, 2024
33b6475
Change file names to follow the new I2sSlaveDuplex
suikan4github Sep 24, 2024
395c2eb
Added renamed file to repository.
suikan4github Sep 24, 2024
4223ea5
Moved md documents from doc/ to docs/.
suikan4github Sep 24, 2024
3391b4c
Renamed to follow the class name change.
suikan4github Sep 24, 2024
e11df74
Set README.md as mainpage of doxygen document.
suikan4github Sep 24, 2024
a6ab4c4
Refine the README.md
suikan4github Sep 25, 2024
713b49b
Change back to GITHUB_TOKEN for authentification.
suikan4github Sep 25, 2024
8c96121
Change back to GITHUB_TOKEN for authentification.
suikan4github Sep 25, 2024
e6716b4
permissions: pages: を削除。
suikan4github Sep 25, 2024
f382e15
Added Toggle() member funciton to GpioBasic.
suikan4github Sep 25, 2024
96cad11
Update README.md to explain how to integrated to RasPi Pico project.
suikan4github Sep 25, 2024
a8ebd44
Added doxygen comment to I2C master.
suikan4github Sep 26, 2024
ffb1ebc
Update comment.
suikan4github Sep 26, 2024
46a32e5
Removed default value of the mute parameter of several functions.
suikan4github Sep 26, 2024
db3354c
Added I2C address range assertion to the Adau1361Lower class.
suikan4github Sep 26, 2024
b1d9fe3
Refine the comment.
suikan4github Sep 26, 2024
7a9efab
Update the doxygen comment.
suikan4github Sep 28, 2024
6007d49
CHANGLOG.mdを追加。
suikan4github Sep 28, 2024
3a3808a
Fix the URL inside change log.
suikan4github Sep 28, 2024
7fd4fab
Remove Japanese.
suikan4github Sep 28, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Moved md documents from doc/ to docs/.
The HTML output is docs/html folder. So, having doc/ is redundant.
  • Loading branch information
suikan4github committed Sep 24, 2024
commit 4223ea5773909138c76c433b51815ffe773e3ffc
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ build/
.vscode/
html/
*.bak
docs/html
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ These classes are provided in this version.

| class | Description |
|--------------------------------- |----------------------------- |
| ::rpp_driver::[SdkWrapper](doc/sdkwrapper.md) | Wrapper class of Pico SDK |
| ::rpp_driver::[GpioBasic](doc/gpiobasic.md) | Basic GPIO controller |
| ::rpp_driver::[I2cMaster](doc/i2cmaster.md) | I2C Master controller |
| ::rpp_driver::[I2sSlaveDuplex](doc/duplexslavei2s.md) | Polling based PIO I2S driver |
| ::rpp_driver::[Adau1361](doc/adau1361.md) | Audio CODEC driver |
| ::rpp_driver::[SdkWrapper](docs/sdkwrapper.md) | Wrapper class of Pico SDK |
| ::rpp_driver::[GpioBasic](docs/gpiobasic.md) | Basic GPIO controller |
| ::rpp_driver::[I2cMaster](docs/i2cmaster.md) | I2C Master controller |
| ::rpp_driver::[I2sSlaveDuplex](docs/duplexslavei2s.md) | Polling based PIO I2S driver |
| ::rpp_driver::[Adau1361](docs/adau1361.md) | Audio CODEC driver |


## How to obtain this project
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.