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

Contributing the STM32 port #7742

Merged
merged 44 commits into from
Oct 6, 2021
Merged
Show file tree
Hide file tree
Changes from 27 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
b78ea16
Contribute apps/stm32 application.
stoa Mar 24, 2021
b6b67c3
Removed a useless file.
stoa Mar 25, 2021
a5e11eb
STM32: Use Model Library Format in demo. Added test.
stoa Apr 12, 2021
72e0774
STM32: Added quantized mnist test.
stoa Apr 12, 2021
d13cf67
STM32: Fixed apps/stm32/Makefile.
stoa Apr 12, 2021
5069d46
STM32: Added quantized models test.
stoa Apr 13, 2021
0762080
STM32: Added tests to tests/scripts/task_python_microtvm.sh
stoa Apr 14, 2021
efd8203
Merge branch 'main' into stm32-apps-h747
stoa Apr 15, 2021
a1e57fd
STM32: Listed specific files with lint.
stoa Apr 15, 2021
4ac1f6c
pull request merge.
stoa Apr 16, 2021
5839c32
STM32: removed external copyright notices.
stoa Apr 16, 2021
25068c3
STM32: Added missing ASF copyright notice.
stoa Apr 16, 2021
9862d52
STM32: style fixes.
stoa Apr 16, 2021
9dca8e4
STM32: more style fixes.
stoa Apr 16, 2021
247461f
STM32: fixed liny for C files.
stoa Apr 16, 2021
6b197d0
STM32: Does extern C help with cpplint.
stoa Apr 16, 2021
f5fbfcb
STM32: Fixed wrong LINT_C_FILE spelling.
stoa Apr 16, 2021
c0728fd
STM32: Still some lint fixes.
stoa Apr 16, 2021
bc64239
STM32: more style.
stoa Apr 16, 2021
9197e6b
STM32: More fixes lint+formatting.
stoa Apr 18, 2021
8e0f2fc
STM32: cleanup.
stoa Apr 19, 2021
9671b13
STM32: style cleanup.
stoa Apr 19, 2021
a77cf9a
STM32: Moved ai_runner to the apps/stm32.
stoa Apr 21, 2021
1377828
Alignment with PR 7742
stoa May 5, 2021
5cfa52f
lint cleanup.
stoa May 5, 2021
06a5cb2
STM32: Use crt_backend_api.c with standalone build.
stoa May 24, 2021
415e5f6
Merge branch 'main' into stm32-apps-h747
stoa May 24, 2021
f18f2ea
STM32: Fixed the CI test.
stoa Jun 3, 2021
ebe5bda
STM32: style fixes.
stoa Jun 3, 2021
d72f8e5
STM32: Removed unused files.
stoa Jun 3, 2021
6c0e666
STM32: Moved to crt_backend_api
stoa Jun 20, 2021
41f0f5a
STM32: style fix.
stoa Jun 23, 2021
70aacdd
STM32: style fix.
stoa Jun 23, 2021
81ae1c8
Revert "STM32: Removed unused files."
stoa Sep 14, 2021
ec076bf
Revert "STM32: Moved to crt_backend_api"
stoa Sep 14, 2021
e83f232
stm32: aligned to micro TVM structure.
stoa Sep 14, 2021
e113bbe
stm32: improved the python style.
stoa Sep 14, 2021
3d607ad
Merge branch 'main' into stm32-apps-h747
stoa Sep 17, 2021
0f77005
stm32: cpplint fixes.
stoa Sep 17, 2021
b4e4fde
stm32: Fixed the test
stoa Sep 19, 2021
b8354a5
stm32: style fixes.
stoa Sep 22, 2021
bc4ab04
stm32: style fixes.
stoa Sep 26, 2021
5b9ec61
stm32: style fixes.
stoa Oct 4, 2021
457dd98
stm32: style fixes.
stoa Oct 4, 2021
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
1 change: 1 addition & 0 deletions include/tvm/runtime/c_runtime_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ TVM_DLL void TVMAPISetLastError(const char* msg);
* \return error info
*/
TVM_DLL const char* TVMGetLastError(void);

Copy link
Contributor

Choose a reason for hiding this comment

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

remove

Copy link
Contributor

Choose a reason for hiding this comment

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

ping on this one

/*!
* \brief Load module from file.
* \param file_name The file name to load the module from.
Expand Down
20 changes: 20 additions & 0 deletions python/tvm/contrib/stm32/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

"""Module container of STM32 code generator."""

from .emitter import CodeEmitter, get_input_tensor_name, get_output_tensor_name
Loading