Giter Site home page Giter Site logo

micropython / micropython-infineon Goto Github PK

View Code? Open in Web Editor NEW
32.0 32.0 24.0 21.45 MB

MicroPython ported to Infineon MCUs

License: MIT License

Makefile 0.18% C 91.28% C++ 6.83% Shell 0.01% Python 1.24% Assembly 0.19% Objective-C 0.08% HTML 0.20%

micropython-infineon's People

Contributors

aitjcize avatar altasoul avatar anton-2 avatar atx avatar blmorris avatar bvernoux avatar chipaca avatar danicampora avatar deshipu avatar dhylands avatar doogle avatar dpgeorge avatar dxxb avatar errordeveloper avatar henriksolver avatar iabdalkader avatar lurch avatar owens-bill avatar peterhinch avatar pfalcon avatar pohmelie avatar redteam316 avatar rjdowdall avatar rosuav avatar stinos avatar swegener avatar turbinenreiter avatar vext01 avatar xbe avatar xyb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

micropython-infineon's Issues

how to connect to XMC4800 board after make install

Follow the installation of XMC. got the gdb connected to the XMC4800.
how do i test the micropython on this board
trying picocom with variuos baudrate to /dev/ttyAMA0 port but never get a response from the board.
picocom -b 115200 /dev/ttyAMA0

how do i test the micropython on this XMC4800 board?
Thanks,
Tac.

MicroPython as a Package for Unix

Hi,
To understand the micropython building procedure, I choose "/unix" and I built it successfully and bin file got generated. Now, I want to ad as a package instead of binary image. So suggest a procedure to install as a package in Linux PC.

Thanks and Regards,
Siva Prakash Reddy

Incorrect C_SIZE_MULT in sdcard driver

The count() method returns the wrong number of sectors in this port.

This is because the wrong SIZE_MULT calculation constant is used in the init_card() function

https://github.com/micropython/micropython-infineon/blob/master/drivers/sdcard/sdcard.py#L81

self.sectors = ((csd[8] << 8 | csd[9]) + 1) * 2014

The V2 CSD structure returns the card size in 512KB chunks.

The normal calculation as per the sdcard.org specification (SD Specifications, Part 1, Physical Layer Simplified Specification Version 2.00 September 25, 2006) is:

nbytes = ((CSIZE-1) * 512 * 1024)  # V2 cards always report in 512KB chunks
nblocks = nbytes / 512  # V2 cards always work with a 512 byte sector/BLOCK_LEN

This reduces to:

nblocks = (CSIZE-1) * 512 * 1024 / 512
nblocks = (CSIZE-1) * 1024

I guess this is just a typo by the original author, as you have the same digits but transposed.

cc @dpgeorge @peterhinch

Eclipse with Micropython

hello ,
I want to run micropython from eclipse ide .
I want to know the steps to Configure Eclipse to run micropython esp32

Generic Micro Python Source Code

Hello,
I am working on Infineon's Tri-Core controller and I am using AUTOSAR as OS for my automotive project. Now, I need for generic micropython source code for porting onto tricore controller. Please provide generic micropython source code.

Please respond as soon as possible.

Thanks and regards,
Siva Prakash Reddy

Question about values returned by time() function? Seem to be 20 years late?

Typical result (for recent date) on an ESP8266 would be 605078638 using the ntptime module in MicroPython. Which obviously converts to a human readable date/time format, such as Sun, 05 Mar 1989 05:23:58 +0000 but clearly the month and day are correct but the year is off by 20 years? Should be closer to something like 1551764000, no? Packet is sent to NTP source and received as expected just not the result expected.

Micropython Building Using Eclipse IDE

Dear Support Team,
I am trying to build Micropython Source code for Infineon Tricore Architecture Controller with HighTec IDE (Provided by infineon) which is eclipse version and I am using Windows 10 OS. I modified main.c in /minimal directory and added to my project and tried to build it. I am facing following issue while running python script file available in /py directory

C:\Users\sivaprakashreddy\Desktop\micropython-1.9.2\py>
C:\Users\sivaprakashreddy\Desktop\micropython-1.9.2\py>makeqstrdata.py qstrdefs.h
Traceback (most recent call last):
File "C:\Users\sivaprakashreddy\Desktop\micropython-1.9.2\py\makeqstrdata.py", line 158, in
do_work(sys.argv[1:])
File "C:\Users\sivaprakashreddy\Desktop\micropython-1.9.2\py\makeqstrdata.py", line 155, in do_work
print_qstr_data(qcfgs, qstrs)
File "C:\Users\sivaprakashreddy\Desktop\micropython-1.9.2\py\makeqstrdata.py", line 138, in print_qstr_data
cfg_bytes_len = int(qcfgs['BYTES_IN_LEN'])
ValueError: invalid literal for int() with base 10: 'MICROPY_QSTR_BYTES_IN_LEN'

C:\Users\sivaprakashreddy\Desktop\micropython-1.9.2\py>

Please help me in this regard.

Thanks and Regards,
Siva Prakash Reddy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.