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

[BREAKING] Move and update many component implementations to support litgen-based pybind11 generation to overhaul python library #291

Merged
merged 86 commits into from
Aug 11, 2024
Merged
Changes from 1 commit
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
6d430c8
Update file system and cli to have guards around ESP-specific code an…
finger563 Jul 11, 2024
3d25c8a
fleshing out library and updating how external libraries are copied; …
finger563 Jul 11, 2024
194de67
add simple cli test
finger563 Jul 11, 2024
c44c9a9
WIP trying to use litgen to automatically generate the python binding…
finger563 Jul 12, 2024
76c5850
WIP move implementation from header to source files so litgen can par…
finger563 Jul 12, 2024
ecf029c
WIP update cmakelists
finger563 Jul 12, 2024
a6c83b2
WIP continuing to flesh out automatic binding support
finger563 Jul 12, 2024
927a060
fix: move task auto to header
finger563 Jul 12, 2024
60eff08
update color, add missing pragma to fomatters files
finger563 Jul 12, 2024
0c751bf
fixed unmatched suppression
finger563 Jul 12, 2024
7053f5c
add missing task scope
finger563 Jul 12, 2024
d2c4a34
working on configuring binding generator
finger563 Jul 12, 2024
0860ba8
Merge branch 'main' into feature/file-system-cross-platform-update
finger563 Jul 27, 2024
9e45fee
update math components to better support autogenerating bindings
finger563 Jul 28, 2024
cb203ce
WIP trying to get more of the bindings working...
finger563 Jul 28, 2024
d514b21
having to manually modify generated bindings... -.-
finger563 Jul 28, 2024
784f9f5
generated python docs
finger563 Jul 28, 2024
968bbeb
add requirements and gitignore
finger563 Jul 28, 2024
47432dc
wip trying to get binding to work better
finger563 Jul 28, 2024
ca7a50e
update gaussian so that alpha/beta/gamma class members are public ins…
finger563 Jul 29, 2024
2cdc80d
WIP removed autogenerated default constructors for bezier, gaussian, …
finger563 Jul 29, 2024
10f9bac
update python tests; ensure complete scoping for config members to fa…
finger563 Jul 29, 2024
1cae17f
WIP trying to flesh out the bindings some more. still have to do a lo…
finger563 Jul 29, 2024
014a17b
revert back to implementation in main header even though it breaks li…
finger563 Jul 29, 2024
184b353
minor update
finger563 Jul 29, 2024
6fd5285
Merge branch 'main' into feature/file-system-cross-platform-update
finger563 Jul 29, 2024
cf199ad
move run_on_core out of espp::Task class and into espp::task namespace
finger563 Jul 29, 2024
64c8d58
update bindings
finger563 Jul 29, 2024
a1520d1
fix i2c
finger563 Jul 29, 2024
ad9868b
remove accidentally added i2c files
finger563 Jul 29, 2024
5717dd3
Merge branch 'main' into feature/file-system-cross-platform-update
finger563 Jul 29, 2024
d28e8d2
add missing param doc
finger563 Jul 30, 2024
fbe1708
add more explicit scoping
finger563 Jul 30, 2024
5b2338a
minor updates
finger563 Jul 30, 2024
2ab1ecf
update cmakelists to install magic enum headers correctly
finger563 Jul 30, 2024
d4bdf47
minor update to support running examples on qtpy s3
finger563 Jul 30, 2024
b37137f
add some notes to the binding generator
finger563 Jul 30, 2024
c82b243
update to generate into espp instead of espp_lib
finger563 Jul 30, 2024
3925615
add build library workflow
finger563 Jul 30, 2024
aa95a56
move sys/stdio.h to stdio.h for linux compat
finger563 Jul 30, 2024
a887781
update github action to support windows
finger563 Jul 30, 2024
e82d9cf
update build to use cmake completely for better x-plat compat
finger563 Jul 30, 2024
323291b
WIP windows library
finger563 Jul 30, 2024
6f20728
add simple readme
finger563 Jul 30, 2024
b04ca77
minor update
finger563 Jul 30, 2024
fb121db
starting work on porting socket to windows
finger563 Jul 30, 2024
b5df1fc
fix cmake
finger563 Jul 30, 2024
d9cd3da
WIP windows support
finger563 Jul 30, 2024
d61bd66
comment out windows build for now
finger563 Jul 30, 2024
2b1dccc
Merge branch 'main' into feature/file-system-cross-platform-update
finger563 Jul 30, 2024
6245807
update bindings
finger563 Jul 31, 2024
337c0ac
feat(math): update gaussian to have getter/setter methods instead of …
finger563 Jul 31, 2024
0d7163d
update bindings
finger563 Jul 31, 2024
c3b25e5
Merge branch 'main' into feature/file-system-cross-platform-update
finger563 Aug 2, 2024
212a47f
merge main
finger563 Aug 3, 2024
0c069e1
update to use pybind11_add_module to simplify cmake lists, add window…
finger563 Aug 3, 2024
4e5d99b
update ci library build
finger563 Aug 3, 2024
b5c683c
ensure return code
finger563 Aug 3, 2024
3c152cf
update python bindings
finger563 Aug 3, 2024
e38e35e
use direct commands to get proper error status
finger563 Aug 3, 2024
f02f7ed
update file system to use std::filesystem when not on esp-idf
finger563 Aug 3, 2024
1bbc828
clean up file system includes
finger563 Aug 3, 2024
c2a7a47
update ftp to remove use of posix functions and replace with only std…
finger563 Aug 3, 2024
3a3b081
explicit scoping
finger563 Aug 3, 2024
c4b3d77
some more explicit scoping
finger563 Aug 3, 2024
127f74a
more explicit
finger563 Aug 3, 2024
e2daba0
try to undefine logger verbosity enums since windows is complaining a…
finger563 Aug 3, 2024
07999ff
WIP trying to make socket a little more x-plat friendly
finger563 Aug 3, 2024
4dacfc6
fix sa
finger563 Aug 3, 2024
d756b58
include winsock in "C" linkage
finger563 Aug 3, 2024
24888cd
WIP msvc is kinda stupid about include headers so we have to add some…
finger563 Aug 3, 2024
31b0b22
WIP getting windows build working
finger563 Aug 3, 2024
a4ea414
WIP added support for tabulate on msvc
finger563 Aug 3, 2024
632c049
updated to get closer to working compilation on windows
finger563 Aug 3, 2024
77cbb4a
add note
finger563 Aug 3, 2024
65c0ecd
test uplaoding output folder
finger563 Aug 4, 2024
a209d6a
update to v4
finger563 Aug 4, 2024
d8e82b3
disable reuseaddr on windows
finger563 Aug 4, 2024
7bad1e2
update how msc_ver is checked
finger563 Aug 4, 2024
be5e51c
update install and ensure that pc can work
finger563 Aug 4, 2024
07bb223
fix(socket): update to properly initialize socket library on windows …
finger563 Aug 11, 2024
9f4e0f3
add pc tests for udp client/server and update build scripts accordingly
finger563 Aug 11, 2024
8754d02
minor update
finger563 Aug 11, 2024
bf0eee3
minor update
finger563 Aug 11, 2024
0fc2521
merge main
finger563 Aug 11, 2024
0975735
update readmes
finger563 Aug 11, 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
clean up file system includes
  • Loading branch information
finger563 committed Aug 3, 2024
commit 1bbc82805d00acb33eb1e1ca78c5c0eaa1d8e42b
16 changes: 3 additions & 13 deletions components/file_system/include/file_system.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,17 @@
#include <mutex>
#include <string>

// if we're on windows we can't include dirent.h
#ifdef _MSC_VER

#else // _MSC_VER
#include <dirent.h>
#endif // _MSC_VER

#include <stdio.h>
#include <sys/stat.h>
#include <sys/types.h>

#if defined(ESP_PLATFORM)
#include <dirent.h>
#include <unistd.h>

#include <esp_err.h>
#include <esp_littlefs.h>
#include <esp_partition.h>
#else // ESP_PLATFORM
#ifndef _MSC_VER
#include <unistd.h>
#else
#include <io.h>
#endif // !_MSC_VER
#endif // ESP_PLATFORM

#include "base_component.hpp"
Expand Down
Loading