This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ make clean && make axtls | |
| Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. | |
| rm -rf build | |
| Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. | |
| cd ../lib/axtls; cp config/upyconfig config/.config | |
| cd ../lib/axtls; make oldconfig -B | |
| /Applications/Xcode.app/Contents/Developer/usr/bin/make -C config/scripts/config conf | |
| cp ../../scripts/config/zconf.tab.h_shipped zconf.tab.h | |
| gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I. -c ../../scripts/config/conf.c -o conf.o | |
| cp ../../scripts/config/zconf.tab.c_shipped zconf.tab.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Mikes-MBP-15:micropython mike$ cd mpy-cross | |
| Mikes-MBP-15:mpy-cross mike$ make clean | |
| Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. | |
| rm -f mpy-cross | |
| rm -f mpy-cross.map | |
| rm -rf build | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Mikes-MBP-15:mpy-cross mike$ make clean | |
| Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. | |
| rm -f mpy-cross | |
| rm -f mpy-cross.map | |
| rm -rf build | |
| Mikes-MBP-15:mpy-cross mike$ make | |
| Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. | |
| mkdir -p build/genhdr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Mikes-MBP-15:mpy-cross mike$ make clean | |
| Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. | |
| rm -f mpy-cross | |
| rm -f mpy-cross.map | |
| rm -rf build | |
| Mikes-MBP-15:mpy-cross mike$ make | |
| Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. | |
| mkdir -p build/genhdr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| See here for latest tar.gz path: http://esp-idf.readthedocs.io/en/latest/get-started/macos-setup.html | |
| $ mkdir -p ~/esp | |
| $ cd ~/esp | |
| $ wget https://dl.espressif.com/dl/xtensa-esp32-elf-osx-1.22.0-61-gab8375a-5.2.0.tar.gz | |
| $ tar -xzf xtensa-esp32-elf-osx-1.22.0-61-gab8375a-5.2.0.tar.gz | |
| $ subl ~/.profile | |
| export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin | |
| $ source ~/.profile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Copy files from https://github.com/mcauser/BLACK_F407VE into micropython/stmhal/boards/BLACK_F407VE | |
| $ cd stmhal | |
| $ make clean | |
| $ make BOARD=BLACK_F407VE | |
| Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity. | |
| mkdir -p build-BLACK_F407VE/genhdr | |
| Create build-BLACK_F407VE/genhdr/pins.h |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :020000040000FA | |
| :100000000040002081610100BD610100BF6101006D | |
| :1000100000000000000000000000000000000000E0 | |
| :10002000000000000000000000000000C1610100AD | |
| :100030000000000000000000C3610100C561010074 | |
| :10004000C7610100D95A0100E5650100C7610100DF | |
| :10005000C761010000000000BD9B0100C7610100F5 | |
| :10006000F9F00000C7610100C19D0100C7610100F6 | |
| :10007000C7610100C7610100C7610100C7610100DC | |
| :10008000C76101003D6B0100C7610100C76101004C |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import ustruct | |
| class MAX31855: | |
| """ | |
| Driver for the MAX31855 thermocouple amplifier. | |
| MicroPython example:: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Mikes-MacBook-Pro:~ mike$ esptool.py flash_id | |
| esptool.py v2.8 | |
| Found 3 serial ports | |
| Serial port /dev/cu.SLAB_USBtoUART | |
| Connecting.... | |
| Detecting chip type... ESP32 | |
| Chip is ESP32-PICO-D4 (revision 1) | |
| Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None | |
| Crystal is 40MHz | |
| MAC: 24:a1:60:74:e5:b0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| !blue 0 0 | |
| !blue 0 1 | |
| !blue 0 2 | |
| !blue 0 3 | |
| !blue 0 4 | |
| !blue 0 5 | |
| !blue 0 6 | |
| !blue 0 18 | |
| !blue 0 19 | |
| !blue 0 20 |