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

TODO list #1

Open
bitsk opened this issue Sep 23, 2019 · 6 comments
Open

TODO list #1

bitsk opened this issue Sep 23, 2019 · 6 comments

Comments

@bitsk
Copy link
Member

bitsk commented Sep 23, 2019

Arduino core

wiring_digital.c

wiring_analog.c

wiring_pulse.c

wiring_shift.c

WInterrupts.c

Tone.cpp

  • tone
  • noTone

WMath.cpp

HardwareSerial.cpp

  • Class HardwareSerial

Libraries

  • Wire
  • SPI @ReinForce-II
  • LCD (Graphics library, need SPI)
  • SD (need SPI)
  • Ticker
  • I2S
  • ...
@bitsk
Copy link
Member Author

bitsk commented Sep 23, 2019

可在此issue下回复认领项目

@aryedevops
Copy link

Hi, Great job on the Longduino.
I have ordered this board and I know that it comes with an 160x80 LCD. Can we use it with Arduino and Longduino?
The main idea was to be able to work with the LCD and I am not sure how to do that so far, Turning to your solution I hope to get the solution I am looking for.
Can we Program the LCD that comes with it using Longduino?
Thanks

@ckuehnel
Copy link

ckuehnel commented Sep 6, 2020 via email

@scpcom
Copy link

scpcom commented Oct 18, 2020

I added HardwareSerial and Adafruit_GFX implementations and examples for LCD, RGB LED and WiFi:
https://github.com/scpcom/Longduino/
SD/FATFS is also included, but I did not yet implement Arduino style class, it is just the code imported from Longan_GD32VF_examples.

Update 2020/11/01:

  • Added SD and WiFiEsp Arduino C++ libraries modified for GD32V
  • Sipeed_GD32V_LCD is now using SPI Arduino C++ library, does not need lcd C library anymore
  • Added Arduino menu items to choose between 108MHz and 96MHz CPU clock
  • Added USBCDC C library (USB Composite serial)

@scpcom
Copy link

scpcom commented Nov 24, 2020

Update 2020/11/20:

  • core: implement Partition Scheme setting (allows bigger apps/sketches)
  • core: Print: add printf (now also available on Streams/SD/Sipeed_GD32V_LCD etc.)
  • core: WInterrupts: fix and use macros
  • core: add hooks
  • core: add Tone
  • variants: reduce PIN_MAP size
  • GD32V: examples/GPIOInterrupt added
  • Sipeed_GD32V_LCD: add color565
  • Sipeed_GD32V_LCD: update, move and rename mock_ili9341 to mock_display
  • fixed many compiler warnings

https://github.com/scpcom/Longduino/releases/tag/v0.1.7

@LenReinhart
Copy link

LenReinhart commented Jan 24, 2021

I have been struggling with my Nano. PlatformIO has not been successful and I have been unable to upload .bin files to it or use DFU. I had hoped this would at least get me the Ardunio environment. I am on Windows 10 Pro. My Device Manager shows two ports when I am using a USB to UART converter plugged into the com port on the end. If I use the USB the only thing that shows up is a line in Universal Serial Bus Controllers: GD32 Device in DFU mode after I do the boot/reset but no COM Port. It also doesn't show as a file under file manager. I tried compiling and downloading Blink to both COM Ports and this is what I got:

C:\Users\Len\AppData\Local\Arduino15\packages\Longduino\hardware\gd32v\0.1.1\variants\sipeed-longan-nano\pins_arduino.c:48:31: warning: 'PIN_MAP' initialized and declared 'extern'
48 | extern const gd32v_pin_info_t PIN_MAP[VARIANT_GPIO_NUM] = {
| ^~~~~~~
Sketch uses 10725 bytes (16%) of program storage space. Maximum is 65536 bytes.
java.lang.NullPointerException
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingProgrammer(SerialUploader.java:295)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:90)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)
at processing.app.SketchController.upload(SketchController.java:732)
at processing.app.SketchController.exportApplet(SketchController.java:703)
at processing.app.Editor$UploadHandler.run(Editor.java:2055)
at java.lang.Thread.run(Thread.java:748)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants