mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-25 09:42:35 +00:00
make serial console work on nrf52
This commit is contained in:
parent
a6475ce848
commit
925e46da8c
@ -17,13 +17,13 @@ Minimum items needed to make sure hardware is good.
|
|||||||
|
|
||||||
Needed to be fully functional at least at the same level of the ESP32 boards. At this point users would probably want them.
|
Needed to be fully functional at least at the same level of the ESP32 boards. At this point users would probably want them.
|
||||||
|
|
||||||
|
- DONE get serial API working
|
||||||
- get full BLE api working
|
- get full BLE api working
|
||||||
- make a file system implementation (preferably one that can see the files the bootloader also sees) - use https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_fds_usage.html?cp=7_5_0_3_55_3
|
- make a file system implementation (preferably one that can see the files the bootloader also sees) - use https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/lib_fds_usage.html?cp=7_5_0_3_55_3
|
||||||
- make power management/sleep work properly
|
- make power management/sleep work properly
|
||||||
- make a settimeofday implementation
|
- make a settimeofday implementation
|
||||||
- DONE increase preamble length? - will break other clients? so all devices must update
|
- DONE increase preamble length? - will break other clients? so all devices must update
|
||||||
- DONE enable BLE DFU somehow
|
- DONE enable BLE DFU somehow
|
||||||
- set appversion/hwversion
|
|
||||||
- report appversion/hwversion in BLE
|
- report appversion/hwversion in BLE
|
||||||
- use new LCD driver from screen.cpp. Still need to hook it to a subclass of (poorly named) OLEDDisplay, and override display() to stream bytes out to the screen.
|
- use new LCD driver from screen.cpp. Still need to hook it to a subclass of (poorly named) OLEDDisplay, and override display() to stream bytes out to the screen.
|
||||||
- we need to enable the external xtal for the sx1262 (on dio3)
|
- we need to enable the external xtal for the sx1262 (on dio3)
|
||||||
@ -84,6 +84,8 @@ Nice ideas worth considering someday...
|
|||||||
- Currently using Nordic PCA10059 Dongle hardware
|
- Currently using Nordic PCA10059 Dongle hardware
|
||||||
- https://community.platformio.org/t/same-bootloader-same-softdevice-different-board-different-pins/11411/9
|
- https://community.platformio.org/t/same-bootloader-same-softdevice-different-board-different-pins/11411/9
|
||||||
|
|
||||||
|
- To make Segger JLink more reliable, turn off its fake filesystem. "JLinkExe MSDDisable" per https://learn.adafruit.com/circuitpython-on-the-nrf52/nrf52840-bootloader
|
||||||
|
|
||||||
## Done
|
## Done
|
||||||
|
|
||||||
- DONE add "DFU trigger library" to application load
|
- DONE add "DFU trigger library" to application load
|
||||||
|
@ -252,6 +252,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
#define SERIAL_BAUD 921600 // Serial debug baud rate
|
#define SERIAL_BAUD 921600 // Serial debug baud rate
|
||||||
|
|
||||||
|
#include "SerialConsole.h"
|
||||||
|
|
||||||
|
#define DEBUG_PORT console // Serial debug port
|
||||||
|
|
||||||
#ifdef NO_ESP32
|
#ifdef NO_ESP32
|
||||||
#define USE_SEGGER
|
#define USE_SEGGER
|
||||||
#endif
|
#endif
|
||||||
@ -259,10 +263,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#include "SEGGER_RTT.h"
|
#include "SEGGER_RTT.h"
|
||||||
#define DEBUG_MSG(...) SEGGER_RTT_printf(0, __VA_ARGS__)
|
#define DEBUG_MSG(...) SEGGER_RTT_printf(0, __VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
#include "SerialConsole.h"
|
|
||||||
|
|
||||||
#define DEBUG_PORT console // Serial debug port
|
|
||||||
|
|
||||||
#ifdef DEBUG_PORT
|
#ifdef DEBUG_PORT
|
||||||
#define DEBUG_MSG(...) DEBUG_PORT.printf(__VA_ARGS__)
|
#define DEBUG_MSG(...) DEBUG_PORT.printf(__VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user